Leandro
Leandro

Reputation: 1522

How do I create a User-managed Cloud Platform project?

I created a script inside a Google Docs document. I want to use it in all my docs documents, so inside the script editor I clicked Publish -> Deploy as Docs add-on...

However, the following alert prompts:

Alert

What should I do in order to use my script?

Upvotes: 12

Views: 4412

Answers (1)

Sourabh Choraria
Sourabh Choraria

Reputation: 2331

Please check out the instructions that have been documented under:

Google Cloud Platform Projects > Switching to a different standard GCP project.

Sharing the steps here too, for reference:

  1. Create a new Google Cloud Platform (GCP) project - instructions available here if you don't already have one.
  • in case you already have a GCP project configured, switch to that project via the cloud console.
  1. Get the Project ID/number - instructions available here
  2. Then go back to your script from the Apps Script browser editor and navigate to Resources > Cloud Platform project
  3. In the Change Project section, paste the project number you copied into the text field, then click Set Project & finally Confirm on the subsequent page.

Personally, I had difficulties following through step 2 i.e. getting the project number so here's where you find it -

project number

Upvotes: 15

Related Questions