Skip to main content
Skip table of contents

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:

  1. Go to the Google Cloud Console.
  2. Select or create a project for your service account.
  3. In the search bar, type "Google Docs API" and click on it.
  4. Click Enable if it’s not already enabled.
  5. Also enable the Google Drive API the same way.
  6. In the sidebar, click "IAM & Admin" > "Service Accounts".
  7. Click "Create Service Account".
  8. Enter a name and optional description. Click Create and Continue.
  9. Under "Grant this service account access to the project", select:

    • Role β†’ Basic β†’ Editor
  10. Click Done.
  11. Find the new service account in the list and click the pencil icon to edit.
  12. Go to the Keys tab and click "Add Key" β†’ "Create new key".
  13. Select JSON and click Create.
  14. 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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.