Set up Google Drive Service Account for the connector
Create Google Cloud Project
Enable required APIs
Create Service Account
Create Service Account
button and fill out the fields in step 1. You can ignore steps 2 and 3.Keys
section, and click Add Key
. Download this key, you will need to upload it to Onyx later.Manage
, select Override parent's policy
and then select Not enforced
under Rules
.SET POLICY
Grant domain-wide delegation
Unique ID
of the Service AccountAdd new
, fill in the client ID with the Unique ID
of the Service accountOAuth scopes
:
https://www.googleapis.com/auth/drive.readonly,https://www.googleapis.com/auth/drive.metadata.readonly,https://www.googleapis.com/auth/admin.directory.group.readonly,https://www.googleapis.com/auth/admin.directory.user.readonly
Drive and Docs
in Google Workspaceonyx-robot@your-domain.com
). Note that this should NOT be the service account email.
This can be configured by an admin in the admin panel of the Google Workspace under Account > Admin roles.