G-Suite
Last updated
Last updated
Access Google Cloud Console
Go to the Google Cloud Console.
If you haven't signed up already, sign in with your Google account.
Navigate to the Service Accounts Page
In the left-hand menu, go to IAM & Admin > Service Accounts.
Click on + CREATE SERVICE ACCOUNT.
Configure the Service Account
Service account name : PeopleCues
Service account ID : Automatically generated.
Service account description : Service account for PeopleCues access to Google Suite.
Click on CREATE AND CONTINUE.
Skip the other 2 steps and Click on Done.
Set Up Domain-Wide Delegation
After creating the service account, find it in the list and click on the three dots under Actions.
Click on Manage keys, then Add key > Create new key.
Choose JSON as the key type and click Create. A .json file containing the private key will be downloaded. Keep this file secure as it contains sensitive information.
Grant Domain-Wide Delegation (in Google Admin Console)
Go to the Google Admin Console.
Navigate to Security > API controls > Manage domain-wide delegation.
Click on Add new.
Enter the client ID from the service account JSON file you downloaded earlier in step 5.3.
In the OAuth scopes field, enter the scopes your app needs
For Calendar Access, add https://www.googleapis.com/auth/calendar.readonly.
For google suite reports access which includes gmail and google drive analytics report access, add https://www.googleapis.com/auth/admin.reports.usage.readonly.
Click Authorize.
Enable API Access
Go to the Google Cloud Console and from the top-left corner, click on the project dropdown menu.
From the left dropdown menu, Navigate to APIs & Services -> Enabled APIs & Services.
Click on Enable APIs and Services.
Select the Services for which the API access needs to be enabled.
For Calendar, Search and click on Google Calendar API, then Click on Enable.
For Gmail and Drive statistics of User. Search and click on Admin SDK API, then Click on Enable.
Integration information
Kindly provide the json file key downloaded in step 5.3.
Also provide the Admin user email for the google suite.