Skip to main content

Admin: Add scopes for Google Drive, Calendar, and Autopilot

ExtendSync Google | Learn how to add scopes to to securely connect Gmail and Google Drive with NetSuite

Updated yesterday

ExtendSync uses Google’s domain-wide delegation to securely connect Gmail and Google Drive with NetSuite.
These scopes must be added before any user can attach emails or access Google Drive files in NetSuite.

This guide walks you through adding the required Client ID and OAuth scopes.


Prerequisites

Before you begin, ensure you have:

  • Google Workspace Super Admin access

  • Access to Admin Console → Security

  • ExtendSync for Google Workspace app already installed


Required Client ID and OAuth Scopes

Calendar and Google Drive

  • Client ID:

    235031687264-gbocajofmk2at40if1m5n77f5tknj2ab.apps.googleusercontent.com

  • OAuth Scopes:

    https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/drive, https://www.googleapis.com/auth/userinfo.email, https://www.googleapis.com/auth/userinfo.profile

Autopilot for Emails (Enterprise Only)

  • Client ID:

    113210677340904974316

  • OAuth Scopes:

    https://www.googleapis.com/auth/pubsub,https://www.googleapis.com/auth/gmail.modify


Add Google API Scopes

  1. On your Google Admin Home

  2. Go to Security→ Access and data control → API Controls.

  3. Under Domain wide delegation, click Manage Domain Wide Delegation.

  4. Click Add New.

5. A pop-up window will appear then enter the Client ID and OAuth Scopes above.

6. Click Authorize.

IMPORTANT

  • Check for extra spaces at the start and end of the copied IDs and remove them if there are any.

  • Autopilot is only for Enterprise Customers. Skip this step if you are not on Enterprise.


🎉 Done!

You should now see the Client ID listed under Domain-Wide Delegation.

ExtendSync is now authorized to communicate with Google services on behalf of your users.

👉 Next Step: Install NetSuite Bundle (ID 20497)

Did this answer your question?