From 8eee02d8f3e7e94c754eb051313550a17cfe51e6 Mon Sep 17 00:00:00 2001 From: Hirokazu Takatama Date: Wed, 27 Dec 2023 23:46:36 +0900 Subject: [PATCH] fix run.md for Google Workspace user (#898) --- docs/run.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/run.md b/docs/run.md index 8ee6a049..34c968aa 100644 --- a/docs/run.md +++ b/docs/run.md @@ -37,6 +37,15 @@ To use `clasp run`, you need to complete 4 steps: - **Create** > **OK** - Download the file (⬇), move it to your directory, and name it `creds.json`. Please keep this file secret! 1. Call `clasp login --creds creds.json` +1. Add the following to `appsscript.json`: + ```json + "executionApi": { + "access": "ANYONE" + } + ``` +1. If you use Google Workspace, enable `Apps Script API` + - Open `https://console.cloud.google.com/marketplace/product/google/script.googleapis.com?project=[PROJECT_ID]` + - Press ENABLE button ### Run a function