Modify Security Parameters In Your Google Apps Account

Important

The Gmail for Work source will soon be deprecated. Starting September 2024, it won’t be available anymore.

If you have any questions, contact your Coveo representative.

To authorize Coveo to access your Google content, you must perform a Google Workspace (formerly G Suite) domain-wide delegation of authority after creating a Google API console project and service account.

Note

Domain-wide delegation requires a Google Workspace account with super administrator privileges.

Authorize Coveo to Access Your Google Content

  1. Access the Google Admin console with a super administrator account.

  2. In the main menu, navigate to Apps > Google Workspace > Service status.

  3. In the Services list, ensure that the status for Drive and Docs is set to On for everyone.

  4. In the main menu, navigate to Security > Access and data control > API controls.

  5. In the Domain wide delegation pane, click Manage Domain Wide Delegation.

  6. Click Add new.

  7. In the Add a new client ID panel, enter the Client ID associated with your project’s service account.

    Note

    You can get your project’s client ID from the project’s service account page of the Google Developers Console.

  8. In the OAuth Scopes field, enter the following addresses, separating them with a comma.

    • https://docs.google.com/feeds/

    • https://www.googleapis.com/auth/drive.readonly

    • https://www.googleapis.com/auth/userinfo.email

    • https://www.googleapis.com/auth/admin.directory.user.readonly

    • https://www.googleapis.com/auth/admin.directory.group.readonly

  9. Click Authorize. The new client ID appears at the top of the API clients list.