Documentation Index
Fetch the complete documentation index at: https://docs.cobalt.peoplereign.io/llms.txt
Use this file to discover all available pages before exploring further.
Google Workspace
The Google Workspace integration gives an agent read access to Gmail, Drive, Docs, Sheets, Slides, and Calendar, and — when you enable it — privileged admin actions like resetting a password or adding a user to a group. This page walks through both. Read access takes about a minute and needs nothing in the Google Admin console. Admin actions need a one-time setup in Google.Modules
| Module | What the agent can do |
|---|---|
| Gmail | Search and read threads; draft and send (when enabled) |
| Drive | Search files and read metadata and contents |
| Docs | Read documents |
| Sheets | Read sheet values |
| Slides | Read presentations |
| Calendar | List and read events |
| Admin actions | Reset a password, add a user to a group, suspend a user — see below |
Set up read access
Add the integration
From your agent, open Integrations, choose Google Workspace, and
select the modules you want. HR agents often skip Gmail; IT agents often keep
Drive and Calendar.
Attest to the access requested
Review the read scopes (Gmail, Drive, Calendar, and so on). The
higher-impact ones are flagged. Confirm, name the integration, and save.
Set up admin actions (optional)
Admin actions act on your whole Workspace, so they use a Google service account with domain-wide delegation. You do part of this in Google and part in Cobalt.In the Google Admin and Cloud consoles
Create a service account and key
In Google Cloud, create a service account and generate a JSON key.
Download the key file.
Grant domain-wide delegation
In the Google Admin console, authorize the service account’s client ID for the
admin scopes you need — directory user and directory group.
In Cobalt
Open the integration's authorization settings
On the Google Workspace integration, go to the authorization section for admin
actions.
Upload the key and name the subject
Paste or upload the service-account JSON key and enter the super-admin email
to impersonate. The key is encrypted at rest and never shown again.
Verify
Run verify. Cobalt makes a live call to confirm the delegation works and shows
who granted it and when.
Common pitfalls
- Wrong subject. The impersonated account must be a Workspace super-admin, or privileged calls will be rejected.
- Key rotation. Service-account keys age out. When prompted, generate a new key in Google Cloud, grant delegation to the new client ID, then upload and re-verify in Cobalt.
Related
- Integrations overview — how integrations work in general.
- How Cobalt works — where integrations fit.
