Google Docs - Authorization
Credentials (For Developers Only)
By default, this action uses Alli's managed credentials for Google Docs access.
If you're a developer and want to override these credentials (e.g. for debugging or custom integration):
- Create your own Google Cloud service account and download the
.json
key. - Set the environment variable
ALLI_GOOGLE_CLOUD_CREDENTIALS
inside the workflow. - Paste the entire JSON contents into the variable.
This will override the default credentials used by the workflow.
How to Create a Google Cloud Service Account and Key
Follow these steps only if you plan to override the credentials with your own:
- Go to the Google Cloud Console.
- Select or create a project for your service account.
- In the search bar, type "Google Docs API" and click on it.
- Click Enable if itβs not already enabled.
- Also enable the Google Drive API the same way.
- In the sidebar, click "IAM & Admin" > "Service Accounts".
- Click "Create Service Account".
- Enter a name and optional description. Click Create and Continue.
Under "Grant this service account access to the project", select:
- Role β Basic β Editor
- Click Done.
- Find the new service account in the list and click the pencil icon to edit.
- Go to the Keys tab and click "Add Key" β "Create new key".
- Select JSON and click Create.
- Save the downloaded
.json
key file.
You can now copy the contents of this .json
file into the ALLI_GOOGLE_CLOUD_CREDENTIALS
environment variable to override credentials.