OAuth 2.0 (Google, LinkedIn)
OAuth lets users authorize AgentRuntime without sharing passwords. The platform stores access and refresh tokens and refreshes them automatically. Supported in Console today:- Google Workspace — Gmail, Drive, Sheets, Calendar, and related adapters
- LinkedIn — Marketing APIs (via API key connection in most setups)
1
Connect
Go to Connections, start the OAuth flow, and sign in to the external service.
2
Grant scopes
Approve the requested permissions. Scopes determine which MCP tools work.
3
Bind
Select the connection when installing or editing an MCP instance.
API keys and personal access tokens
API keys are the most common method for developer tools, email providers, and search APIs. Examples: Resend, Exa, GitHub (PAT), Shopify, ActiveCampaign, ClickUp, Notion1
Generate a key
Create an API key or PAT in the external service with the minimum required scopes.
2
Save in Connections
Create a connection in the Console and paste the key. Keys are encrypted at rest.
3
Rotate safely
Save a new key, validate bound MCP instances, verify a test run, then revoke the old key in the external service.
Database connection strings
Database adapters (postgres, mysql, mongodb, redis, neo4j, sqlite, firestore) use connection strings or service account JSON stored as connections.
- Use read-only credentials where possible
- Restrict network access to AgentRuntime egress IPs if your database requires allowlisting
- Prefer separate connections per environment (sandbox vs production)
Workflow and API authentication
Connector auth is separate from how you authenticate to AgentRuntime:
See API authentication.