Connect via Service Account


Prerequisites

  • Administrator access to Google Admin Console
  • Email address of the GSuite Admin to be used for delegation

Step 1: Configure API Access in Google Admin Console

  1. Log in to Google Admin Console
  2. Navigate to Security → API Controls
  3. Under Domain-wide delegation, select Manage domain wide delegation
  4. Click Add new
  5. In the Client ID field, enter:
112390080167718584607
  1. In the OAuth scopes (comma-delimited) field, add the following:
https://www.googleapis.com/auth/admin.directory.domain.readonly,
https://www.googleapis.com/auth/admin.directory.group.readonly,
https://www.googleapis.com/auth/admin.directory.orgunit.readonly,
https://www.googleapis.com/auth/admin.directory.user.readonly,
https://www.googleapis.com/auth/admin.directory.user.security,
https://www.googleapis.com/auth/admin.reports.audit.readonly,
https://www.googleapis.com/auth/admin.reports.usage.readonly,
https://www.googleapis.com/auth/apps.licensing

To use workflow actions, include:

https://www.googleapis.com/auth/admin.directory.group,
https://www.googleapis.com/auth/gmail.settings.basic,
https://www.googleapis.com/auth/gmail.settings.sharing
  1. Click Authorize

Reference: Google Developer Docs – Delegating Authority

Step 2: Connect the Integration in Zluri

  1. Log in to Zluri
  2. Navigate to Sources → Integrations → Browse Catalog
  3. Search for Google Workspace (Service Account)
  4. Click Connect Integration or Connect another instance if already connected

Step 3: Review and Add Scopes

  1. Review the required scopes presented in the Zluri interface

  2. Add additional scopes if required

  3. Choose an authorization method:

    • Self-Authorization: Proceed directly to the next step

    • Co-worker Authorization:

      • Enter the co-worker's information
      • Share the invite link or email containing the connect code
      • Co-worker completes authorization using the code

Step 4: Authorize the Connection

  • Enter the email address of the GSuite Admin used in domain-wide delegation
  • Confirm the connection and authorize access through the Zluri interface

Zluri starts syncing user and domain-level data from Google Workspace after successful authorization.

For connection issues, verify that domain delegation, scopes, and admin credentials are correctly configured.