G-Suite

  1. Access Google Cloud Console

    1. If you haven't signed up already, sign in with your Google account.

  2. Create a Project

    1. At the top-left corner, click on the project dropdown menu.

    2. Create a new one by clicking on New Project.

    3. Write the Project name as PeopleCues Integration and click on CREATE.

  3. Navigate to the Service Accounts Page

    1. In the left-hand menu, go to IAM & Admin > Service Accounts.

    2. Click on + CREATE SERVICE ACCOUNT.

  4. Configure the Service Account

    1. Service account name : PeopleCues

    2. Service account ID : Automatically generated.

    3. Service account description : Service account for PeopleCues access to Google Suite.

    4. Click on CREATE AND CONTINUE.

    5. Skip the other 2 steps and Click on Done.

  5. Set Up Domain-Wide Delegation

    1. After creating the service account, find it in the list and click on the three dots under Actions.

    2. Click on Manage keys, then Add key > Create new key.

    3. 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.

  6. Grant Domain-Wide Delegation (in Google Admin Console)

    1. Navigate to Security > API controls > Manage domain-wide delegation.

    2. Click on Add new.

    3. Enter the client ID from the service account JSON file you downloaded earlier in step 5.3.

    4. In the OAuth scopes field, enter the scopes your app needs

      1. For Calendar Access, add https://www.googleapis.com/auth/calendar.readonly.

      2. For google suite reports access which includes gmail and google drive analytics report access, add https://www.googleapis.com/auth/admin.reports.usage.readonly.

    5. Click Authorize.

  7. Enable API Access

    1. Go to the Google Cloud Console and from the top-left corner, click on the project dropdown menu.

    2. From the left dropdown menu, Navigate to APIs & Services -> Enabled APIs & Services.

    3. Click on Enable APIs and Services.

    4. Select the Services for which the API access needs to be enabled.

      1. For Calendar, Search and click on Google Calendar API, then Click on Enable.

      2. For Gmail and Drive statistics of User. Search and click on Admin SDK API, then Click on Enable.

  8. Integration information

    1. Kindly provide the json file key downloaded in step 5.3.

    2. Also provide the Admin user email for the google suite.

Last updated