> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidocs.polytomic.com/2023-04-25/configuring-your-connections/connections/google-workspace/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.polytomic.com/_mcp/server.
# Google Workspace
Supports:
* ✅ Models
* ✅ Bulk sync source
* ✅ Connection Proxy
## Connection
### Configuration
| Name | Type | Description | Required |
auth_method |
string |
Authentication method
Default: browser. Accepted values: `oauth`, `service_account` ↓ |
required |
client_id |
string |
|
optional |
client_secret |
string |
|
optional |
customer_id |
string |
Customer ID |
optional |
| Read-only property | Type | Description |
client_email |
string |
Connected account
(required if `auth_method` is "service_account") |
#### `auth_method`
When `auth_method` is `service_account`:
| Name | Type | Description | Required |
service_account |
string |
Service account key |
required |
```json
{
"name": "Google Workspace connection",
"type": "googleworkspace",
"configuration": {
"auth_method": "service_account",
"client_id": "eb669428-1854-4cb1-a560-403e05b8acbf",
"client_secret": "ay8d5hdepz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq",
"customer_id": "",
"service_account": ""
}
}
```
#### Example
```json
{
"name": "Google Workspace connection",
"type": "googleworkspace",
"configuration": {
"auth_method": "oauth",
"client_id": "eb669428-1854-4cb1-a560-403e05b8acbf",
"client_secret": "ay8d5hdepz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq",
"customer_id": ""
}
}
```
## Model Sync
### Source
#### Configuration
| Name | Type | Description | Required |
stream_id |
string |
Object |
required |
#### Example
```json
{
...
"configuration": {
"stream_id": "directory_users"
}
}
```
## Bulk Sync
### Source
Google Workspace connections may be used as a bulk sync source. No additional configuration options are required.