Associate a Google Cloud Platform project with your script
masterTo use a specific Google Cloud Platform (GCP) project with your script, you must associate it via the Apps Script editor:
- Run
clasp opento open the script in your browser. - In the Apps Script editor, click Resources > Cloud Platform project....
- Enter your GCP project ID (e.g.,
project-id-xxxxxxxxxxxxxxxxxxx). - Once associated, you can specify this ID in the
projectIdfield of your.clasp.jsonfile.