
Prerequisites
Before setting up, you’ll need:- Google Workspace admin access to configure domain-wide delegation
- Google Cloud Console access to create a service account
- A user email that the service account will impersonate
Setup
Step 1: Create a Google Cloud Project
Open Google Cloud Console
Go to console.cloud.google.com and sign in with your Google Workspace admin account.
Create a new project
Click the project dropdown at the top, then New Project. Name it something like “Adapt Integration”.

Step 2: Enable Required APIs
Step 3: Create a Service Account
Create service account
Click Create Service Account at the top.
- Name:
adapt-integration - Description: “Service account for Adapt integration with Google Workspace”

Skip optional steps
You can skip the “Grant this service account access” and “Grant users access” steps. Click Done.
Step 4: Configure Domain-Wide Delegation
Enable delegation on the service account
In the service account details, click Advanced Settings, and note the
Client ID of the service account.

Open Google Workspace Admin Console
Go to admin.google.com and navigate to Security > Access and data control > API controls.
Add the Client ID and scopes
Enter the Client ID for the service account, then add these OAuth scopes (comma-separated):For read & write access:For read-only access:

Step 5: Connect to Adapt
Enter credentials
- Service Account JSON: Paste the entire contents of the JSON key file for your service account.
- Fixed User Email: Enter the email of a user in your domain that Adapt should impersonate (e.g.,
adapt@yourdomain.com)

Permissions
Depending on your configuration, Adapt will have access to:| Permission | Read-Only | Read & Write |
|---|---|---|
| Drive - Read files | ✓ | ✓ |
| Drive - Create/edit files | ✓ |
All access is performed by impersonating the Fixed User Email you specified during setup. Adapt will have the same access as that user within the authorized scopes.
Capabilities
With Google Workspace connected, Adapt can help you work with your organization’s documents and communications.Examples
Read and analyze documents:Troubleshooting
”Unauthorized” or “Access denied” errors
- Check that the OAuth scopes in Admin Console match what Adapt needs
- Ensure the Fixed User Email is a valid user in your domain
”API not enabled” errors
- Return to the Google Cloud Console and verify all required APIs are enabled
- Make sure you’re in the correct project
Changes not appearing
- Domain-wide delegation can take a few minutes to propagate
- Try disconnecting and reconnecting the integration
Security Considerations
- The service account JSON contains sensitive credentials. Never share it publicly.
- Use the read-only scopes if Adapt doesn’t need to create or modify content.
- Consider creating a dedicated admin user for the Fixed User Email to audit Adapt’s activity.
- You can revoke access at any time by deleting the domain-wide delegation entry in Admin Console.



