> For the complete documentation index, see [llms.txt](https://kb.rezonate.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.rezonate.io/core-integrations/google-workspace/legacy-integration.md).

# Legacy Integration

This document describes how to integrate the Rezonate product with Google Workspace.

### 1. Grant Rezonate access to your Google Workspace Directory <a href="#h_01hap26vxet1dpw7e5bpb8dzat" id="h_01hap26vxet1dpw7e5bpb8dzat"></a>

1. From your domain’s [Admin console](http://admin.google.com/), navigate to the **Main menu** > **Security** > **Access and data control** > **API controls**.\
   ![](/files/kWovZumuRR9embZUjEL6)
2. In the **Domain-wide delegation** pane, select **Manage Domain-Wide Delegation**.\
   ![](/files/MLbt1dVsucqViByxgd8L)<br>
3. Click **Add New**.
4. In the **Client ID** field, enter the unique ID of Rezonate’s service account -  **114686202188972918951**.
5. In the scopes fields, copy-paste the following scopes for read-only access:

```
https://www.googleapis.com/auth/admin.directory.user.readonly
,
https://www.googleapis.com/auth/admin.directory.group.readonly
,
https://www.googleapis.com/auth/admin.directory.group.member.readonly
,
https://www.googleapis.com/auth/admin.directory.device.mobile.readonly
,
https://www.googleapis.com/auth/admin.directory.orgunit.readonly
,
https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly
,
https://www.googleapis.com/auth/admin.directory.userschema.readonly
,
https://www.googleapis.com/auth/admin.directory.domain.readonly
,
https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly
,
https://www.googleapis.com/auth/admin.reports.audit.readonly
,
https://www.googleapis.com/auth/apps.alerts,https://www.googleapis.com/auth/admin.directory.user.security,https://www.googleapis.com/auth/admin.directory.customer.readonly,https://apps-apis.google.com/a/feeds/domain/

```

6. Click **Authorize** to complete.
7. Send Rezonate the email address of your **Google Workspace administrator user or a Service Account with Administrative access to your Google Workspace**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.rezonate.io/core-integrations/google-workspace/legacy-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
