# Tembo Docs > This file is very large and may be truncated. For an index of this content, please refer to https://docs.tembo.io/llms.txt instead. # Overview Source: https://docs.tembo.io/api/index Create sessions, manage repositories, and automate workflows programmatically. ## Base URLs Tembo API and self-hosted deployments use the same API operations and schemas. * Tembo API: `https://api.tembo.io` * Self-hosted: `https://{deployment-origin}/api/public-api` Self-hosted deployments use their own deployment origin and currently require the additional `/api/public-api` path prefix. ## Authentication For the Tembo API, create an API key from **Settings > API Keys** in the [hosted Tembo dashboard](https://app.tembo.io). For self-hosted, create an API key in your deployment's own dashboard. When you create a key, choose when it expires: 7, 30, 60, or 90 days, 1 year, or no expiration. The dashboard defaults to 90 days. Expired keys stop authenticating requests. When creating a key through the API, set `expiresAt` to a future timestamp, or omit it for a key that never expires. ```bash Tembo API theme={null} curl -H "Authorization: Bearer YOUR_API_KEY" \ https://api.tembo.io/v1/sessions ``` ```bash Self-hosted theme={null} curl -H "Authorization: Bearer YOUR_API_KEY" \ https://tembo.example.com/api/public-api/v1/sessions ``` ## TypeScript SDK ```bash theme={null} npm install @tembo-io/sdk ``` Set the `TEMBO_API_KEY` environment variable to your API key. Keep it on your server, not in browser code or source control. ```typescript theme={null} import Tembo from '@tembo-io/sdk'; const client = new Tembo(); const sessions = await client.sessions.list({ limit: '5' }); console.log(sessions); ``` ## Rust SDK The Rust SDK is asynchronous. These examples use the Tokio runtime. ```bash theme={null} cargo add tembo-rs cargo add tokio --features rt-multi-thread,macros ``` `Tembo::from_env()` reads your API key from the `TEMBO_API_KEY` environment variable. ```rust theme={null} use tembo_rs::Tembo; #[tokio::main] async fn main() -> Result<(), Box> { let client = Tembo::from_env()?; let sessions = client.sessions().list().limit(5).send().await?; println!("{sessions:?}"); Ok(()) } ``` Each endpoint page in this API reference shows TypeScript and Rust examples. ## MCP server The Tembo MCP server lets AI clients use the public Tembo API. Its tools are generated from the same OpenAPI schema as the API reference and SDKs. ### Connect Use this remote HTTP MCP endpoint: ```text theme={null} https://mcp.tembo.io/mcp ``` Connect using either OAuth or an API key: * **OAuth:** Add only the MCP URL. Your client opens Tembo sign-in and asks you to select and authorize an organization. * **API key:** Send your organization API key as `Authorization: Bearer YOUR_API_KEY`. For clients that support static HTTP headers, use: ```json theme={null} { "mcpServers": { "tembo": { "type": "http", "url": "https://mcp.tembo.io/mcp", "headers": { "Authorization": "Bearer YOUR_API_KEY" } } } } ``` The server can perform the same API operations available to the authenticated user or API key. Review write operations before approving them in your MCP client. ### Self-hosted Self-hosted deployments expose the MCP server at `https://{deployment-origin}/mcp`. Connect with an API key created in your deployment. Self-hosted MCP does not require Clerk. ## Rate limits 100 requests per minute per API key. 1,000 requests per hour per organization. # Create an agent Source: https://docs.tembo.io/api/v1/agents/create-an-agent https://api.tembo.io/public-api/openapi/public post /v1/agents Create an agent from instructions, a template, or another agent. sourceAgentId cannot be combined with other fields. Template creation accepts only templateName, name, and triggers; creation from scratch requires name. # Create an agent run Source: https://docs.tembo.io/api/v1/agents/create-an-agent-run https://api.tembo.io/public-api/openapi/public post /v1/agents/{agentId}/runs Queue an agent run. The entire JSON object body is passed to the agent as event input; no eventPayload wrapper is needed. Omit the body to run without event input. The response confirms queuing, not completed execution, and includes the run ID to poll for its status and session. # Create an agent schedule Source: https://docs.tembo.io/api/v1/agents/create-an-agent-schedule https://api.tembo.io/public-api/openapi/public post /v1/agents/{agentId}/schedules Create a recurring schedule that starts agent runs using a cron expression. # Create an agent trigger Source: https://docs.tembo.io/api/v1/agents/create-an-agent-trigger https://api.tembo.io/public-api/openapi/public post /v1/agents/{agentId}/triggers Configure an integration event to start agent runs. Available filters depend on the integration and event name. # Delete an agent Source: https://docs.tembo.io/api/v1/agents/delete-an-agent https://api.tembo.io/public-api/openapi/public delete /v1/agents/{agentId} Archive an agent and disable its scheduled and triggered jobs without permanently deleting it. Restore with updateAgent and archived=false. # Delete an agent schedule Source: https://docs.tembo.io/api/v1/agents/delete-an-agent-schedule https://api.tembo.io/public-api/openapi/public delete /v1/agents/{agentId}/schedules/{scheduleId} Delete a recurring agent schedule. # Delete an agent trigger Source: https://docs.tembo.io/api/v1/agents/delete-an-agent-trigger https://api.tembo.io/public-api/openapi/public delete /v1/agents/{agentId}/triggers/{triggerId} Delete an integration event trigger for an agent. # List agent instruction revisions Source: https://docs.tembo.io/api/v1/agents/list-agent-instruction-revisions https://api.tembo.io/public-api/openapi/public get /v1/agents/{agentId}/content-revisions List saved revisions of an agent’s instruction JSON document, newest first. Revisions do not include other agent configuration. Author details are redacted from public API responses. # List agent runs Source: https://docs.tembo.io/api/v1/agents/list-agent-runs https://api.tembo.io/public-api/openapi/public get /v1/agents/{agentId}/runs List executions of an agent, including status, linked session, measured duration, and failure summary. # List agent schedules Source: https://docs.tembo.io/api/v1/agents/list-agent-schedules https://api.tembo.io/public-api/openapi/public get /v1/agents/{agentId}/schedules List the schedules configured for an agent. # List agent templates Source: https://docs.tembo.io/api/v1/agents/list-agent-templates https://api.tembo.io/public-api/openapi/public get /v1/agents/templates List reusable agent templates and their configuration requirements. # List agent triggers Source: https://docs.tembo.io/api/v1/agents/list-agent-triggers https://api.tembo.io/public-api/openapi/public get /v1/agents/{agentId}/triggers List the integration events configured to start runs of an agent. # List agents Source: https://docs.tembo.io/api/v1/agents/list-agents https://api.tembo.io/public-api/openapi/public get /v1/agents List agents available in your organization, with optional search, status, integration, and author filters. # List shares Source: https://docs.tembo.io/api/v1/agents/list-shares https://api.tembo.io/public-api/openapi/public get /v1/agents/{agentId}/sharing List the people, teams and organization this is shared with. Requires Write on it. # Remove a share Source: https://docs.tembo.io/api/v1/agents/remove-a-share https://api.tembo.io/public-api/openapi/public delete /v1/agents/{agentId}/sharing/{shareId} Stop sharing with one person, team or the organization. Requires Write on it. # Restore agent instructions Source: https://docs.tembo.io/api/v1/agents/restore-agent-instructions https://api.tembo.io/public-api/openapi/public post /v1/agents/{agentId}/content-revisions/{version}/restore Restore a saved instruction JSON document and its mentioned integrations, without reverting other agent configuration. A changed document creates a new revision attributed to the caller. Supply the agent’s current contentVersion as expectedContentVersion; a concurrent instruction change returns 409. # Retrieve an agent Source: https://docs.tembo.io/api/v1/agents/retrieve-an-agent https://api.tembo.io/public-api/openapi/public get /v1/agents/{agentId} Retrieve an agent and its configuration, repository associations, and run summary. # Retrieve an agent instruction revision Source: https://docs.tembo.io/api/v1/agents/retrieve-an-agent-instruction-revision https://api.tembo.io/public-api/openapi/public get /v1/agents/{agentId}/content-revisions/{version} Retrieve the instruction JSON document saved in one revision. Other agent configuration is not included. Author details are redacted from public API responses. # Retrieve an agent run Source: https://docs.tembo.io/api/v1/agents/retrieve-an-agent-run https://api.tembo.io/public-api/openapi/public get /v1/agents/{agentId}/runs/{runId} Retrieve the status, linked session, measured duration, and failure summary of an agent run. # Retrieve an agent schedule Source: https://docs.tembo.io/api/v1/agents/retrieve-an-agent-schedule https://api.tembo.io/public-api/openapi/public get /v1/agents/{agentId}/schedules/{scheduleId} Retrieve an agent schedule, including its enabled state and next execution time. # Retrieve an agent template Source: https://docs.tembo.io/api/v1/agents/retrieve-an-agent-template https://api.tembo.io/public-api/openapi/public get /v1/agents/templates/{templateName} Retrieve a reusable agent template by name, including its instructions and required parameters. # Retrieve an agent trigger Source: https://docs.tembo.io/api/v1/agents/retrieve-an-agent-trigger https://api.tembo.io/public-api/openapi/public get /v1/agents/{agentId}/triggers/{triggerId} Retrieve an agent trigger and its integration event filters. # Share Source: https://docs.tembo.io/api/v1/agents/share https://api.tembo.io/public-api/openapi/public post /v1/agents/{agentId}/sharing Share with a person, a team or the whole organization. Each member then acts only as far as their role allows. Requires Write on it. # Update an agent Source: https://docs.tembo.io/api/v1/agents/update-an-agent https://api.tembo.io/public-api/openapi/public patch /v1/agents/{agentId} Update agent instructions, model, workspace, repositories, or persistent state; enable or pause the agent; archive or restore it. enabled and archived also control its schedules and triggers. Supply expectedUpdatedAt to reject concurrent changes. # Update an agent schedule Source: https://docs.tembo.io/api/v1/agents/update-an-agent-schedule https://api.tembo.io/public-api/openapi/public patch /v1/agents/{agentId}/schedules/{scheduleId} Change an agent schedule cron expression. Use updateAgent with enabled to enable or pause the agent and its schedules. # Update an agent trigger Source: https://docs.tembo.io/api/v1/agents/update-an-agent-trigger https://api.tembo.io/public-api/openapi/public patch /v1/agents/{agentId}/triggers/{triggerId} Change an agent trigger event, integration, or filters. Use updateAgent with enabled to enable or pause the agent and its triggers. # Create an API key Source: https://docs.tembo.io/api/v1/api-keys/create-an-api-key https://api.tembo.io/public-api/openapi/public post /v1/api-keys Create an API key for the current organization. Optionally set `expiresAt` to a future timestamp after which the key stops authenticating requests. The complete token is returned only by this operation. # Delete an API key Source: https://docs.tembo.io/api/v1/api-keys/delete-an-api-key https://api.tembo.io/public-api/openapi/public delete /v1/api-keys/{apiKeyId} Revoke an active API key so it can no longer authenticate requests. # List API keys Source: https://docs.tembo.io/api/v1/api-keys/list-api-keys https://api.tembo.io/public-api/openapi/public get /v1/api-keys List active API keys for the current organization. # Retrieve an API key Source: https://docs.tembo.io/api/v1/api-keys/retrieve-an-api-key https://api.tembo.io/public-api/openapi/public get /v1/api-keys/{apiKeyId} Retrieve an active API key without exposing its complete token. # Update an API key Source: https://docs.tembo.io/api/v1/api-keys/update-an-api-key https://api.tembo.io/public-api/openapi/public patch /v1/api-keys/{apiKeyId} Rename an active API key. # Create an artifact Source: https://docs.tembo.io/api/v1/artifacts/create-an-artifact https://api.tembo.io/public-api/openapi/public post /v1/artifacts Create a file artifact for a session from inline content or an uploaded asset. # Delete an artifact Source: https://docs.tembo.io/api/v1/artifacts/delete-an-artifact https://api.tembo.io/public-api/openapi/public delete /v1/artifacts/{artifactId} Delete an organization artifact and its backing asset when present. # List artifacts Source: https://docs.tembo.io/api/v1/artifacts/list-artifacts https://api.tembo.io/public-api/openapi/public get /v1/artifacts List organization artifacts with optional session and type filters. # Retrieve a signed asset URL Source: https://docs.tembo.io/api/v1/artifacts/retrieve-a-signed-asset-url https://api.tembo.io/public-api/openapi/public get /v1/artifacts/assets/{assetId} Get a fresh signed download URL for an uploaded session asset by its asset ID. # Retrieve an artifact Source: https://docs.tembo.io/api/v1/artifacts/retrieve-an-artifact https://api.tembo.io/public-api/openapi/public get /v1/artifacts/{artifactId} Retrieve an organization artifact by ID. # List audit log filter options Source: https://docs.tembo.io/api/v1/audit-logs/list-audit-log-filter-options https://api.tembo.io/public-api/openapi/public get /v1/audit-logs/filters Resource and operation pairs recorded for the authenticated organization. Requires organization:audit_log:read. # List organization audit logs Source: https://docs.tembo.io/api/v1/audit-logs/list-organization-audit-logs https://api.tembo.io/public-api/openapi/public get /v1/audit-logs Read retained mutation history for the authenticated organization. Requires organization:audit_log:read. # List billing usage Source: https://docs.tembo.io/api/v1/billing/list-billing-usage https://api.tembo.io/public-api/openapi/public get /v1/billing/usage List session usage by default, or include warm pool compute with the type filter. Uses cursor pagination. # Retrieve billing Source: https://docs.tembo.io/api/v1/billing/retrieve-billing https://api.tembo.io/public-api/openapi/public get /v1/billing Retrieve billing and credit information for the organization. # Create a folder Source: https://docs.tembo.io/api/v1/folders/create-a-folder https://api.tembo.io/public-api/openapi/public post /v1/folders Create a sidebar folder for organizing sessions. New folders go first in your folder list; use createPin to pin one. # Delete a folder Source: https://docs.tembo.io/api/v1/folders/delete-a-folder https://api.tembo.io/public-api/openapi/public delete /v1/folders/{folderId} Delete one of your sidebar folders. Its sessions are kept and return to your recent sessions. # List folders Source: https://docs.tembo.io/api/v1/folders/list-folders https://api.tembo.io/public-api/openapi/public get /v1/folders List the sidebar folders you use to organize sessions. Use listSessions with folderId to list the sessions in a folder. # Update a folder Source: https://docs.tembo.io/api/v1/folders/update-a-folder https://api.tembo.io/public-api/openapi/public patch /v1/folders/{folderId} Rename one of your sidebar folders, change its icon color, move it in your folder list, or add, reorder, or remove its sessions. Use updatePin to move a pinned folder among your pins. # List insight members Source: https://docs.tembo.io/api/v1/insights/list-insight-members https://api.tembo.io/public-api/openapi/public get /v1/insights/members List organization members included in pull request insights. # List insight repositories Source: https://docs.tembo.io/api/v1/insights/list-insight-repositories https://api.tembo.io/public-api/openapi/public get /v1/insights/repositories List repositories included in pull request insights for the current organization. # List team usage insights Source: https://docs.tembo.io/api/v1/insights/list-team-usage-insights https://api.tembo.io/public-api/openapi/public get /v1/insights/teams Compare sessions, turns, tokens, Tembo pull requests, and model cost by current active team membership. Team totals can overlap. # Retrieve insights Source: https://docs.tembo.io/api/v1/insights/retrieve-insights https://api.tembo.io/public-api/openapi/public get /v1/insights Retrieve pull request contribution insights and their collection status for the current organization. # Update insights Source: https://docs.tembo.io/api/v1/insights/update-insights https://api.tembo.io/public-api/openapi/public patch /v1/insights Enable or disable pull request insight collection. Enabling starts the initial refresh when needed. # Authorize an integration Source: https://docs.tembo.io/api/v1/integrations/authorize-an-integration https://api.tembo.io/public-api/openapi/public post /v1/integrations/{integrationId}/authorize Return the provider authorization URL for an integration. # Create an integration Source: https://docs.tembo.io/api/v1/integrations/create-an-integration https://api.tembo.io/public-api/openapi/public post /v1/integrations Connect AWS, BigQuery, GitLab, PostgreSQL, Snyk, OpenConnect VPN, or Tailscale using provider credentials. For browser-authorized providers, use listIntegrationProviders and authorizeIntegration instead. # Delete an integration Source: https://docs.tembo.io/api/v1/integrations/delete-an-integration https://api.tembo.io/public-api/openapi/public delete /v1/integrations/{integrationId} Uninstall an integration from its provider when supported, then delete it from Tembo. # Discover Snyk organizations Source: https://docs.tembo.io/api/v1/integrations/discover-snyk-organizations https://api.tembo.io/public-api/openapi/public post /v1/integrations/providers/snyk/organizations Validate Snyk service-account credentials and list accessible organizations. # List integration providers Source: https://docs.tembo.io/api/v1/integrations/list-integration-providers https://api.tembo.io/public-api/openapi/public get /v1/integrations/providers List providers available to the current organization. # List integration trigger filter options Source: https://docs.tembo.io/api/v1/integrations/list-integration-trigger-filter-options https://api.tembo.io/public-api/openapi/public get /v1/integrations/{integrationId}/triggers/{triggerName}/filter-options/{field} List one cursor-page of selectable values for an integration trigger filter field, with optional search. # List integration triggers Source: https://docs.tembo.io/api/v1/integrations/list-integration-triggers https://api.tembo.io/public-api/openapi/public get /v1/integrations/triggers List visible automation triggers grouped by provider. # List integrations Source: https://docs.tembo.io/api/v1/integrations/list-integrations https://api.tembo.io/public-api/openapi/public get /v1/integrations List integrations visible to the current organization or authenticated admin. # List Sentry environments Source: https://docs.tembo.io/api/v1/integrations/list-sentry-environments https://api.tembo.io/public-api/openapi/public get /v1/integrations/{integrationId}/sentry-environments List environments visible to a Sentry integration. # List Slack channels Source: https://docs.tembo.io/api/v1/integrations/list-slack-channels https://api.tembo.io/public-api/openapi/public get /v1/integrations/{integrationId}/slack-channels List channels visible to a Slack integration. # Retrieve an integration Source: https://docs.tembo.io/api/v1/integrations/retrieve-an-integration https://api.tembo.io/public-api/openapi/public get /v1/integrations/{integrationId} Retrieve an integration and its configuration. # Retrieve an integration rate limit Source: https://docs.tembo.io/api/v1/integrations/retrieve-an-integration-rate-limit https://api.tembo.io/public-api/openapi/public get /v1/integrations/{integrationId}/rate-limit Retrieve the GitHub installation rate-limit state. # Retrieve an integration trigger Source: https://docs.tembo.io/api/v1/integrations/retrieve-an-integration-trigger https://api.tembo.io/public-api/openapi/public get /v1/integrations/{integrationId}/triggers/{triggerName} Retrieve a trigger definition and its default filter values for an integration in the current organization. # Retrieve integration sync status Source: https://docs.tembo.io/api/v1/integrations/retrieve-integration-sync-status https://api.tembo.io/public-api/openapi/public get /v1/integrations/sync/status Count active sync jobs for an integration or eligible integrations. # Sync an integration Source: https://docs.tembo.io/api/v1/integrations/sync-an-integration https://api.tembo.io/public-api/openapi/public post /v1/integrations/{integrationId}/sync Queue or immediately perform an integration sync. # Sync eligible integrations Source: https://docs.tembo.io/api/v1/integrations/sync-eligible-integrations https://api.tembo.io/public-api/openapi/public post /v1/integrations/sync Queue integration and pull-request sync jobs for integrations with enabled repositories. # Test an integration Source: https://docs.tembo.io/api/v1/integrations/test-an-integration https://api.tembo.io/public-api/openapi/public post /v1/integrations/{integrationId}/test Test the saved provider connection. # Update an integration Source: https://docs.tembo.io/api/v1/integrations/update-an-integration https://api.tembo.io/public-api/openapi/public patch /v1/integrations/{integrationId} Update integration settings such as the default repository, Slack channel restrictions, automatic solving, or Sentry environments; replace AWS or PostgreSQL configuration; rotate GitLab service account access tokens; set or remove Atlassian service-account credentials. # Authorize a live connection Source: https://docs.tembo.io/api/v1/live/authorize-a-live-connection https://api.tembo.io/public-api/openapi/public post /v1/live Issue a 30-second WebSocket ticket for one live connection that multiplexes resource subscriptions. # Live resource subscriptions Source: https://docs.tembo.io/api/v1/live/live-resource-subscriptions https://api.tembo.io/public-api/openapi/public get /v1/live Native WebSocket. Send `{ op: "subscribe", id, resource, input }`, `{ op: "unsubscribe", id }`, or `{ op: "ping" }`; receive `{ id, type: "ready" | "event" | "error" }` or `{ type: "pong" }`. # Authorize an MCP connection Source: https://docs.tembo.io/api/v1/mcp-connections/authorize-an-mcp-connection https://api.tembo.io/public-api/openapi/public post /v1/mcp-connections/{mcpConnectionId}/authorize Connect or authorize a remote Streamable HTTP MCP connection, returning an OAuth URL when user authorization is required. Stdio connections are rejected because this action cannot authorize them. # Create an MCP connection Source: https://docs.tembo.io/api/v1/mcp-connections/create-an-mcp-connection https://api.tembo.io/public-api/openapi/public post /v1/mcp-connections Create a new stdio or Streamable HTTP MCP connection. Remote connections support OAuth, Client Credentials (M2M), or static headers and begin authorization when required; stdio commands are stored but never executed by this API. # Delete an MCP connection Source: https://docs.tembo.io/api/v1/mcp-connections/delete-an-mcp-connection https://api.tembo.io/public-api/openapi/public delete /v1/mcp-connections/{mcpConnectionId} Delete an MCP connection in the current organization. # List MCP connections Source: https://docs.tembo.io/api/v1/mcp-connections/list-mcp-connections https://api.tembo.io/public-api/openapi/public get /v1/mcp-connections List MCP connections for the current organization with cursor pagination and optional search by name or URL. Command arguments, headers, and environment configuration are omitted. # Retrieve an MCP connection Source: https://docs.tembo.io/api/v1/mcp-connections/retrieve-an-mcp-connection https://api.tembo.io/public-api/openapi/public get /v1/mcp-connections/{mcpConnectionId} Retrieve MCP connection configuration and authentication details. Stored header values, environment values, OAuth tokens, and client secrets are never returned. # Test an MCP connection Source: https://docs.tembo.io/api/v1/mcp-connections/test-an-mcp-connection https://api.tembo.io/public-api/openapi/public post /v1/mcp-connections/{mcpConnectionId}/test Test a remote MCP connection by connecting to its server. Stdio connections are rejected because the API does not execute arbitrary local commands. # Update an MCP connection Source: https://docs.tembo.io/api/v1/mcp-connections/update-an-mcp-connection https://api.tembo.io/public-api/openapi/public patch /v1/mcp-connections/{mcpConnectionId} Update MCP configuration, including OAuth, Client Credentials (M2M), or static-header authentication. Supplied headers merge by key only for unchanged-server static_headers authentication; otherwise they are replaced. Environment values merge by key, null values remove individual keys, and a null environment clears all variables. Hidden credentials are preserved unless explicitly changed or authentication is replaced; changing a remote server URL clears credentials for the old server. Call authorize explicitly after changing the server or authentication to reconnect. # Create a memory Source: https://docs.tembo.io/api/v1/memories/create-a-memory https://api.tembo.io/public-api/openapi/public post /v1/memories Save a persistent memory for yourself across sessions. Memory names are unique per user. # Delete a memory Source: https://docs.tembo.io/api/v1/memories/delete-a-memory https://api.tembo.io/public-api/openapi/public delete /v1/memories/{name} Archive one of your persistent memories, provided its revision has not changed. # List memories Source: https://docs.tembo.io/api/v1/memories/list-memories https://api.tembo.io/public-api/openapi/public get /v1/memories List your active persistent memories. Optionally search by query or filter by type. # Retrieve a memory Source: https://docs.tembo.io/api/v1/memories/retrieve-a-memory https://api.tembo.io/public-api/openapi/public get /v1/memories/{name} Retrieve the full content and revision of one of your persistent memories. # Update a memory Source: https://docs.tembo.io/api/v1/memories/update-a-memory https://api.tembo.io/public-api/openapi/public patch /v1/memories/{name} Update content, description or type. Pass the revision last retrieved to prevent overwriting concurrent changes. # Create a message Source: https://docs.tembo.io/api/v1/messages/create-a-message https://api.tembo.io/public-api/openapi/public post /v1/messages Send a task or follow-up message to an existing session, resume work, or steer an active agent turn using deliveryMode. # Delete a message Source: https://docs.tembo.io/api/v1/messages/delete-a-message https://api.tembo.io/public-api/openapi/public delete /v1/messages/{messageId} Delete a message and cancel its queued jobs, runtime turns, and active sandbox sessions. # List messages Source: https://docs.tembo.io/api/v1/messages/list-messages https://api.tembo.io/public-api/openapi/public get /v1/messages List organization messages with optional session and thread filters. # Retrieve a message Source: https://docs.tembo.io/api/v1/messages/retrieve-a-message https://api.tembo.io/public-api/openapi/public get /v1/messages/{messageId} Retrieve an organization message by ID. # Update a message Source: https://docs.tembo.io/api/v1/messages/update-a-message https://api.tembo.io/public-api/openapi/public patch /v1/messages/{messageId} Update message content before its queued processing has started. # List models Source: https://docs.tembo.io/api/v1/models/list-models https://api.tembo.io/public-api/openapi/public get /v1/models List the models available to the current organization, including enablement and inference-provider access. # List shares Source: https://docs.tembo.io/api/v1/models/list-shares https://api.tembo.io/public-api/openapi/public get /v1/models/{modelId}/sharing List the people, teams and organization this is shared with. Requires Write on it. # Remove a share Source: https://docs.tembo.io/api/v1/models/remove-a-share https://api.tembo.io/public-api/openapi/public delete /v1/models/{modelId}/sharing/{shareId} Stop sharing with one person, team or the organization. Requires Write on it. # Share Source: https://docs.tembo.io/api/v1/models/share https://api.tembo.io/public-api/openapi/public post /v1/models/{modelId}/sharing Share with a person, a team or the whole organization. Each member then acts only as far as their role allows. Requires Write on it. # Update a model Source: https://docs.tembo.io/api/v1/models/update-a-model https://api.tembo.io/public-api/openapi/public patch /v1/models/{modelName} Manage workspace model access and provider. # Archive a role with an explicit replacement Source: https://docs.tembo.io/api/v1/organization-roles/archive-a-role-with-an-explicit-replacement https://api.tembo.io/public-api/openapi/public delete /v1/organizations/{organizationId}/roles/{roleId} # Create a organization role Source: https://docs.tembo.io/api/v1/organization-roles/create-a-organization-role https://api.tembo.io/public-api/openapi/public post /v1/organizations/{organizationId}/roles # List organization roles Source: https://docs.tembo.io/api/v1/organization-roles/list-organization-roles https://api.tembo.io/public-api/openapi/public get /v1/organizations/{organizationId}/roles # Retrieve an organization role Source: https://docs.tembo.io/api/v1/organization-roles/retrieve-an-organization-role https://api.tembo.io/public-api/openapi/public get /v1/organizations/{organizationId}/roles/{roleId} # Update a organization role Source: https://docs.tembo.io/api/v1/organization-roles/update-a-organization-role https://api.tembo.io/public-api/openapi/public patch /v1/organizations/{organizationId}/roles/{roleId} # Add a member to a team Source: https://docs.tembo.io/api/v1/organization-teams/add-a-member-to-a-team https://api.tembo.io/public-api/openapi/public post /v1/organizations/{organizationId}/teams/{teamId}/members # Create a team Source: https://docs.tembo.io/api/v1/organization-teams/create-a-team https://api.tembo.io/public-api/openapi/public post /v1/organizations/{organizationId}/teams # Delete a team, its memberships and its shares Source: https://docs.tembo.io/api/v1/organization-teams/delete-a-team-its-memberships-and-its-shares https://api.tembo.io/public-api/openapi/public delete /v1/organizations/{organizationId}/teams/{teamId} # List teams Source: https://docs.tembo.io/api/v1/organization-teams/list-teams https://api.tembo.io/public-api/openapi/public get /v1/organizations/{organizationId}/teams # Remove a member from a team Source: https://docs.tembo.io/api/v1/organization-teams/remove-a-member-from-a-team https://api.tembo.io/public-api/openapi/public delete /v1/organizations/{organizationId}/teams/{teamId}/members/{userId} # Rename a team or change its icon Source: https://docs.tembo.io/api/v1/organization-teams/rename-a-team-or-change-its-icon https://api.tembo.io/public-api/openapi/public patch /v1/organizations/{organizationId}/teams/{teamId} # Retrieve a team Source: https://docs.tembo.io/api/v1/organization-teams/retrieve-a-team https://api.tembo.io/public-api/openapi/public get /v1/organizations/{organizationId}/teams/{teamId} # Create an organization Source: https://docs.tembo.io/api/v1/organizations/create-an-organization https://api.tembo.io/public-api/openapi/public post /v1/organizations Create an organization and make the authenticated user its administrator. # Create an organization member Source: https://docs.tembo.io/api/v1/organizations/create-an-organization-member https://api.tembo.io/public-api/openapi/public post /v1/organizations/{organizationId}/members Invite or add a user to an organization with a role. # Create an organization secret Source: https://docs.tembo.io/api/v1/organizations/create-an-organization-secret https://api.tembo.io/public-api/openapi/public post /v1/organizations/{organizationId}/secrets Create an encrypted organization secret. # Delete an organization Source: https://docs.tembo.io/api/v1/organizations/delete-an-organization https://api.tembo.io/public-api/openapi/public delete /v1/organizations/{organizationId} Delete the organization from the identity provider and Tembo. # Delete an organization secret Source: https://docs.tembo.io/api/v1/organizations/delete-an-organization-secret https://api.tembo.io/public-api/openapi/public delete /v1/organizations/{organizationId}/secrets/{secretId} Delete an organization secret. # List organization members Source: https://docs.tembo.io/api/v1/organizations/list-organization-members https://api.tembo.io/public-api/openapi/public get /v1/organizations/{organizationId}/members List active members or pending invitations with cursor pagination. # List organization secrets Source: https://docs.tembo.io/api/v1/organizations/list-organization-secrets https://api.tembo.io/public-api/openapi/public get /v1/organizations/{organizationId}/secrets List redacted organization secret summaries with cursor pagination. # Remove an organization member Source: https://docs.tembo.io/api/v1/organizations/remove-an-organization-member https://api.tembo.io/public-api/openapi/public delete /v1/organizations/{organizationId}/members/{memberId} Remove an active member or revoke a pending invitation. # Retrieve an organization Source: https://docs.tembo.io/api/v1/organizations/retrieve-an-organization https://api.tembo.io/public-api/openapi/public get /v1/organizations/{organizationId} Return self membership and workspace eligibility; include the full profile with organization read permission. # Retrieve an organization member Source: https://docs.tembo.io/api/v1/organizations/retrieve-an-organization-member https://api.tembo.io/public-api/openapi/public get /v1/organizations/{organizationId}/members/{memberId} Retrieve an active member or pending member invitation. # Retrieve an organization secret Source: https://docs.tembo.io/api/v1/organizations/retrieve-an-organization-secret https://api.tembo.io/public-api/openapi/public get /v1/organizations/{organizationId}/secrets/{secretId} Retrieve a redacted organization secret summary. # Retrieve organization settings Source: https://docs.tembo.io/api/v1/organizations/retrieve-organization-settings https://api.tembo.io/public-api/openapi/public get /v1/organizations/{organizationId}/settings Retrieve effective organization settings, including defaults for settings that have not been configured. # Retrieve organization subscriptions Source: https://docs.tembo.io/api/v1/organizations/retrieve-organization-subscriptions https://api.tembo.io/public-api/openapi/public get /v1/organizations/{organizationId}/subscriptions Retrieve connection statuses and available ChatGPT and Claude usage. Provider usage errors are reported without failing the response. # Update an organization Source: https://docs.tembo.io/api/v1/organizations/update-an-organization https://api.tembo.io/public-api/openapi/public patch /v1/organizations/{organizationId} Update organization profile fields or onboarding state. # Update an organization member Source: https://docs.tembo.io/api/v1/organizations/update-an-organization-member https://api.tembo.io/public-api/openapi/public patch /v1/organizations/{organizationId}/members/{memberId} Update an organization member role. # Update an organization secret Source: https://docs.tembo.io/api/v1/organizations/update-an-organization-secret https://api.tembo.io/public-api/openapi/public patch /v1/organizations/{organizationId}/secrets/{secretId} Update a secret name, encrypted value, or both. # Update organization settings Source: https://docs.tembo.io/api/v1/organizations/update-organization-settings https://api.tembo.io/public-api/openapi/public patch /v1/organizations/{organizationId}/settings Configure organization defaults for agent/model, VM size and keep-alive; inference credentials and subscription fallback; agent prompts and commit/PR instructions; bot feedback, signing, reports, and insights. Only supplied settings are changed. # Validate organization provider credentials Source: https://docs.tembo.io/api/v1/organizations/validate-organization-provider-credentials https://api.tembo.io/public-api/openapi/public post /v1/organizations/{organizationId}/settings/validate-credentials Validate supplied or stored inference provider credentials for an organization without returning them. The provider must be available on the organization’s plan. # Create a pin Source: https://docs.tembo.io/api/v1/pins/create-a-pin https://api.tembo.io/public-api/openapi/public post /v1/pins Pin a session, pull request, or project you have permission to access, or one of your folders. # Delete a pin Source: https://docs.tembo.io/api/v1/pins/delete-a-pin https://api.tembo.io/public-api/openapi/public delete /v1/pins/{resourceType}/{resourceId} Unpin a session, pull request, project, or folder for the authenticated user without deleting or archiving the resource. # List pins Source: https://docs.tembo.io/api/v1/pins/list-pins https://api.tembo.io/public-api/openapi/public get /v1/pins List your pinned resources in pin order. # Update a pin Source: https://docs.tembo.io/api/v1/pins/update-a-pin https://api.tembo.io/public-api/openapi/public patch /v1/pins/{resourceType}/{resourceId} Reorder a pinned session, pull request, project, or folder before or after another pin for the authenticated user. Use createPin to pin a resource and deletePin to unpin it. # Cancel a project build Source: https://docs.tembo.io/api/v1/projects/cancel-a-project-build https://api.tembo.io/public-api/openapi/public post /v1/projects/{projectId}/builds/{buildId}/cancel Cancel an active queued or running project build. # Create a project Source: https://docs.tembo.io/api/v1/projects/create-a-project https://api.tembo.io/public-api/openapi/public post /v1/projects Create a reusable project environment. # Create a project build Source: https://docs.tembo.io/api/v1/projects/create-a-project-build https://api.tembo.io/public-api/openapi/public post /v1/projects/{projectId}/builds Build selected project sizes or rebuild one snapshot. # Create a project schedule Source: https://docs.tembo.io/api/v1/projects/create-a-project-schedule https://api.tembo.io/public-api/openapi/public post /v1/projects/{projectId}/schedules Create a recurring project build schedule. # Create project environment variables Source: https://docs.tembo.io/api/v1/projects/create-project-environment-variables https://api.tembo.io/public-api/openapi/public post /v1/projects/{projectId}/environment-variables Create one or more encrypted project environment variables. # Delete a project Source: https://docs.tembo.io/api/v1/projects/delete-a-project https://api.tembo.io/public-api/openapi/public delete /v1/projects/{projectId} Archive a project, remove its default VM-size assignments, and disable its build schedule. This does not permanently delete the project record. # Delete a project environment variable Source: https://docs.tembo.io/api/v1/projects/delete-a-project-environment-variable https://api.tembo.io/public-api/openapi/public delete /v1/projects/{projectId}/environment-variables/{key} Delete one encrypted project environment variable. # Delete a project schedule Source: https://docs.tembo.io/api/v1/projects/delete-a-project-schedule https://api.tembo.io/public-api/openapi/public delete /v1/projects/{projectId}/schedules/{scheduleId} Disable a project build schedule. # Delete a project snapshot Source: https://docs.tembo.io/api/v1/projects/delete-a-project-snapshot https://api.tembo.io/public-api/openapi/public delete /v1/projects/{projectId}/snapshots/{snapshotId} Delete a project snapshot. # Duplicate a project Source: https://docs.tembo.io/api/v1/projects/duplicate-a-project https://api.tembo.io/public-api/openapi/public post /v1/projects/{projectId}/duplicate Create a new project with the same configuration, environment variables, and schedule as an existing project. Snapshots are not copied. # List project builds Source: https://docs.tembo.io/api/v1/projects/list-project-builds https://api.tembo.io/public-api/openapi/public get /v1/projects/{projectId}/builds List recent queued, running, and failed project builds. # List project environment variables Source: https://docs.tembo.io/api/v1/projects/list-project-environment-variables https://api.tembo.io/public-api/openapi/public get /v1/projects/{projectId}/environment-variables List environment-variable names without exposing values. # List project schedules Source: https://docs.tembo.io/api/v1/projects/list-project-schedules https://api.tembo.io/public-api/openapi/public get /v1/projects/{projectId}/schedules List schedules linked to a project. # List project snapshots Source: https://docs.tembo.io/api/v1/projects/list-project-snapshots https://api.tembo.io/public-api/openapi/public get /v1/projects/{projectId}/snapshots List recent VM snapshots built for a project. # List projects Source: https://docs.tembo.io/api/v1/projects/list-projects https://api.tembo.io/public-api/openapi/public get /v1/projects List projects in the authenticated organization. # Retrieve a project Source: https://docs.tembo.io/api/v1/projects/retrieve-a-project https://api.tembo.io/public-api/openapi/public get /v1/projects/{projectId} Retrieve project configuration. Use the project subresources to list snapshots, builds, schedules, and environment variables. # Retrieve a project build Source: https://docs.tembo.io/api/v1/projects/retrieve-a-project-build https://api.tembo.io/public-api/openapi/public get /v1/projects/{projectId}/builds/{buildId} Retrieve project build status. # Retrieve a project schedule Source: https://docs.tembo.io/api/v1/projects/retrieve-a-project-schedule https://api.tembo.io/public-api/openapi/public get /v1/projects/{projectId}/schedules/{scheduleId} Retrieve one project build schedule. # Retrieve a project snapshot Source: https://docs.tembo.io/api/v1/projects/retrieve-a-project-snapshot https://api.tembo.io/public-api/openapi/public get /v1/projects/{projectId}/snapshots/{snapshotId} Retrieve one project snapshot. # Retrieve project defaults Source: https://docs.tembo.io/api/v1/projects/retrieve-project-defaults https://api.tembo.io/public-api/openapi/public get /v1/projects/defaults Get the default sandbox size and the largest size the plan allows. # Update a project Source: https://docs.tembo.io/api/v1/projects/update-a-project https://api.tembo.io/public-api/openapi/public patch /v1/projects/{projectId} Update project repositories, setup script, agent instructions, environment variables, VM sizes and defaults; enable or pause scheduled builds or the warm pool; rename or customize its appearance. # Update a project schedule Source: https://docs.tembo.io/api/v1/projects/update-a-project-schedule https://api.tembo.io/public-api/openapi/public patch /v1/projects/{projectId}/schedules/{scheduleId} Update timing or enabled state for a project schedule. # Update a project snapshot Source: https://docs.tembo.io/api/v1/projects/update-a-project-snapshot https://api.tembo.io/public-api/openapi/public patch /v1/projects/{projectId}/snapshots/{snapshotId} Rename a snapshot or choose whether it is pinned. # Update project defaults Source: https://docs.tembo.io/api/v1/projects/update-project-defaults https://api.tembo.io/public-api/openapi/public put /v1/projects/defaults Choose the default project and sandbox size for the organization. # List pull requests Source: https://docs.tembo.io/api/v1/pull-requests/list-pull-requests https://api.tembo.io/public-api/openapi/public get /v1/pull-requests List pull requests for the authenticated organization with cursor pagination. # Retrieve a pull request Source: https://docs.tembo.io/api/v1/pull-requests/retrieve-a-pull-request https://api.tembo.io/public-api/openapi/public get /v1/pull-requests/{pullRequestId} Retrieve a pull request for the authenticated organization. # List repositories Source: https://docs.tembo.io/api/v1/repositories/list-repositories https://api.tembo.io/public-api/openapi/public get /v1/repositories List repositories in the authenticated organization. Defaults to enabled repositories. # Retrieve a repository Source: https://docs.tembo.io/api/v1/repositories/retrieve-a-repository https://api.tembo.io/public-api/openapi/public get /v1/repositories/{repositoryId} Retrieve a repository in the authenticated organization. # Update a repository Source: https://docs.tembo.io/api/v1/repositories/update-a-repository https://api.tembo.io/public-api/openapi/public patch /v1/repositories/{repositoryId} Update repository configuration or enable or disable it. # List runtimes Source: https://docs.tembo.io/api/v1/runtimes/list-runtimes https://api.tembo.io/public-api/openapi/public get /v1/runtimes List execution runtimes and their compatible model references for the current organization. # Create a session Source: https://docs.tembo.io/api/v1/sessions/create-a-session https://api.tembo.io/public-api/openapi/public post /v1/sessions Create a session for a task. Provide the initial prompt in description and optionally configure its repositories, agent, and Build (normal) or Plan (planning) mode. New sessions are private to their creator until shared through grants. # Delete a session Source: https://docs.tembo.io/api/v1/sessions/delete-a-session https://api.tembo.io/public-api/openapi/public delete /v1/sessions/{sessionId} Archive a session and stop its VM without permanently deleting it. Equivalent to updateSession with level=0; restore with updateSession and level=1. # Fork a session Source: https://docs.tembo.io/api/v1/sessions/fork-a-session https://api.tembo.io/public-api/openapi/public post /v1/sessions/{sessionId}/fork Create an independent session from a fresh workspace snapshot, or the latest saved snapshot when stopped, without replaying messages or adding context. The fork returns right away and its messages queue until its workspace finishes booting. # Import a chat as a session Source: https://docs.tembo.io/api/v1/sessions/import-a-chat-as-a-session https://api.tembo.io/public-api/openapi/public post /v1/sessions/import Create a private session from a chat in another coding agent app, such as Conductor, with its messages and agent activity. No agent run starts until a follow-up is sent, which receives the imported history as context. Importing the same chat again returns the existing session. # List session commands Source: https://docs.tembo.io/api/v1/sessions/list-session-commands https://api.tembo.io/public-api/openapi/public get /v1/sessions/{sessionId}/commands List slash commands available to the session runtime. # List session diffs Source: https://docs.tembo.io/api/v1/sessions/list-session-diffs https://api.tembo.io/public-api/openapi/public get /v1/sessions/{sessionId}/diffs List recorded session diff metadata with cursor pagination. # List session events Source: https://docs.tembo.io/api/v1/sessions/list-session-events https://api.tembo.io/public-api/openapi/public get /v1/sessions/{sessionId}/events List recorded session stream events with cursor pagination. # List session inputs Source: https://docs.tembo.io/api/v1/sessions/list-session-inputs https://api.tembo.io/public-api/openapi/public get /v1/sessions/{sessionId}/inputs List pending questions for the active session agent. # List session sources Source: https://docs.tembo.io/api/v1/sessions/list-session-sources https://api.tembo.io/public-api/openapi/public get /v1/sessions/sources List session sources in the authenticated organization. # List sessions Source: https://docs.tembo.io/api/v1/sessions/list-sessions https://api.tembo.io/public-api/openapi/public get /v1/sessions List and search sessions, including active or archived sessions, with repository, project, creator, and source filters and cursor pagination. # List shares Source: https://docs.tembo.io/api/v1/sessions/list-shares https://api.tembo.io/public-api/openapi/public get /v1/sessions/{sessionId}/sharing List the people, teams and organization this is shared with. Requires Write on it. # Remove a share Source: https://docs.tembo.io/api/v1/sessions/remove-a-share https://api.tembo.io/public-api/openapi/public delete /v1/sessions/{sessionId}/sharing/{shareId} Stop sharing with one person, team or the organization. Requires Write on it. # Retrieve a session Source: https://docs.tembo.io/api/v1/sessions/retrieve-a-session https://api.tembo.io/public-api/openapi/public get /v1/sessions/{sessionId} Retrieve a session you have permission to access. # Retrieve a session diff Source: https://docs.tembo.io/api/v1/sessions/retrieve-a-session-diff https://api.tembo.io/public-api/openapi/public get /v1/sessions/{sessionId}/diffs/{diffId} Retrieve one recorded session diff and its content. # Retrieve a session source Source: https://docs.tembo.io/api/v1/sessions/retrieve-a-session-source https://api.tembo.io/public-api/openapi/public get /v1/sessions/sources/{sourceId} Retrieve one session source. # Share Source: https://docs.tembo.io/api/v1/sessions/share https://api.tembo.io/public-api/openapi/public post /v1/sessions/{sessionId}/sharing Share with a person, a team or the whole organization. Each member then acts only as far as their role allows. Requires Write on it. # Stop a session Source: https://docs.tembo.io/api/v1/sessions/stop-a-session https://api.tembo.io/public-api/openapi/public post /v1/sessions/{sessionId}/stop Interrupt active session work without archiving it. Continue with the next queued message, or set cancelQueued=true to cancel pending messages too. # Update a session Source: https://docs.tembo.io/api/v1/sessions/update-a-session https://api.tembo.io/public-api/openapi/public patch /v1/sessions/{sessionId} Update a session: archive or restore it, set priority, rename it, change agent/model, switch between Build (normal) and Plan (planning) modes, or configure its workspace and branches. Share it through its sharing subresource; the deprecated visibility field remains for older clients. Archiving uses level=0; restoring archived sessions uses level=1 and does not restart work. Use pins to pin or unpin sessions. Submit memoryMb alone to request asynchronous memory growth for a running adaptive sandbox within project limits; sandbox metrics report progress. # Update a session input Source: https://docs.tembo.io/api/v1/sessions/update-a-session-input https://api.tembo.io/public-api/openapi/public patch /v1/sessions/{sessionId}/inputs/{inputId} Answer a pending session question. # Update a session queue Source: https://docs.tembo.io/api/v1/sessions/update-a-session-queue https://api.tembo.io/public-api/openapi/public put /v1/sessions/{sessionId}/queue Replace the order of messages waiting in a session queue. # Create a skill Source: https://docs.tembo.io/api/v1/skills/create-a-skill https://api.tembo.io/public-api/openapi/public post /v1/skills Create an organization skill with its files. # Delete a skill Source: https://docs.tembo.io/api/v1/skills/delete-a-skill https://api.tembo.io/public-api/openapi/public delete /v1/skills/{skillId} Delete an organization skill. # List marketplace skills Source: https://docs.tembo.io/api/v1/skills/list-marketplace-skills https://api.tembo.io/public-api/openapi/public get /v1/skills/marketplace List popular marketplace skills or search the catalog. Results have no continuation cursor. # List shares Source: https://docs.tembo.io/api/v1/skills/list-shares https://api.tembo.io/public-api/openapi/public get /v1/skills/{skillId}/sharing List the people, teams and organization this is shared with. Requires Write on it. # List skills Source: https://docs.tembo.io/api/v1/skills/list-skills https://api.tembo.io/public-api/openapi/public get /v1/skills List organization skills or skills checked into a repository. # Remove a share Source: https://docs.tembo.io/api/v1/skills/remove-a-share https://api.tembo.io/public-api/openapi/public delete /v1/skills/{skillId}/sharing/{shareId} Stop sharing with one person, team or the organization. Requires Write on it. # Retrieve a marketplace skill Source: https://docs.tembo.io/api/v1/skills/retrieve-a-marketplace-skill https://api.tembo.io/public-api/openapi/public get /v1/skills/marketplace/{skillId} Retrieve the files and content hash for a marketplace skill. This does not install the skill. # Retrieve a skill Source: https://docs.tembo.io/api/v1/skills/retrieve-a-skill https://api.tembo.io/public-api/openapi/public get /v1/skills/{skillId} Retrieve an organization skill and all of its files. # Share Source: https://docs.tembo.io/api/v1/skills/share https://api.tembo.io/public-api/openapi/public post /v1/skills/{skillId}/sharing Share with a person, a team or the whole organization. Each member then acts only as far as their role allows. Requires Write on it. # Update a skill Source: https://docs.tembo.io/api/v1/skills/update-a-skill https://api.tembo.io/public-api/openapi/public patch /v1/skills/{skillId} Update an organization skill. When files are provided, they replace the complete file set. # Create a personal environment variable Source: https://docs.tembo.io/api/v1/users/create-a-personal-environment-variable https://api.tembo.io/public-api/openapi/public post /v1/users/{userId}/environment-variables Store an encrypted environment variable that is injected into every session you start in the current organization. # Delete a personal environment variable Source: https://docs.tembo.io/api/v1/users/delete-a-personal-environment-variable https://api.tembo.io/public-api/openapi/public delete /v1/users/{userId}/environment-variables/{environmentVariableId} Permanently delete a personal environment variable. Sessions started afterwards no longer receive it. # Delete your profile picture Source: https://docs.tembo.io/api/v1/users/delete-your-profile-picture https://api.tembo.io/public-api/openapi/public delete /v1/users/{userId}/profile-picture Delete your profile picture. This succeeds if no picture exists. # List personal environment variables Source: https://docs.tembo.io/api/v1/users/list-personal-environment-variables https://api.tembo.io/public-api/openapi/public get /v1/users/{userId}/environment-variables List your personal environment variables in the current organization. Values are never returned. # List user connected accounts Source: https://docs.tembo.io/api/v1/users/list-user-connected-accounts https://api.tembo.io/public-api/openapi/public get /v1/users/{userId}/connected-accounts List the user identity-provider accounts without returning credentials. # Retrieve a user Source: https://docs.tembo.io/api/v1/users/retrieve-a-user https://api.tembo.io/public-api/openapi/public get /v1/users/{userId} Retrieve a user profile visible to the caller. # Retrieve a user connected account Source: https://docs.tembo.io/api/v1/users/retrieve-a-user-connected-account https://api.tembo.io/public-api/openapi/public get /v1/users/{userId}/connected-accounts/{connectedAccountId} Retrieve one identity-provider account without returning credentials. # Retrieve a user profile picture Source: https://docs.tembo.io/api/v1/users/retrieve-a-user-profile-picture https://api.tembo.io/public-api/openapi/public get /v1/users/{userId}/profile-picture Redirect to a user's profile picture. Signed URLs are valid for one hour. # Retrieve the current user Source: https://docs.tembo.io/api/v1/users/retrieve-the-current-user https://api.tembo.io/public-api/openapi/public get /v1/users/me Retrieve the authenticated user. # Retrieve user settings Source: https://docs.tembo.io/api/v1/users/retrieve-user-settings https://api.tembo.io/public-api/openapi/public get /v1/users/{userId}/settings Retrieve user preferences without exposing stored credentials. # Retrieve user subscriptions Source: https://docs.tembo.io/api/v1/users/retrieve-user-subscriptions https://api.tembo.io/public-api/openapi/public get /v1/users/{userId}/subscriptions Retrieve connection statuses and available ChatGPT and Claude usage. Provider usage errors are reported without failing the response. # Update user settings Source: https://docs.tembo.io/api/v1/users/update-user-settings https://api.tembo.io/public-api/openapi/public patch /v1/users/{userId}/settings Configure personal agent/model and project defaults, system instructions, follow-up queue/steer behavior, VM restart, commit signing/attribution, notifications, themes, and review layout. Updates preserve unrelated settings. # Update your profile picture Source: https://docs.tembo.io/api/v1/users/update-your-profile-picture https://api.tembo.io/public-api/openapi/public put /v1/users/{userId}/profile-picture Upload a JPEG, PNG, GIF, or WebP profile picture up to 5 MB. # Agent Actions Source: https://docs.tembo.io/features/agent-actions Tembo agents can do more than open PRs. Pull requests are the most common output, but Tembo agents can take any action available through your connected integrations and [MCP servers](/integrations/mcp). A single session can span multiple repositories. Tembo can use context from connected integrations and MCP servers during the same session, make informed decisions, and open a pull request or merge request in each affected repository. It can also coordinate changes across different git providers when needed. ## What agents can do | Action | Integration | | - | - | | Open and update pull requests | GitHub, GitLab, Bitbucket | | Post messages and summaries | Slack | | Create, update, and comment on issues | Linear, Jira | | Create and update pages | Notion | | Query databases | Postgres, Supabase, Neon, PlanetScale | | Analyze errors and stack traces | Sentry | | Run browser automation | Kernel (Playwright) | | Access analytics and feature flags | PostHog | | Manage users and auth | Clerk | | Access payments and subscriptions | Stripe | | Access CRM data | Attio | ## Examples **Triage a Linear ticket in Slack**: A Slack message triggers Tembo to read the Linear ticket, scan the codebase for context, and post an explanation back to the Slack thread. **Summarize Sentry errors**: A daily agent fetches errors from Sentry, ranks them by impact, creates Linear tickets, and posts a summary to Slack. **Enrich issues with context**: When a new issue is created, Tembo searches the codebase, pulls related Notion docs, and adds implementation hints as a comment. **Query production data**: During a session, an agent queries your Postgres database to understand the schema and writes a migration based on actual table structure. **Ship a cross-repo change**: One session updates multiple services, uses Linear and Sentry context to verify the work, and opens a PR or MR in each affected repository. ## How it works Agents access integrations through MCP servers. When you connect an integration or install an MCP server, it becomes available to agents during sessions and scheduled runs. No extra configuration needed. See [MCP](/integrations/mcp) for available servers. # Agent Skills Source: https://docs.tembo.io/features/agent-skills Guide how agents approach sessions with skills in your repository or workspace. Skills are reusable instructions that guide how agents approach work. They help agents follow multi-step processes like research, planning, implementation, and review instead of doing everything in a single pass. Tembo loads skills from three places: * **Repository skills** you commit alongside your code * **Managed skills** you create in **Settings > Skills** * **Built-in skills** that ship with every session ## Repository skills Place each skill in its own directory inside the skills folder for your coding agent. The folder differs per agent, so use the one that matches the agent running your sessions. | Agent | Skill directory | Entry file | | - | - | - | | Claude Code | `.claude/skills//` | `SKILL.md` | | Codex | `.codex/skills//` | `SKILL.md` | | OpenCode | `.opencode/skills//` | `SKILL.md` | | Amp | `.agents/skills//` | `SKILL.md` | | Pi | `.agents/skills//` | `SKILL.md` | | fx | `.agents/skills//` | `SKILL.md` | | Cursor | `.cursor/rules//` | `SKILL.mdc` | A skill directory looks like this: ```text theme={null} .claude/ └── skills/ └── implementation/ ├── SKILL.md └── checklist.md ``` ### Required frontmatter Every entry file needs YAML frontmatter with `name` and `description`. Tembo skips any skill whose frontmatter is missing or invalid. ```markdown theme={null} --- name: implementation description: Research the codebase, plan the change, implement it, then self-review the diff before opening a PR. --- 1. Research the codebase to understand existing patterns 2. Create a plan with specific files and changes 3. Implement the plan following project conventions 4. Run tests and fix any failures 5. Self-review the diff before opening a PR ``` Constraints Tembo enforces when it indexes a skill: * `name` must be lowercase kebab-case (`a-z`, `0-9`, single hyphens), at most 64 characters * `name` must exactly match the skill's directory name * `description` must be a non-empty string of at most 1024 characters * Entry files larger than 1 MiB, or detected as binary, are skipped > [!NOTE] > > For Cursor skills in `.cursor/rules/`, the skill name comes from the directory name, so frontmatter `name` is optional. `description` is still required. ### Using a skill Ask the agent to use a skill in the session description, or after a PR is opened by [mentioning Tembo](/features/mentioning-tembo): ```text theme={null} @tembo Use the implementation skill for this session ``` ```text theme={null} @tembo Now use the code-review skill to review your changes ``` ## Managed skills Create and manage skills directly in Tembo when you want them available across every repository, without committing files. Open **Settings > Skills** to: * Add a new skill, then give it a name and description * Write the main instructions in `SKILL.md` * Add extra reference files if needed * Edit or delete existing skills * Browse the marketplace and install a community skill. Installing copies it into your managed skills, so it is available in every session. Remove it by deleting that managed skill. The entry file must be named `SKILL.md`. Tembo writes managed skills into the sandbox at `/workspace/.tembo/agents/skills///` and copies them into the running agent's own skill directory so the agent discovers them normally. For Cursor, the entry file is converted to `SKILL.mdc`. > [!WARNING] > > Managed skills apply across the workspace. Tembo makes every managed skill available in every session, regardless of repository or agent, so keep descriptions specific enough that agents only invoke a skill when it is relevant. ## Built-in skills These skills ship with Tembo and are available in every session without any setup: | Skill | What it does | | - | - | | `agent-browser` | Drives a browser to navigate pages, fill forms, take screenshots, and test web apps | | `cloud-devices` | Builds and runs apps on [cloud devices](/features/cloud-devices): iOS simulators, Android emulators, and cloud Macs with Xcode | | `generate-preview-url` | Exposes a local sandbox port and returns a public preview URL | | `install-custom-dependencies` | Installs system packages with Nix, since sandboxes run on NixOS without `apt` or `brew` | | `tembo-cli` | Uses the sandbox `tembo` CLI for pull requests, previews, uploads, and replies | | `tembo-file-upload` | Uploads sandbox files up to 5 GiB as Tembo assets | | `tembo-artifact` | Creates artifacts such as HTML reports, dashboards, diagrams, and CSV or JSON exports | | `tembo-git-instructions` | Applies your workspace commit message and PR title instructions | `tembo-git-instructions` picks up the commit and PR title instructions you set in **Settings > Instructions**. If you leave them blank, Tembo falls back to conventional commit messages. ## What skills are good for * Enforcing a research-then-implement workflow * Requiring test coverage before opening a PR * Defining code review checklists the agent runs against its own output * Setting quality thresholds for different session types For broader project context such as build commands, architecture, and conventions, use a [rule file](/features/rule-files) instead. Rule files describe your project; skills describe a procedure. # Automations Source: https://docs.tembo.io/features/automations Run coding agents on a schedule or triggered by events. ![Automations](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/automation-light.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=13a9adad2d53842e6be32b3bfbea77ac) Run coding agents in the background, on a schedule or triggered by events. A Sentry error gets fixed within seconds. Docs stay in sync with your code. Security vulnerabilities get caught before they become problems. Each automation runs in a secure [sandbox](/features/sandbox/overview) with full codebase and repository access and your configured [MCP servers](/integrations/mcp). ## Agent harness Tembo is harness and model agnostic. For each automation you configure, you pick the harness (and model) that runs in the sessions it spawns, for example Claude Code with Sonnet 5.5, Codex with GPT-5.4, or Cursor. Set a default per automation, or override per session. See [Models](/features/models) for the full supported model list, BYOK details, and AWS Bedrock BYOK support. > [accordion] Claude Code > > Anthropic's Claude models. Best balance of quality, reliability, and cost. > > **Models:** Opus 5.5, Opus 5, Fable 5.2, Fable 5.1, Fable 5, Sonnet 5.5, Haiku 5.5, Opus 4.8, Opus 4.7, Opus 4.6, Opus 4.5 > [accordion] Codex > > OpenAI's GPT models with configurable reasoning effort (low, medium, high, xhigh). GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Astra, GPT-6 Sol, GPT-5.6 Sol, and GPT-5.6 Terra also support max and ultra; GPT-6.2 Astra, GPT-6.2 Sol, GPT-6 Luna, and GPT-5.6 Luna also support max. > > **Models:** GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Astra, GPT-6 Sol, GPT-6 Luna, GPT-5.6 Sol, GPT-5.6 Terra, GPT-5.6 Luna, GPT-5.5 Pro, GPT-5.4, GPT-5.3 Codex, GPT-5.4 Mini, GPT-5.4 Nano > [accordion] Cursor > > Multi-provider via Cursor CLI. > > **Models:** Composer 2.5, Composer 2, Composer 2 Fast, Composer 1.5, Opus 5.5, Opus 5, Sonnet 5.5, Haiku 5.5, Opus 4.8, Opus 4.7, Opus 4.6, Opus 4.5, GPT-5.6 Sol, GPT-5.6 Terra, GPT-5.3 Codex, GPT-5.3 Codex Spark, Gemini 3.1 Pro, Gemini 3.5 Flash, Grok 4.7 > [accordion] Opencode > > Multi-provider support: Anthropic, OpenAI, and OSS models. > > **Models:** Opus 5.5, Opus 5, Fable 5.2, Fable 5.1, Fable 5, Sonnet 5.5, Haiku 5.5, Opus 4.8, Opus 4.7, Opus 4.6, Opus 4.5, GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Astra, GPT-6 Sol, GPT-6 Luna, GPT-5.6 Sol, GPT-5.6 Terra, GPT-5.6 Luna, GPT-5.5 Pro, GPT-5.4, GPT-5.3 Codex, GPT-5.4 Mini, GPT-5.4 Nano, Gemini 4 Neon, Gemini 3.1 Pro, Gemini 3.5 Flash, Grok 4.7, GLM 5.3, GLM 5.3 Flash, Kimi K3, DeepSeek V4 Pro, DeepSeek V4.1 Flash, MiniMax M2.7, MiniMax M3 > [accordion] Amp > > Claude-powered with automatic model selection. > [accordion] Pi > > A minimal, extensible terminal coding harness with multi-provider support. > > **Models:** Opus 5.5, Opus 5, Fable 5.2, Fable 5.1, Fable 5, Sonnet 5.5, Haiku 5.5, Opus 4.8, Opus 4.7, Opus 4.6, Opus 4.5, GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Astra, GPT-6 Sol, GPT-6 Luna, GPT-5.6 Sol, GPT-5.6 Terra, GPT-5.6 Luna, GPT-5.5 Pro, GPT-5.4, GPT-5.3 Codex, GPT-5.4 Mini, GPT-5.4 Nano, GPT-5.2, Grok 4.7, GLM 5.3, GLM 5.3 Flash, Kimi K3, DeepSeek V4 Pro, DeepSeek V4.1 Flash, MiniMax M2.7, MiniMax M3 > [accordion] fx > > A tiny, open, native coding agent with multi-provider model support. > > **Models:** Opus 5.5, Opus 5, Fable 5.2, Fable 5.1, Fable 5, Sonnet 5.5, Haiku 5.5, Opus 4.8, Opus 4.7, Opus 4.6, Opus 4.5, GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Astra, GPT-6 Sol, GPT-6 Luna, GPT-5.6 Sol, GPT-5.6 Terra, GPT-5.6 Luna, GPT-5.5 Pro, GPT-5.4, GPT-5.3 Codex, GPT-5.4 Mini, GPT-5.4 Nano, Gemini 4 Neon, Gemini 3.1 Pro, Gemini 3.5 Flash, GLM 5.3, GLM 5.3 Flash, Kimi K3, DeepSeek V4 Pro, DeepSeek V4.1 Flash, MiniMax M2.7, MiniMax M3 ## Triggers These are just examples to give you a rough idea. You decide how to set this up, there are no limitations. ### Scheduled Run automations at regular intervals. | Schedule | Example | | - | - | | **Hourly** | Monitor for CI failures, new Sentry errors | | **Daily** | Generate changelogs, post standup summaries | | **Weekly** | Clean up stale TODOs, security scans | | **Monthly** | Dependency audits, documentation reviews | ### Event-driven React to events from your integrations in real-time. | Integration | Events | | - | - | | **GitHub** | PR opened, PR merged, issue created, comment added, Dependabot alert assigned | | **GitLab** | Merge request opened, merged, issue created | | **Sentry** | New error, error spike, regression detected | | **Sazabi** | Issue triggered, updated, reopened, still open, resolved | | **Linear** | Issue created, issue updated, status changed | | **Slack** | Message in channel, @tembo mention | ### Webhooks Trigger an automation on demand from CI, internal tools, or any service that can send an HTTP request. Send a `POST` request with an [API key](/api#authentication) to the automation's runs endpoint. In the API reference, automations are the `agents` resource; `/v1/agents/...` URLs keep working. | Deployment | URL | | - | - | | Tembo API | `https://api.tembo.io/v1/automations/{agentId}/runs` | | Self-hosted | `https://{deployment-origin}/api/public-api/v1/automations/{agentId}/runs` | The automation ID (`agentId`) is the UUID at the end of the automation's URL in the dashboard (`https://app.tembo.io//automations/`). Automation keys (macros) aren't accepted and return `400`. ```bash Tembo API theme={null} curl -X POST "https://api.tembo.io/v1/automations/AUTOMATION_ID/runs" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"issue_url": "https://github.com/org/repo/issues/42"}' ``` ```bash Self-hosted theme={null} curl -X POST "https://tembo.example.com/api/public-api/v1/automations/AUTOMATION_ID/runs" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"issue_url": "https://github.com/org/repo/issues/42"}' ``` Tembo responds with `201` once the run is queued. The response confirms the run is queued, not that it finished: ```json theme={null} { "jobId": "96ea1b5b-fc94-4c4a-9b16-0dba674e4533", "runId": "5f0c8d1e-7a42-4c1b-9e3d-2b6a8f4c9d10", "agentId": "10dc26a2-9e2e-4a25-9f1b-4791fa2edf9c", "status": "queued" } ``` Use `runId` to [follow the run to its session](#follow-a-run-to-its-session). #### Payload The request body is optional. When you send one, it must be a JSON object. Send your fields at the top level; you don't need to wrap them. Tembo passes the whole object to the agent as event context, so your instructions can reference it directly. For example, you could write instructions like *"Fix the issue at the URL provided in the event payload"*. If you need to transform the payload or fetch extra data before the agent starts, use an [agent post-trigger hook](/beta/agent-post-trigger-hook). The hook can read `TRIGGER_PAYLOAD` and print Markdown, text, or JSON to standard output; Tembo adds that output to the agent's starting context. #### Authenticate with a query parameter Some services only let you configure a URL, not headers. In that case, pass your API key as the `apiKey` query parameter: ```bash theme={null} curl -X POST "https://api.tembo.io/v1/automations/AUTOMATION_ID/runs?apiKey=YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"ticket_id": "SUP-1234"}' ``` > [!WARNING] > > URLs can end up in logs and webhook delivery histories. Use the `Authorization` header when the sending service supports it. #### Follow a run to its session The agent works in a session that the automation run creates when it starts. To find that session, use the `runId` from the response. 1. Retrieve the run. You can call this right after you create it: ```bash theme={null} curl "https://api.tembo.io/v1/automations/AUTOMATION_ID/runs/RUN_ID" \ -H "Authorization: Bearer YOUR_API_KEY" ``` ```json theme={null} { "id": "5f0c8d1e-7a42-4c1b-9e3d-2b6a8f4c9d10", "sessionId": null, "status": "pending", "createdAt": "2026-11-11T09:00:00.000Z", "updatedAt": "2026-11-11T09:00:00.000Z", "durationMs": 0, "errorMessage": null } ``` 2. Poll the run until `sessionId` is set: | `status` | Meaning | | - | - | | `pending` | The run is queued or starting. `sessionId` is `null` until the session is created. | | `finished` | The run started its session. The agent keeps working in that session. | | `failed` | The run couldn't start. `errorMessage` explains why. | A `finished` run means the session started, not that the agent's work is done. 3. Retrieve the session to follow the agent's progress: ```bash theme={null} curl "https://api.tembo.io/v1/sessions/SESSION_ID" \ -H "Authorization: Bearer YOUR_API_KEY" ``` The `state` flags (`isQueued`, `inProgress`, `isCompleted`, `isFailed`, and `isCancelled`) show where the agent is. `htmlUrl` opens the session in the dashboard. To see recent runs instead, list the automation's runs, newest first: ```bash theme={null} curl "https://api.tembo.io/v1/automations/AUTOMATION_ID/runs" \ -H "Authorization: Bearer YOUR_API_KEY" ``` See [Create an agent run](/api/v1/agents/create-an-agent-run), [Retrieve an agent run](/api/v1/agents/retrieve-an-agent-run), [List agent runs](/api/v1/agents/list-agent-runs), and [Retrieve a session](/api/v1/sessions/retrieve-a-session) for the full API reference. #### Errors | Status | Cause | | - | - | | `400` | The body isn't a JSON object, or the automation ID isn't a UUID. | | `401` | The API key is missing, invalid, revoked, or expired. | | `404` | No automation with that ID exists in the API key's organization. | ## Creating an automation You can create automations in the dashboard or define them in a repository. ### From a template ![Automation templates](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations-light.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=cf308a551e35d085a49c48289c6f003e) 1. Go to **Automations** in the [dashboard](https://app.tembo.io) 2. Click **Templates** 3. Pick a template and click **Use template** 4. Customize the instructions and enable [Browse all templates](https://tembo.io/for) ### From scratch 1. Click **New Automation** 2. Write your instructions 3. Add triggers (schedule and/or event-based) 4. Select [agent harness](#agent-harness) 5. Instruct MCP servers or integrations 6. Optionally select a [project](/features/projects) in run options so runs start from that prepared environment 7. Save and enable ### From a repository Store an automation's instructions, runtime settings, recurring schedules, and event triggers with the code it works on. Tembo syncs each JSON file directly inside `.tembo/automations/` and creates or updates the corresponding automation in your workspace. #### Prerequisites * Connect your GitHub, GitLab, or Bitbucket account to Tembo. * Activate the repository under **Active Repositories** on the **Settings > Integrations** page. * Make sure you can merge changes into the repository's default branch. #### Create a scheduled automation **1. Create the automations directory** At the root of your repository, create `.tembo/automations/`. Files in `.tembo/agents/` are still synced, but a file in `.tembo/automations/` takes priority over one with the same name. Automation definitions must be `.json` files directly inside this directory. Nested files and other file types are ignored. **2. Add an automation definition** Create a file such as `.tembo/automations/weekly-changelog.json`: ```json theme={null} { "name": "Weekly changelog", "prompt": "Summarize the changes merged during the last week and open a pull request that updates the changelog.", "schedule": "0 9 * * 1" } ``` `name` and `prompt` are required. The schedule above runs every Monday at 09:00 UTC. **3. Merge the definition** Commit the file and merge it into the repository's default branch. Tembo creates the automation during the next repository sync. Future changes to the file update the same automation. **4. Verify the automation** Open **Automations**, select the automation, and confirm its instructions and next scheduled run. #### Configure multiple schedules Use `schedules` to run the same automation on more than one cron schedule. Entries can be cron strings or objects with a `cron` property. ```json theme={null} { "name": "Repository maintenance", "prompt": "Review the repository for stale dependencies and maintenance work. Open a pull request for safe updates.", "schedules": [ "0 9 * * 1", { "cron": "0 12 * * 5" } ] } ``` This example runs at 09:00 every Monday and 12:00 every Friday. Repository-defined schedules use UTC. > [!NOTE] > > Use either `schedule` or `schedules` in one file, not both. You can configure up to 50 schedules for an automation. #### Configure event triggers Use `triggers` to start the automation when an event happens in a connected integration. ```json theme={null} { "name": "Pull request reviewer", "prompt": "Review the pull request that triggered this run and comment on bugs or risky changes.", "triggers": [ { "name": "pull_request.opened", "integrationType": "github", "filters": { "repositories": ["acme/api"], "branches": ["main"] } } ] } ``` This example runs when someone opens a pull request that targets `main` in the `acme/api` repository. Tembo passes the event payload to the agent as context, so your prompt can refer to the pull request, issue, or message that started the run. | Field | Description | | - | - | | `name` | Required. The trigger name, such as `pull_request.opened`. | | `integrationType` | Required. The integration that sends the event, such as `github`, `slack`, `linear`, or `sentry`. | | `integrationId` | Optional. The connected integration to use when your workspace has more than one integration of this type. | | `filters` | Optional. Trigger-specific conditions, such as repositories, branches, or labels. | Use [List integration triggers](/api/v1/integrations/list-integration-triggers) to find each integration type's trigger names and supported filters. Use [List integrations](/api/v1/integrations/list-integrations) to find an `integrationId`. Tembo attaches each trigger to your workspace's connected integration of that type. If your workspace has several, Tembo uses the one that hosts the repository, such as the GitHub installation for a GitHub repository. If none of them hosts the repository, set `integrationId`. > [!NOTE] > > Connect the integration before you merge the file. Each trigger name can appear once per automation, and you can configure up to 50 triggers for an automation. > [!WARNING] > > A trigger isn't limited to the repository that contains the automation file. Without a `repositories` filter, `pull_request.opened` starts the automation for pull requests in every active repository connected through that integration. ##### Pull request filters GitHub's `pull_request.opened` trigger supports these filters: | Filter | Type | Description | | - | - | - | | `repositories` | string array | Only run for pull requests in these repositories, written as `owner/repo`. | | `branches` | string array | Only run for pull requests that target one of these branches. | | `labels` | string array | Only run when the pull request has at least one of these labels. | | `openedBy` | string array | Only run for pull requests opened by one of these GitHub usernames. | | `draftPrs` | boolean | Also run for draft pull requests. Defaults to `false`. | | `temboPrs` | boolean | Run for pull requests that Tembo opened. Defaults to `true`. | Omit `repositories`, `branches`, `labels`, or `openedBy` to match any value. Other triggers support their own filters, which [List integration triggers](/api/v1/integrations/list-integration-triggers) returns. ##### Trigger names Common trigger names include: | Integration | `integrationType` | Trigger names | | - | - | - | | GitHub | `github` | `pull_request.opened`, `pull_request.ready_for_review`, `pull_request.synchronize`, `pull_request.merged`, `pull_request.closed`, `pull_request.labeled`, `pull_request.review_requested`, `pull_request_review.submitted`, `issues.opened`, `issues.closed`, `issue_comment.created`, `workflow_run.failed`, `workflow_run.completed`, `release.published`, `create` | | GitLab | `gitlab` | `merge_request.opened`, `merge_request.ready_for_review`, `merge_request.updated`, `merge_request.merged`, `merge_request.closed`, `issue.opened`, `issue.updated`, `issue.closed`, `issue.label_added`, `issue_note.created`, `pipeline.failed`, `ref.created` | | Bitbucket | `bitbucket` | `pull_request.opened` | | Linear | `linear` | `Issue.create`, `Issue.update`, `Issue.statusChanged`, `Issue.labelAdded` | | Sentry | `sentry` | `issue.created` | | Sazabi | `sazabi` | `issue_triggered`, `issue_updated`, `issue_reopened`, `issue_ongoing`, `issue_resolved`, `issue_ignored`, `issue_rejected` | | Slack | `slack` | `message.sentInChannel`, `message.reactionAdded` | | Jira | `atlassian` | `jira:issue_created`, `jira:issue_updated`, `jira:issue_status_changed`, `jira:issue_assigned_to_user`, `jira:issue_added_to_board`, `jira:issue_label_added`, `jira:issue_comment_created` | Trigger names are case-sensitive. For the complete list, call [List integration triggers](/api/v1/integrations/list-integration-triggers). #### Configure the runtime You can keep the automation's execution settings in the same file: ```json theme={null} { "name": "Weekly changelog", "prompt": "Summarize the changes merged during the last week and open a pull request that updates the changelog.", "model": "codex:gpt-6.1-sol", "agentOptions": { "reasoningLevel": "high" }, "mcpServers": ["linear"], "sandboxSize": "large", "projectId": "tembo", "artifactType": "PullRequest", "schedules": [ { "cron": "0 9 * * 1" } ] } ``` | Field | Description | | - | - | | `model` | Agent harness and model key. See [Models](/features/models) for supported options. `agent` is accepted as an alias, but do not set both. | | `agentOptions` | Harness-specific options, such as `reasoningLevel`. | | `mcpServers` | MCP server names that the agent can use. Connect them before the agent runs. | | `sandboxSize` | VM size: `nano`, `micro`, `small`, `medium`, `large`, `xl`, `xxl`, or `ultra`. | | `projectId` | A project UUID, or `tembo` to use the base environment. See [Projects](/features/projects). | | `artifactType` | Expected result: `PullRequest`, `ToolCall`, `Plan`, `Response`, `File`, `Service`, or `Source`. | | `schedule` | One cron expression. | | `schedules` | Up to 50 cron strings or objects containing a `cron` property. | | `triggers` | Up to 50 event triggers. See [Configure event triggers](#configure-event-triggers). | Omit optional runtime fields to use the existing automation settings. For a new automation, omitted fields use your workspace defaults. #### How synchronization works Tembo matches an automation by its `name` within the connected repository. An automation with the same name managed by another repository remains separate. * Changing the prompt or runtime fields updates the repository's matching automation. * Changing the configured cron expressions adds and removes schedules to match the file. * Omitting both `schedule` and `schedules` leaves existing schedules unchanged. * Setting `"schedules": []` removes all schedules from the automation. * Changing `triggers` adds, updates, and removes triggers to match the file. * Omitting `triggers` leaves existing triggers unchanged, including triggers you added in Tembo. * Setting `"triggers": []` removes all triggers from the automation. * Disabling the automation in Tembo also keeps newly synced schedules and triggers disabled. * Removing the JSON file does not delete the automation. Delete or archive the automation from Tembo if you no longer need it. * Changing `name` creates a different automation instead of renaming the existing one. #### Troubleshooting > [accordion] The automation does not appear > > Confirm that the repository is active in **Settings > Integrations**, the file is valid JSON with a `.json` extension, and it is directly inside `.tembo/automations/` (or the older `.tembo/agents/`) on the default branch. Repository changes are processed asynchronously, so allow time for the next sync. > [accordion] The file is skipped > > Tembo skips that file if it contains invalid JSON, unknown fields, conflicting fields such as both `schedule` and `schedules`, an unsupported model or runtime option, an inaccessible project, or an invalid or impossible cron expression. Tembo also skips it if a trigger name doesn't exist for its `integrationType`, the trigger filters are invalid, or Tembo can't find a single connected integration for a trigger. Other valid automation files in the directory continue to sync. > [accordion] A schedule runs at the wrong time > > Repository-defined cron schedules use UTC. Convert your desired local time to UTC and account for daylight saving time when you choose the expression. > [accordion] A removed file still has an automation > > Removing a file stops source-controlled updates but does not delete or archive its existing automation. Delete or archive the automation from **Automations**. ## Macros You can trigger a specific automation on demand from anywhere you can mention `@tembo` by using its macro. ```txt theme={null} @tembo ! ``` Tembo routes the request to the automation with that macro and passes the rest of the message as the prompt. For example, this triggers the automation named `review`: ```txt theme={null} @tembo !review please review this PR ``` ## Beyond code Automations aren't limited to engineering work. With [MCP servers](/integrations/mcp), automations can work across your entire stack. | Example | Trigger | What it does | | - | - | - | | Daily ARR report | Daily | Pulls revenue data from [Stripe](/integrations/mcp) and posts to [Slack](/integrations/slack) | | Feature requests from calls | Daily | Scans call transcripts for feature requests and creates [Linear](/integrations/linear) tickets | | Customer health check | Weekly | Summarizes support tickets, usage trends, and churn signals in [Slack](/integrations/slack) | | Enrich CRM records | New deal created | Pulls company info and adds context to [Attio](/integrations/mcp) or your CRM | | Create CRM tickets from Slack | `@tembo` in [Slack](/integrations/slack) | Creates a ticket in your CRM enriched with context from other connected integrations | Any tool with an [MCP server](/integrations/mcp) can be used in an automation. You can also do this on-demand from [Slack](/integrations/slack) without setting up an automation: ``` @tembo What's our ARR right now? Check Stripe. ``` ``` @tembo Summarize the feature requests from this week's sales calls and create Linear tickets for the top 5. ``` # CLI Source: https://docs.tembo.io/features/cli Install the Tembo CLI on your own machine so you can connect it to Tembo as a device. The Tembo CLI (`tembo`) is a command-line tool you install on your own machine. Use it to connect a laptop, server, or other machine to Tembo as a [device](/features/devices), so sessions you start can work on it. This page covers the CLI you install yourself. Agents also have a `tembo` command inside their sandbox, which is a separate tool. See [Tembo CLI commands](/features/sandbox/built-in-skills-and-tools#tembo-cli-commands) for that reference. ## Install ```bash Install script theme={null} curl -fsSL https://cli.tembo.sh | sh ``` ```bash Homebrew theme={null} brew install tembo/tap/tembo ``` The install script supports macOS and Linux on x64 and arm64. It verifies the download's checksum and installs `tembo` to `~/.local/bin`. If that directory isn't on your `PATH`, the script prints the line to add to your shell profile. On Windows, download [tembo-x86_64-pc-windows-msvc.zip](https://cli.tembo.sh/latest/tembo-x86_64-pc-windows-msvc.zip), extract it, and put `tembo.exe` on your `PATH`. Check the installed version: ```bash theme={null} tembo --version ``` Run `tembo --help` to see all commands. ### Install options Set these environment variables on the `sh` side of the pipe to change what the script installs: | Variable | Description | Default | | - | - | - | | `TEMBO_VERSION` | Release to install, for example `0.1.0`. | Latest release | | `TEMBO_INSTALL_DIR` | Directory to install `tembo` into. | `~/.local/bin` | ```bash theme={null} curl -fsSL https://cli.tembo.sh | TEMBO_INSTALL_DIR="$HOME/bin" sh ``` To update, run the install script again or run `brew upgrade tembo`. ## Connect a machine To connect this machine to Tembo, see [Devices](/features/devices#connect-with-the-cli). ## Troubleshooting > [accordion] tembo: command not found > > The install directory isn't on your `PATH`. Add the line the install script printed to your shell profile, then open a new terminal. # Cloud devices Source: https://docs.tembo.io/features/cloud-devices Let the agent build and run your app on cloud iOS simulators, Android emulators, and Macs with Xcode, and watch it live in your session. Cloud devices let the agent check its work on iOS, Android, and macOS without anything installed on your machine. From a session, the agent can start an iPhone simulator or Android emulator, or a cloud Mac with Xcode to build your iOS app. It then taps through the app, types, and takes screenshots, while you watch and use the device live in the session sidebar. To have the agent work on your own computer instead, see [Devices](/features/devices). ![A session where the agent opened tembo.io on an iPhone simulator and checked the layout, with the live simulator in the Simulator tab of the session sidebar](https://mintcdn.com/test-8862363a/9dwnQw1qSN7lWevN/images/cloud-devices/session-light.png?fit=max\&auto=format\&n=9dwnQw1qSN7lWevN\&q=85\&s=aa5d7bf9b7e4b25fc76189d9344d3314) > [!NOTE] > > Cloud devices are available on the Max plan. Device time draws from your workspace's usage allowance at the rates in [Pricing](#pricing). > [card] iOS simulator > > Check a web page on an iPhone, or install and try a simulator build of your app. > [card] Android emulator > > Check a web page on Android, or install and try an `.apk`. > [card] Cloud Mac > > Build iOS apps with Xcode, run them on a simulator, and run anything else that needs macOS. ## Use a cloud device in a session Ask for what you want to see, and the agent picks the right device. For example: * "Open the preview of this page on an iPhone and check the checkout form." * "Build the iOS app and show me the new onboarding screen." * "Make sure the settings screen still works on Android." The agent starts the device, or reuses the one already running in the session, and can: * Take screenshots and check them against what you asked for. * Tap, swipe, drag, type, and press the home button. * Open a URL, such as a [preview URL](/features/agent-skills#built-in-skills) of a web app running in your sandbox. * Install an app from a download link, such as a zipped simulator `.app` or an `.apk`, and launch apps. When it's done, the agent stops the device so it stops costing money. ### Watch and use the device When the agent starts a simulator or emulator, the **Simulator** tab opens in the session sidebar and streams the device live. You can use it at the same time as the agent: * Click to tap, and drag to swipe or scroll. * Click **Keyboard** to type text into the focused field. * Click **Home** to go to the home screen. * Click **Zoom out** or **Zoom in** to resize the device in the tab. Your browser remembers the size. * Click **Stop simulator** to stop the device. ![The Simulator tab streaming an Android emulator with a web page open in Chrome, and the Home, Keyboard, Zoom out, Zoom in, and Stop simulator buttons below the device](https://mintcdn.com/test-8862363a/9dwnQw1qSN7lWevN/images/cloud-devices/simulator-light.png?fit=max\&auto=format\&n=9dwnQw1qSN7lWevN\&q=85\&s=8546e7a1496ba1b5753ca5215a4e726d) ## Build iOS apps on a cloud Mac Your sandbox runs Linux, so it can't build iOS apps itself. When a change needs Xcode, the agent uses a cloud Mac with macOS, Xcode, and iOS simulators: **1. Start the Mac** The agent starts a cloud Mac for the session, or reuses the one already running. **2. Copy the project** The agent archives your project in the sandbox and downloads it onto the Mac. **3. Build** The agent builds the app for the simulator with `xcodebuild`. Later builds reuse the earlier build output, so they only rebuild what changed. **4. Show the app** The agent installs the app on an iPhone simulator running on the Mac and opens it. The simulator streams to the **Simulator** tab like any other device. After each change, the agent copies the edit to the Mac, rebuilds, and relaunches the app, so you can follow along as it iterates. Good to know: * Commands on the Mac run as a standard user without `sudo`, and Homebrew isn't writable. The agent downloads extra tools it needs, such as XcodeGen, into the Mac's home folder. * Nothing on the Mac is kept after it stops. The next Mac starts fresh. * The Mac can reach the public internet, but not private networks such as a VPN or Tailscale. An app that loads data from an internal-only API will launch, but can't load that data. ## Pricing Device time is billed per second while the device runs. Time spent waiting for a device and booting it isn't billed. | Device | Per minute | Per hour | | - | -: | -: | | iOS simulator | \$0.20 | \$12.00 | | Android emulator | \$0.15 | \$9.00 | | Cloud Mac (macOS with Xcode) | \$0.07 | \$4.20 | Simulators running on a cloud Mac are included in the Mac's price, so building and running an iOS app on a Mac costs \$0.07 per minute in total. Some typical costs: | Example | Device | Time | Cost | | - | - | -: | -: | | Check a page layout on an iPhone | iOS simulator | 10 minutes | \$2.00 | | Test a sign-up flow on Android | Android emulator | 20 minutes | \$3.00 | | Build and iterate on an iOS app | Cloud Mac | 1 hour | \$4.20 | Device time draws from the same [usage allowance](/resources/pricing#how-the-usage-allowance-works) as Tembo Gateway and VM compute, including prepaid balance and overage billing. The session sandbox that runs the agent is billed separately as [VM compute](/resources/pricing#cloud-vm-compute-rates). In **Settings > Usage**, device time counts toward **Compute**. To see only device usage, filter the usage history by **macOS VMs**. ## Limits | Limit | Value | | - | - | | Devices running at once in a workspace | 2. Simulators running on a cloud Mac don't count. | | Longest run for a simulator or emulator | 1 hour | | Longest run for a cloud Mac | 2 hours | | Idle timeout for simulators and emulators | 5 minutes without an action | A session's devices also stop as soon as its sandbox stops, for example when you click **Stop VM**, archive the session, or its keep-alive time runs out. Restarting the sandbox keeps them running. ## Availability * Cloud devices are available on the **Max** plan. They aren't included in the free trial or the Pro plan. See [Pricing](/resources/pricing#plans). * Your workspace needs available balance: included allowance, prepaid balance, or overage billing. * Cloud devices aren't available on self-hosted installations. ## Troubleshooting > [accordion] The agent says cloud devices are only available on the Max plan > > Upgrade your workspace to Max in **Settings > Billing**, then ask the agent again. > [accordion] The agent says the workspace already has 2 cloud devices running > > Stop a device you no longer need, either with **Stop simulator** in its session or by asking the agent that started it. Simulators running on a cloud Mac don't count toward the limit. > [accordion] The agent says the workspace is out of credits > > Add prepaid balance or turn on overage billing in **Settings > Billing**. > [accordion] The app launches but can't load data > > Cloud devices can't reach private networks. Point the build at a publicly reachable environment, or use test data. # Devices Source: https://docs.tembo.io/features/devices Connect your computer or a server to Tembo so sessions you start can run commands, work with files, and show you its screen. Devices let Tembo sessions work on your own machines. Connect a laptop, workstation, or server, and sessions you start can run commands and read or write files on it. On macOS, you can also watch and control the device's screen from Tembo while the agent works. You manage devices in **Settings > Devices** in the [dashboard](https://app.tembo.io). To run your app on an iOS simulator, Android emulator, or Mac without using your own machine, see [Cloud devices](/features/cloud-devices). ## Connect a device You can connect a machine in two ways: * **Desktop app**: connect the computer you're using with one click. Use this for your own laptop or workstation. * **Tembo CLI**: pair a machine from its terminal. Use this for servers, Linux boxes, and other machines without the desktop app. ### Connect with the desktop app 1. Open the [Tembo desktop app](https://tembo.io/download). 2. Go to **Settings > Devices** and click **Connect this computer**. Sessions can use the computer while the desktop app is open. To disconnect it, click **Disconnect** on the same card. A computer can be connected to one workspace at a time. If it's connected to another workspace, the button says **Connect here**, and connecting it disconnects it from the other workspace. ### Connect with the CLI #### Prerequisites * The [Tembo CLI](/features/cli) is installed on the machine you want to connect. **1. Get a pairing code** In the [dashboard](https://app.tembo.io), open **Settings > Devices** and click **Add device**. The dialog shows two commands to run on your machine. The pairing code works once and expires after 10 minutes. **2. Pair the machine** Copy the first command from the dialog and run it on your machine. It includes your pairing code and your Tembo API URL: ```bash theme={null} tembo devices pair --api-url ``` The device is named after the machine's hostname. Add `--name ` to choose a different name. **3. Start the device** ```bash theme={null} tembo devices start ``` Leave this command running. The device appears in **Settings > Devices** once it connects, and your sessions can use it while the command runs. Press `Ctrl+C` to stop it. On a server, run `tembo devices start` under a process manager or terminal multiplexer, such as systemd or tmux, so it keeps running after you log out. ## Use a device in a session Ask Tembo to work on your machine in a session, for example "Run the test suite in `~/code/app` on my laptop." The agent can: * Run shell commands on the device in your login shell (PowerShell on Windows), starting in your home directory. * Read, write, and list files on the device. * Check the device's operating system, user, home directory, and shell. Commands run on your real machine with your user's permissions. When more than one of your devices is online, mention the one you want by name. To see which devices a session can use, click **+** (**New tab**) in the session's side panel and choose **Devices**. ### Limits | Operation | Limit | | - | - | | Command timeout | 2 minutes by default, up to 10 minutes | | Command output | 1 MB each for stdout and stderr; anything longer is truncated | | File reads | Files up to 10 MB | | Directory listings | Up to 2,000 entries | ## View a device's screen You can watch and control the screen of a device you own, for example to follow along while the agent works or to finish a step yourself. * **In a session**: the first time the agent uses one of your devices, the session's side panel opens a **Device** tab showing its screen. This doesn't happen when you're viewing the session in the desktop app on that same computer. To open a screen yourself, add the **Devices** tab and click **View screen**. Click **Switch device** in the tab to choose another device. * **In settings**: open **Settings > Devices** and click **View screen** next to an online device. The device shares its screen only while you have it open, and stops shortly after you close it. Screen viewing works on macOS devices connected with the desktop app or the Tembo CLI. The first time, macOS may ask you to allow **Screen Recording** and **Accessibility** for Tembo: Screen Recording lets Tembo show the screen, and Accessibility lets you control it. ## Access * **Only you can use your devices.** Other members of your workspace can see your devices in **Settings > Devices**, but their sessions can't use them and they can't view their screens. * **Devices work in sessions you start in the Tembo app**, for messages you type. Sessions started by agents or integrations can't use devices, and neither can messages other members send in your sessions. * **Disable a device to pause access.** Turn off the device's toggle in **Settings > Devices** to block requests without unpairing it. Workspace admins can also disable or remove any device. ## Manage a device **Settings > Devices** lists every device in your workspace with its owner, platform, how it's connected (desktop app or CLI), and whether it's online, offline, or disabled. To remove a device, open its menu and click **Remove**. If `tembo devices start` is running on the machine, it stops and deletes the machine's local credentials. To use the device again, pair it again. On a machine paired with the CLI, show which device it's paired as: ```bash theme={null} tembo devices status ``` Remove the device from Tembo and delete its local credentials: ```bash theme={null} tembo devices unpair ``` The CLI stores credentials in `~/.config/tembo-device/device.json` (`$XDG_CONFIG_HOME/tembo-device` if `XDG_CONFIG_HOME` is set), or `%APPDATA%\tembo-device\device.json` on Windows. To store them somewhere else, set `TEMBO_DEVICE_CONFIG_DIR` or pass `--config-dir ` to every `tembo devices` command. ## CLI command reference | Command | Description | | - | - | | `tembo devices pair --api-url [--name ]` | Pair this machine using a code from **Settings > Devices > Add device**. | | `tembo devices start` | Connect to Tembo and handle requests from your sessions until stopped. | | `tembo devices status` | Show the paired device's ID, name, and API URL. | | `tembo devices unpair` | Remove this device from Tembo and delete local credentials. | | `tembo devices --help` | Show device commands and options. | ## Troubleshooting > [accordion] This pairing code is invalid, expired, or already used > > Pairing codes work once and expire after 10 minutes. Click **Add device** again to get a new code. > [accordion] This machine is not paired > > `tembo devices start` needs a paired device. Run the `tembo devices pair` command from **Settings > Devices > Add device** first. > [accordion] Connected, but requests are blocked > > The device is disabled. Turn on its toggle in **Settings > Devices**. > [accordion] A session says no device is online > > Make sure the desktop app is open or `tembo devices start` is running on the machine, and that the device is enabled in **Settings > Devices**. Devices are only available for messages you type in sessions you started in the Tembo app. > [accordion] The screen doesn't show > > Screen viewing works on macOS devices only. On macOS, check that Tembo is allowed under **Screen Recording** and **Accessibility** in **System Settings > Privacy & Security**. # Hooks Source: https://docs.tembo.io/features/hooks Run custom setup commands during a session with .tembo/config.json. Hooks run shell commands in the sandbox during session setup. Configure them in `config.json` inside the `.tembo` directory at your repository root (`.tembo/config.json`). Create the directory if it does not exist. > [!NOTE] > > If you previously used `.tembo.json`, move it to `.tembo/config.json`. The configuration format is unchanged; the old path is no longer read. ## Available hooks **`setupScript`** - Runs after Tembo clones your repository, before the agent starts working. Use it to install dependencies and prepare the workspace. > [!NOTE] > > `postClone` remains available as a legacy alias for `setupScript`. When both names are present, `setupScript` takes precedence. **`prePush`** - Accepted in `.tembo/config.json`, but not currently executed. > [!WARNING] > > Do not rely on `prePush` to gate pushes. Put checks you need enforced in `setupScript`, in your CI pipeline, or in a [rule file](/features/rule-files) that instructs the agent to run them before pushing. ## Example Save this as `.tembo/config.json`: ```json theme={null} { "hooks": { "setupScript": [ "npm ci", "cp .env.example .env.local" ] } } ``` ## When setupScript runs `setupScript` runs when a session builds its workspace from scratch: * A new session clones your repository into a fresh sandbox. * A [project environment](/features/projects) is being built, after the selected repositories are cloned. > [!WARNING] > > `setupScript` is **skipped** when a session restores a workspace that already > exists, such as resuming an earlier session or starting from a project. The > workspace is expected to already carry the results of the setup that ran when > it was built. This matters when you change `setupScript`. Sessions that restore from an existing project environment keep the dependencies baked into that environment, so your new commands do not run until the environment is rebuilt. Rebuild the project environment after changing setup commands, or your sessions will keep starting from the old environment. ## Working with tembo.nix If your repository root contains a [`tembo.nix`](/features/sandbox/custom-dependencies) file, Tembo runs `setupScript` inside that Nix dev shell, so its packages and environment are available to the hook. During a project environment build, the hook runs before Tembo pre-bakes those dependencies. Sessions restored from the project environment do not rerun the hook. ## Shell behavior Each entry in a hook array is executed as its own command. Pipes and redirects work as expected: ```json theme={null} { "hooks": { "setupScript": ["cat config.template.json | envsubst > config.json"] } } ``` > [!WARNING] > > Do not chain commands directly with `&&`, `||`, or `;`. Only the first command in the chain runs in production sandboxes, and the rest are silently skipped. List unconditional commands as separate array entries: ```json theme={null} { "hooks": { "setupScript": ["npm ci", "npm run codegen"] } } ``` To run a later command only when an earlier command succeeds, invoke a shell explicitly: ```json theme={null} { "hooks": { "setupScript": ["bash -c 'npm ci && npm run build'"] } } ``` ## Failure handling * Commands run sequentially from the repository root. * If a command exits non-zero, Tembo logs the failure and **continues with the remaining commands** in the hook. A failing hook does not stop the session. * When a project environment is built, each command and its exit code are streamed into the project build log. This is the most reliable place to confirm what ran and why it failed. ## Configuration reference | Field | Type | Default | Description | | - | - | - | - | | `hooks.setupScript` | `string[]` | `[]` | Commands to run after cloning, before the agent starts. | | `hooks.prePush` | `string[]` | `[]` | Accepted and validated, but not currently executed. | | `hooks.postClone` | `string[]` | `[]` | Legacy alias for `setupScript`. Ignored when `setupScript` is also set. | Notes on how Tembo reads the file: * `.tembo/config.json` is optional. Without it, every hook defaults to an empty list. * If `.tembo/config.json` contains invalid JSON or does not match the expected shape, Tembo logs the error, falls back to the defaults, and continues the session. A malformed file therefore behaves exactly like no hooks at all, with no failure surfaced in the session. * Each hook must be an array of strings. A bare string such as `"setupScript": "npm ci"` makes the configuration invalid. * Unrecognized fields are ignored, which means a typo like `setupScripts` is dropped without an error. ## Related * [Custom dependencies](/features/sandbox/custom-dependencies) for declaring system packages and toolchains with `tembo.nix`. * [Environment variables](/features/sandbox/environment-variables) for secrets your setup commands need. * [Projects](/features/projects) for preloading repositories and dependencies so setup does not run on every session. # Max Source: https://docs.tembo.io/features/max One subscription, all coding agents and models. ![Tembo Max](https://mintcdn.com/test-8862363a/Q-02eA06knldcK1Q/images/max-light.png?fit=max\&auto=format\&n=Q-02eA06knldcK1Q\&q=85\&s=ac6d29f8b6060050a83b6b1803f82f82) Tembo Max gives you access to all coding agents and models through a single subscription. Connect your local tools to Tembo's proxy with one API key, no separate provider accounts needed. Available during your free trial and on all paid plans. [Read more about Tembo Max](https://tembo.io/max). ## Setup 1. Get your API key from **Settings > API Keys** in the [dashboard](https://app.tembo.io) 2. Point your tool at `proxy.tembo.io` ```bash Claude Code theme={null} export ANTHROPIC_BASE_URL=https://proxy.tembo.io/anthropic export ANTHROPIC_API_KEY=your-tembo-api-key ``` ```bash Codex theme={null} export OPENAI_BASE_URL="https://proxy.tembo.io/openai" export OPENAI_API_KEY="your-tembo-api-key" ``` ```json OpenCode theme={null} { "$schema": "https://opencode.ai/config.json", "model": "openai/gpt-5-mini", "provider": { "openai": { "models": { "gpt-5.4": { "id": "gpt-5.4", "name": "GPT-5.4" }, "gpt-5.4-mini": { "id": "gpt-5-mini", "name": "GPT-5.4 Mini" }, "gpt-5.4-nano": { "id": "gpt-5-nano", "name": "GPT-5.4 Nano" } }, "options": { "baseURL": "https://proxy.tembo.io/openai", "apiKey": "", "headers": { "x-reasoning-level": "high" } } } } } ``` > [!NOTE] > > Codex may store credentials in `~/.codex/auth.json` that override environment variables. Codex and OpenCode both support `gpt-5.4`, `gpt-5.4-mini`, and `gpt-5.4-nano`. In OpenCode, the `gpt-5.4-mini` and `gpt-5.4-nano` aliases map to OpenAI's `gpt-5-mini` and `gpt-5-nano` model IDs. ## Models The current catalog, model IDs, and which models require your own key are on the [Models](/features/models) page. Use your Tembo API key at the proxy URLs above. A model marked **BYOK Required** on the Models page still needs that provider key in **Settings > Models**. Managed models do not. ## Pricing See [tembo.io/pricing](https://tembo.io/pricing) for plans and usage allowances. ## Privacy | Provider | Data Retention | | - | - | | Anthropic | Zero retention | | Google | Zero retention | | OpenAI | 30-day retention | # Mentioning Tembo Source: https://docs.tembo.io/features/mentioning-tembo Iterate on Tembo's work just like you would with any teammate. Mention `@tembo` in a PR comment to request changes. Tembo updates the code and pushes new commits. Keep iterating until it's right. * **Inline review comments**: Comment on specific lines. Tembo knows exactly which code you mean. * **Regular comments**: Comment anywhere on the PR. * **Slack threads**: If the session started from Slack, keep mentioning `@tembo` in the same thread. On Bitbucket, use `/tembo` instead of `@tembo`. Only comments that mention `@tembo` are picked up. You can also use [macros](/features/automations#macros) to route a request to a specific task-focused automation. ## Examples ``` @tembo Add retry logic with exponential backoff and a unit test ``` ``` @tembo This function should handle the case where the user doesn't exist ``` ## Multi-repo Feedback on one PR can trigger changes across all connected repos. Tembo updates existing PRs and creates new ones where needed. # Model Settings Source: https://docs.tembo.io/features/model-settings Configure default agents, provider keys, custom MCP servers, and model availability. Use **Settings > Models** in the [dashboard](https://app.tembo.io) to control how your workspace selects and runs models. ## Default agent Set the default agent and model Tembo uses for new sessions and automations. * Pick the workspace default from a single dropdown in **Settings > Models** * You can still override agent/model per session or automation ### Personal default agent You can set your own default agent and model in **Settings > Preferences**. Your personal default takes priority over the workspace default for your own sessions. ## Provider API keys You can manage model provider credentials in one place: * Anthropic API key * OpenAI API key * xAI API key * Cursor API key * OpenRouter API key * AWS Bedrock access key, secret key, and region Keys are saved at the workspace level and used when a selected model requires that provider. ## Custom MCP servers (global JSON) `globalMcpServers` lets you define shared MCP servers available across sessions and automations. ```json theme={null} { "mcpServers": { "my-server": { "type": "stdio", "command": "npx", "args": ["-y", "@modelcontextprotocol/server-github"], "env": { "GITHUB_TOKEN": "your-github-token" } } } } ``` > [!NOTE] > > This JSON is workspace-wide. Invalid JSON is rejected when you save. ## Available models The **Available Models** list lets you enable or disable specific models for your organization. * Models are enabled by default * Org admins can toggle models on/off * Non-admin members can view status but cannot change it > [!WARNING] > > You cannot disable the model currently used by your default agent. Change the default agent model first. # Models Source: https://docs.tembo.io/features/models Supported models, providers, and BYOK options. Tembo supports multiple model providers across coding agents. You can access the full managed model catalog during your free trial and on paid plans. You can also connect your own model access with BYOK (Bring Your Own Key) or a ChatGPT, Claude, or SuperGrok subscription. ## BYOK (Bring Your Own Key) BYOK lets your workspace call models with your own provider credentials instead of Tembo-managed credentials. * Add keys in **Settings -> Models -> API Keys**. * You can connect OpenAI, Anthropic, xAI, Cursor, OpenRouter, and Neon AI Gateway credentials during your free trial and on paid plans. * AWS Bedrock and GCP Vertex AI credentials are available during your free trial and on paid plans. * Tembo still handles orchestration, session context, sandbox execution, and PR automation. BYOK inference costs \$0 through Tembo. Sessions still use billable cloud VM compute, which draws from your workspace's [usage allowance](/resources/pricing). ### Switch a model between BYOK and Tembo Managed Inference Workspace admins can change the inference provider for individual models from **Settings -> Models**. In **Available Models**, use the model's **Inference** dropdown to choose **BYOK** or **Tembo Managed Inference**, when those options are available for that model and workspace. ![Available Models table with the Inference dropdown open for switching between BYOK and Tembo Managed Inference](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/models/model-provider-toggle.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=00d7d91409141b913e502dbe8ae78bca) ### Neon AI Gateway BYOK support You can use your existing [Neon AI Gateway](https://neon.com/docs/ai-gateway/overview) credential for model access while your coding agents run in Tembo's cloud. To connect it, add your Neon AI Gateway credential in **Settings -> Models -> API Keys**. Then choose a supported model for your coding agent. ### Bedrock BYOK support Tembo supports BYOK with Amazon Bedrock. To enable it, add: * **AWS Access Key ID** * **AWS Secret Access Key** * **AWS Region** in **Settings -> Models -> API Keys -> AWS Bedrock**. ![AWS Bedrock BYOK API key fields in Tembo Settings](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/models/aws-bedrock-byok.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=ece3a4bd442cc4ca0b9661fefcfb30d2) ### GCP Vertex AI BYOK support Tembo supports BYOK with GCP Vertex AI. To enable it, add: * **Service account JSON** * **Project ID** * **Location** in **Settings -> Models -> API Keys -> GCP Vertex AI**. ## Connecting multiple accounts > [!WARNING] > > You can connect multiple accounts to your Tembo user account, but every connected account must be yours and yours alone. Tembo does not condone account sharing. Sharing subscriptions or credentials with other users is not allowed and clearly violates vendors' terms of service. ## Connect a ChatGPT subscription You can connect a ChatGPT subscription during your free trial or on a paid plan to use supported OpenAI models with Codex, OpenCode, Pi, or fx. You need a ChatGPT Plus, Pro, Business, Edu, or Enterprise plan. 1. Open **Settings > Connected accounts**. 2. Under **LLM subscriptions**, click **Connect Codex**. 3. Copy the authorization code, then click **Open authorization page**. 4. Enter the code in ChatGPT and approve the connection. Keep the Tembo dialog open while authorization completes. 5. Return to Tembo and confirm that **ChatGPT Codex** shows **Connected**. > [!NOTE] > > If prompted, enable device code authorization in [ChatGPT Settings > Security](https://chatgpt.com/settings/security), then try connecting again. ![Connected accounts settings showing a connected ChatGPT Codex subscription under LLM subscriptions](https://mintcdn.com/test-8862363a/KRTyBK_8Is_6dkL_/images/models/chatgpt-codex-connected.png?fit=max\&auto=format\&n=KRTyBK_8Is_6dkL_\&q=85\&s=8d99e70506875ecb27318008b13626cd) ### Connect a workspace ChatGPT subscription Org admins can connect a single ChatGPT Codex subscription for the whole workspace, instead of (or in addition to) each member connecting their own. 1. Open **Settings > Models**. 2. Under **Subscriptions**, click **Connect Codex**. 3. Copy the authorization code, then click **Open authorization page**. 4. Enter the code in ChatGPT and approve the connection. Keep the Tembo dialog open while authorization completes. A workspace subscription is the default for supported OpenAI models for all workspace users. If a member has their own personal Codex subscription connected, Tembo prefers that member's personal subscription over the workspace one. ## Reset Codex usage If your connected ChatGPT subscription has an available usage reset, open the **Connected** dropdown next to ChatGPT Codex in **Settings > Connected accounts** (or **Settings > Models** for a workspace subscription) and select **Use reset**. In the confirmation dialog, click **Use one reset** to reset eligible Codex usage limits. This uses one of the subscription's available resets and cannot be undone. For a workspace subscription, only org admins can redeem a reset, and it affects the shared workspace account. ## Connect a Claude subscription You can connect a Claude subscription during your free trial or on a paid plan to use supported Anthropic models with Claude Code. You need a Claude subscription that includes Claude Code access. This connection is personal: it applies to your sessions, not other workspace members' sessions. 1. Open **Settings > Connected accounts**. 2. Under **LLM subscriptions**, click **Connect Claude**. 3. Click **Open Anthropic**, sign in to your Claude account, and approve access. Keep the Tembo dialog open. 4. On Anthropic's confirmation page, click **Copy code**. 5. Return to Tembo, paste the authentication code, and click **Connect**. 6. Confirm that **Claude subscription** shows **Connected**, then start a session with Claude Code and a supported Anthropic model. ### Check usage or disconnect Once connected, the usage panel shows your remaining subscription limits and reset times when Anthropic reports them. Use the refresh button to update the panel. Usage includes activity across your Claude account, not just Tembo sessions. To disconnect, open the **Connected** menu and select **Disconnect**. If Tembo shows **Reconnect Claude**, repeat the connection steps above. Subscription-backed inference costs \$0 through Tembo. Your sessions still use billable cloud VM compute, which draws from your workspace's [usage allowance](/resources/pricing). ## Connect a SuperGrok subscription You can connect a SuperGrok subscription during your free trial or on a paid plan to use Grok models with OpenCode or Pi. 1. Open **Settings > Connected accounts**. 2. Under **LLM subscriptions**, click **Connect SuperGrok**. 3. Open the xAI authorization page and enter the code shown in the dialog. 4. Approve the connection in the xAI authorization page. Keep the Tembo dialog open while authorization completes. 5. Return to Tembo and confirm that **SuperGrok** shows **Connected**. ## Supported models The table below reflects the models currently supported by Tembo. Neon AI Gateway is a [BYOK option](#neon-ai-gateway-byok-support), not a separate model. Model availability through the gateway depends on your Neon access and workspace configuration. | Model | Model ID | Provider | BYOK Required | | - | - | - | - | | Opus 5.5 | `claude-opus-5-5` | Anthropic | No | | Opus 5 | `claude-opus-5` | Anthropic | No | | Fable 5.2 | `claude-fable-5-2` | Anthropic | No | | Fable 5.1 | `claude-fable-5-1` | Anthropic | No | | Fable 5 | `claude-fable-5` | Anthropic | No | | Sonnet 5.5 | `claude-sonnet-5-5` | Anthropic | No | | Haiku 5.5 | `claude-haiku-5-5` | Anthropic | No | | Opus 4.8 | `claude-opus-4-8` | Anthropic | No | | Opus 4.7 | `claude-opus-4-7` | Anthropic | No | | Opus 4.6 | `claude-opus-4-6` | Anthropic | No | | Opus 4.5 | `claude-opus-4-5` | Anthropic | No | | Haiku 4.5 | `claude-4-5-haiku` | Anthropic | No | | GPT-6.2 Astra | `gpt-6.2-astra` | OpenAI | Yes | | GPT-6.2 Sol | `gpt-6.2-sol` | OpenAI | Yes | | GPT-6.1 Sol | `gpt-6.1-sol` | OpenAI | Yes | | GPT-6.1 Terra | `gpt-6.1-terra` | OpenAI | Yes | | GPT-6 Astra | `gpt-6-astra` | OpenAI | Yes | | GPT-6 Sol | `gpt-6-sol` | OpenAI | Yes | | GPT-6 Luna | `gpt-6-luna` | OpenAI | Yes | | GPT-5.6 Sol | `gpt-5.6-sol` | OpenAI | Yes | | GPT-5.6 Terra | `gpt-5.6-terra` | OpenAI | Yes | | GPT-5.6 Luna | `gpt-5.6-luna` | OpenAI | Yes | | GPT-5.5 Pro | `gpt-5.5-pro` | OpenAI | Yes | | GPT-5.5 | `gpt-5.5` | OpenAI | Yes | | GPT-5.4 | `gpt-5.4` | OpenAI | Yes | | GPT-5.4 Mini | `gpt-5.4-mini` | OpenAI | No | | GPT-5.4 Nano | `gpt-5.4-nano` | OpenAI | No | | GPT-5.3 Codex | `gpt-5.3-codex` | OpenAI | No | | GPT-5.3 Codex Spark | `gpt-5.3-codex-spark` | OpenAI | Yes | | GPT-5.2 Codex | `gpt-5.2-codex` | OpenAI | No | | GPT-5.2 | `gpt-5.2` | OpenAI | Yes | | GLM 5.3 | `glm-5p3` | Z.ai | No | | GLM 5.3 Flash | `glm-5p3-flash` | Z.ai | No | | Composer 1.5 | `composer-1.5` | Cursor | Yes | | Composer 2 | `composer-2` | Cursor | Yes | | Composer 2 Fast | `composer-2-fast` | Cursor | Yes | | Composer 2.5 | `composer-2.5` | Cursor | Yes | | Gemini 4 Neon | `gemini-4-neon` | Google | No | | Gemini 3.1 Pro | `gemini-3.1-pro` | Google | No | | Gemini 3.5 Flash | `gemini-3.5-flash` | Google | No | | Grok 4.7 | `grok-4.7` | xAI | Yes | | Kimi K3 | `kimi-k3` | Fireworks | No | | MiniMax M2.7 | `minimax-m2p7` | MiniMax | No | | MiniMax M3 | `minimax-m3` | MiniMax | No | | DeepSeek V4 Pro | `deepseek-v4-pro` | DeepSeek | No | | DeepSeek V4.1 Flash | `deepseek-v4p1-flash` | DeepSeek | No | > [!NOTE] > > Model availability can vary by agent and workspace configuration. If a model is disabled in your workspace, it will not appear in agent pickers until re-enabled. # Projects Source: https://docs.tembo.io/features/projects Create reusable environments so Tembo sessions start with the right repositories, dependencies, and skills. A project is a prepared environment for Tembo sessions. Tembo clones the project's repositories, installs dependencies, adds your workspace skills, and runs your setup script once at build time. It then captures the disk and memory, including running processes. Sessions start from this snapshot instead of setting up from scratch. A project defines: * Repositories: one, several, all, or none * A setup script and environment variables used during the build * Default agent instructions for every session * Session sizes, each with its own prepared environment * An optional daily refresh > [!NOTE] > > Projects are unlimited during your free trial and on paid plans. ## Recommended usage Start every session from a project. Begin with **one project that includes every repository you regularly work on**, and set it as the [default](#use-a-project). Create a separate project only when some work needs a different setup, such as another toolchain, conflicting dependency versions, a different session size or agent instructions, or services that only some work needs. **Performance:** more repositories in a project have little effect on session start time. Setup runs at build time, hosts cache project environments ahead of time, and memory loads on demand. A larger project does have some costs: * Builds and daily refreshes take longer. They run in the background. * The first session on a host without a cached copy takes longer to start. * Processes that your setup script leaves running use memory in every session, so choose a size with enough room. Sessions without a project are usually the slowest to start, because the agent has to clone and install everything first. ## Create a project You need a role that can edit projects. Admins can, but the default Member role cannot (see [Workspace](/features/workspace)). Connect any repositories you want to include, and configure [custom dependencies](/features/sandbox/custom-dependencies) before you build. 1. Open **Settings** > **Projects** and click **New project**. 2. Choose a name, icon, and color. Names must be unique. 3. Select repositories and session sizes. Optionally add a setup script, default agent instructions, and a daily refresh time. 4. Click **Create project**. Tembo builds an environment for each size, and each size is ready to use when its build finishes. To edit or delete a project, open it from the same page. Deleting a project archives it and stops its refreshes. Running sessions are not affected. ## Use a project * **Sessions:** In the session composer, choose a project and one of its sizes. This also selects the project's repositories. You can't change the project after the session starts. Choose **No project** if you don't need a prepared environment. * **Default project:** In **Settings** > **Sandbox**, set a default project and size for new sessions. Each size can have one default project, and the project must build that size. * **Automations:** Select a project in an [automation's](/features/automations) run options. Changes to **Default agent instructions** apply to new sessions right away, without a rebuild. ## Setup script The setup script runs from `/workspace` during each build, after Tembo clones the repositories. Each repository is cloned to `/workspace/`, lowercased, with unsupported characters replaced by hyphens. If two names collide, Tembo uses `/workspace/-` instead. Anything the script installs or writes becomes part of the environment. Processes the script leaves running are preserved in every session. For example, you can start your frontend, API, and workers in the background so the app is already running when a session starts. To version the setup logic with your code, call a script from your repository: ```bash theme={null} cd /workspace/my-app bash scripts/tembo-setup.sh ``` > [!NOTE] > > The `setupScript` [hook](/features/hooks) in `.tembo/config.json` also runs during the build, not when a session starts. ## Project environment variables Project variables are available during builds, in addition to [workspace-wide environment variables](/features/sandbox/environment-variables). If both define the same key, the project value wins. To add them, open the project, click **Create Secret** under **Environment variables**, and add a single variable or paste `.env` contents. A project can have up to 100 variables. Values are encrypted and write-only. To rotate a value, delete the variable and create it again. ## Builds and refreshes Builds capture the environment at build time. **Rebuild** after you change repositories, dependencies, the setup script, or environment variables. You can also enable **Refresh every day** to pull the latest code and rerun setup on a schedule. New sessions use the latest successful build. Running sessions are not affected, and if a build fails, the previous environment stays active. From a project's build history, you can view logs, cancel a build, rebuild or delete a single environment, and pin a build so new sessions keep using it. ## API Manage projects with the [Projects API](/api/v1/projects/list-projects). # Pull Requests Source: https://docs.tembo.io/features/pull-requests Tembo opens PRs with clear descriptions, signed commits, and your PR template. When a session is complete, Tembo opens a pull request. Read it in [Review](/features/reviews), [mention Tembo](/features/mentioning-tembo) to iterate, and merge when ready. If a session spans multiple repositories, Tembo opens a pull request or merge request in each one. It can also coordinate changes across supported git providers, including GitHub, GitLab, and Bitbucket. > [!NOTE] > > Sessions started from the [Dashboard](https://app.tembo.io) are the exception: Tembo shows the diff in the session's **Changes** tab and waits for you to click **Open PR**, or ask it to open one, instead of opening it automatically. ## What's in a Tembo PR * Clear description of the problem and solution * Follows your coding standards via [rule files](/features/rule-files) * Links to the original issue, error, or session * Tests when appropriate * Signed and verified commits (GitHub) * Uses your PR template if one exists ## PR templates Tembo checks for templates in these locations: * `/.github/pull_request_template.md` * `/docs/pull_request_template.md` * `/pull_request_template.md` ## Advanced > [accordion] Signed commits > > GitHub PRs are automatically signed with a "Verified" badge. No configuration needed. > [accordion] PR not created > > Check that the repository is activated in Integrations. Verify Tembo can create branches. Check there isn't already an open PR for the same issue. > [accordion] PR description missing context > > Add a PR template to your repo. Use a [rule file](/features/rule-files) with PR formatting preferences. Write clearer session descriptions. # Review Source: https://docs.tembo.io/features/reviews Review pull requests in Tembo, with an inbox and a guided tour of what changed. **Review** in the sidebar is where you read pull requests. It is separate from an [automation that comments on pull requests](/learn/review-changes). Use Review when you want to read the change yourself. Use an automation when you want Tembo to leave inline comments automatically. The [Chrome extension](/integrations/chrome-extension) sends GitHub, GitLab, and Bitbucket pull request pages here. ## Inbox Open **Review**. The inbox groups pull requests into: * **Returned to you** * **Approved** * **Needs your review** * **Open** * **Draft** * **Recently merged** * **Recently closed** Three cards at the top filter the list to open pull requests, pull requests that need your review, and drafts. Search and filters narrow the list further. An empty **Needs your review** list shows inbox zero. ## Pull request tour Open a pull request to read it in Tembo. After the pull request changes a file, Tembo generates a tour: a **What changed** summary, then sections that walk through the diff. The tour updates when the pull request changes. From the pull request you can also open the session that produced it, when one exists. ## Automated review To have Tembo review every pull request and leave inline comments, create an automation with a pull request trigger. That workflow is documented in [Review changes](/learn/review-changes), not on this page. # Rule Files Source: https://docs.tembo.io/features/rule-files Define project context and conventions for Tembo to follow. Add a rule file to your repository root so Tembo understands your project's conventions, architecture, and coding standards. Tembo reads it before every session. ## Supported files Tembo uses the first file it finds from this list: * `tembo.md` (recommended) * `AGENTS.md` * `CLAUDE.md` * `.cursorrules` * `.windsurfrules` * `.clinerules` * `.rules` * `AGENT.md` * `.github/copilot-instructions.md` ## Example ```markdown theme={null} # Project Context React + TypeScript frontend with Node.js backend. ## Commands - `npm install` - Install dependencies - `npm run dev` - Start dev server - `npm test` - Run tests ## Code Style - TypeScript strict mode, explicit types - Functional React components with hooks - Conventional commits: `type(scope): message` ## Structure - `/src/components` - UI components - `/src/services` - API and business logic - `/tests` - Test files ``` ## What to include * **Build/dev commands** - How to build, test, and run the project * **Code style** - Naming conventions, formatting, standards * **Testing** - Frameworks, expectations, coverage targets * **Architecture** - Project structure, design patterns, where code belongs * **Pitfalls** - Known issues or gotchas to avoid # Built-in skills and tools Source: https://docs.tembo.io/features/sandbox/built-in-skills-and-tools Reference for pre-installed dependencies and versions, MCP tools, Tembo CLI commands, and skills available in your sandbox. Your sandbox gives your agent MCP tools for interacting with Tembo, a `tembo` CLI for terminal operations, and skills that explain how to use those capabilities. This page lists Tembo's built-in capabilities. Your available tools and skills can also depend on your agent, organization settings, and connected integrations. Third-party MCP servers and custom skills can add to this list. ## Pre-installed dependencies Your sandbox VM includes the following packages before your repository setup runs. Versions below are a snapshot of the **NixOS 25.05, x86_64-linux base-image definition on September 15, 2026**. Your session's versions can differ as images are rebuilt or your organization and repository install additional dependencies. The tables cover development tools, agents, desktop packages, and system utilities selected by the VM's Nix configuration, not every transitive library in the Nix store. Integration-specific MCP servers and packages fetched on demand are not included. Package names follow the Nix package metadata; a package can provide multiple commands. ### Languages and build tools | Dependency | Version | | - | - | | `nodejs` | 22.20.0 | | `bun` | 1.3.13 | | `pnpm` | 10.15.1 | | `yarn` | 1.22.22 | | `python3` | 3.12.12 | | `pipx` | 1.7.1 | | `uv` | 0.7.22 | | `ruff` | 0.11.13 | | `openjdk` | 21.0.9+10 | | `gradle` | 8.14.3 | | `maven` | 3.9.9 | | `ruby` | 3.3.9 | | `ruby3.3-rubocop-1.75.2` | 1.75.2 | | `bundler-2.6.6` | 2.6.6 | | `ruby3.3-rspec-core-3.13.3` | 3.13.3 | | `dotnet-sdk-wrapped` | 10.0.300 | | `gcc-wrapper` | 14.3.0 | | `binutils-wrapper` | 2.44 | | `pkg-config-wrapper` | 0.29.2 | | `gnumake` | 4.4.1 | | `gettext` | 0.22.5 | | Dependency | Version | | - | - | | Rust toolchain (`rustc`, Cargo, Clippy, rustfmt, rust-src) | 1.96.0 (Fenix stable snapshot, 2026-05-28) | Node.js includes npm and npx. Python is 3.12, Java is OpenJDK 21, and the .NET package is SDK 10.0.300. Go and the BEAM tools (Erlang and Elixir) are not pre-installed. ### Development and command-line tools | Dependency | Version | | - | - | | `git` | 2.50.1 | | `curl` | 8.14.1 | | `wget` | 1.25.0 | | `jq` | 1.7.1 | | `yq` | 3.4.3 | | `bat` | 0.25.0 | | `ripgrep` | 14.1.1 | | `ast-grep` | 0.37.0 | | `vim` | 9.1.1566 | | `nano` | 8.6 | | `lnav` | 0.12.4 | | `httpie` | 3.2.4 | | `strace` | 6.17 | | `lsof` | 4.99.4 | | `ShellCheck` | 0.10.0 | | `direnv` | 2.36.0 | | `gawk` | 5.3.2 | | `gnused` | 4.9 | | `gnugrep` | 3.11 | | `findutils` | 4.10.0 | | `coreutils` | 9.7 | | `diffutils` | 3.12 | | `gnutar` | 1.35 | | `gzip` | 1.14 | | `zstd` | 1.5.7 | | `unzip` | 6.0 | | `zip` | 3.0 | | `less` | 668 | | `tmux` | 3.5a | | `tree` | 2.2.1 | | `file` | 5.45 | | `which` | 2.23 | | `htop` | 3.4.1 | | `gotop` | 4.2.0 | | `procps` | 4.0.4 | | `psmisc` | 23.7 | | `rsync` | 3.4.1 | | `inotify-tools` | 4.23.9.0 | | `fzf` | 0.62.0 | | `bash-interactive` | 5.2p37 | | `zsh` | 5.9 | | `docker` | 27.5.1 | | `devcontainer` | 0.76.0 | The interactive shell also uses Starship 1.23.0 for its prompt. The `yq` package is the Python/jq-based implementation. GitHub CLI is wrapped for session authentication; its upstream version is listed below. ### Cloud, networking, and database tools | Dependency | Version | | - | - | | `awscli2` | 2.27.2 | | `google-cloud-sdk` | 519.0.0 | | `mcp-toolbox-for-databases` | 1.5.0 | | `netcat-gnu` | 0.7.1 | | `openssh` | 10.0p2 | | `openconnect` | 9.12 | | `openvpn` | 2.6.14 | | `tailscale` | 1.82.5 | | `nmap` | 7.98 | | `socat` | 1.8.0.3 | | Dependency | Version | | - | - | | GitHub CLI (`gh`) | 2.100.0 | | Infisical (`infisical`) | 0.41.1 | Cloud and private-network access still require the corresponding credentials or connected integrations. MCP Toolbox provides the `toolbox` command; it does not install database servers. ### Coding agents and browser automation | Dependency | Version | | - | - | | `amp` | 0.0.1787947269-g83b159 | | `claude-code` | 2.1.251 | | `codex` | 0.150.1 | | `cursor-agent` | 2026.08.25-3e8eec8 | | `droid` | 0.206.0 | | `fx` | 0.0.10 | | `gemini-cli` | 0.57.0 | | `grok` | 1.0.5 | | `opencode` | 1.18.25 | | `pi` | 0.84.3 | | `agent-browser` | 0.35.1 | These are the packaged agent versions, not a guarantee that every agent is enabled for your session. `claude-devcontainer` wraps the same Claude Code package; it is not a separately versioned agent. ### Browser and Computer preview | Dependency | Version | | - | - | | `chromium` | 143.0.7499.169 | | `vscode` | 1.105.0 | | `ghostty` | 1.3.1 | | `kitty` | 0.42.1 | | `ffmpeg-full` | 7.1.1 | | `selkies` | 2.0.0-dev-20260822 | | `openbox` | 3.6.1 | | `tint2` | 17.1.3 | | `plank` | 0.11.89 | | `picom` | 12.5 | | `dconf` | 0.40.0 | | `bamf` | 0.5.6 | | `ulauncher` | 5.15.7 | | `pcmanfm` | 1.3.2 | | `wmctrl` | 1.07 | | `xdotool` | 3.20211022.1 | | `xwallpaper` | 0.7.6 | | `xprop` | 1.2.7 | | `xsetroot` | 1.1.3 | | `xwininfo` | 1.1.6 | | `capitaine-cursors` | 4 | | `adwaita-icon-theme` | 48.0 | | Dependency | Version | | - | - | | DejaVu fonts | 2.37 | The `tembo-chromium` and `tembo-code` launchers use the Chromium and VS Code versions above. Desktop packages being installed does not mean every desktop application is running. > [accordion] System utilities and runtime libraries > > | Dependency | Version | > | - | - | > | `acl` | 2.3.2 | > | `attr` | 2.5.2 | > | `bcache-tools` | 1.0.8 | > | `bind` | 9.20.15 | > | `btrfs-progs` | 6.14 | > | `busybox` | 1.36.1 | > | `bzip2` | 1.0.8 | > | `coreutils-full` | 9.7 | > | `cpio` | 2.15 | > | `dbus` | 1.14.10 | > | `dhcpcd` | 10.1.0 | > | `dmidecode` | 3.6 | > | `dosfstools` | 4.2 | > | `e2fsprogs` | 1.47.2 | > | `fontconfig` | 2.16.0 | > | `fuse` | 2.9.9 | > | `gcc` | 14.3.0 | > | `glibc` | 2.40 | > | `glibc-locales` | 2.40 | > | `grub` | 2.12 | > | `icu4c` | 76.1 | > | `iproute2` | 6.14.0 | > | `iptables` | 1.8.11 | > | `iputils` | 20250605 | > | `kbd` | 2.7.1 | > | `kexec-tools` | 2.0.29 | > | `kmod` | 31 | > | `libcap` | 2.75 | > | `libressl` | 4.1.1 | > | `linux-pam` | 1.6.1 | > | `lvm2` | 2.03.31 | > | `mdadm` | 4.3 | > | `mkpasswd` | 5.6.4 | > | `ncurses` | 6.5 | > | `net-tools` | 2.10 | > | `nix` | 2.28.5 | > | `nix-bash-completions` | 0.6.8 | > | `nix-zsh-completions` | 0.5.1 | > | `openresolv` | 3.13.2 | > | `openssl` | 3.4.3 | > | `patch` | 2.7.6 | > | `polkit` | 126 | > | `shadow` | 4.17.4 | > | `systemd` | 257.10 | > | `time` | 1.9 | > | `util-linux` | 2.41.1 | > | `xfsprogs` | 6.13.0 | > | `xz` | 5.8.1 | > > | Dependency | Version | > | - | - | > | FUSE 3 (`fuse`) | 3.16.2 | > | zlib (nix-ld compatibility library) | 1.3.1 | > > Both FUSE 2 and FUSE 3 are included. The GCC runtime libraries and compiler wrapper share version 14.3.0. `getent` and `getconf` use glibc 2.40. > [accordion] Terminal compatibility data > > These packages contribute terminal descriptions (terminfo), not additional terminal application binaries. Ghostty and Kitty are also installed as applications with the versions in the Computer preview table. > > | Dependency | Version | > | - | - | > | `alacritty` | 0.15.1 | > | `contour` | 0.6.1.7494 | > | `foot` | 1.22.3 | > | `ghostty` | 1.1.3 | > | `kitty` | 0.42.1 | > | `mtm` | 1.2.1 | > | `rio` | 0.2.14 | > | `rxvt-unicode` | 9.31 | > | `st` | 0.9.2 | > | `termite` | 15 | > | `yaft` | 0.2.9 | > > The image also includes `tmux-terminfo` and `wezterm-terminfo`, which do not declare separate versions in the image configuration. ### Image-managed helpers The Tembo CLI, repository/session helpers, desktop launchers, sandbox server, authentication wrappers, and compatibility shims are shipped with the image rather than independently versioned in the package list. Use `tembo --version` to check the CLI installed in your session. Sandbar's preview/tunnel client is pinned by source revision, not a release version: `6d934d331b97ed438137499add9029c08461b14c` for this snapshot. NixOS management commands follow the NixOS release above. If you need a dependency that is not listed, ask your agent to use the `install-custom-dependencies` skill. ## MCP tools ### Tool discovery and execution Your agent uses these tools to discover and call the MCP tools connected to your session. | Tool | Description | | - | - | | `search_mcp_tools` | Search connected servers for tools by capability or name. | | `list_mcp_servers` | List configured servers, connection status, discovered tool counts, and initialization errors. | | `get_mcp_tool_details` | Get the complete input schemas and metadata for selected tools. | | `call_mcp_tool` | Call a tool on a selected server with its arguments. | | `execute_mcp_code` | Run TypeScript that calls multiple MCP tools and returns a final result without placing intermediate results in the agent's context. | ### Sessions, repositories, and artifacts | Tool | Description | | - | - | | `list_repositories` | List your organization's enabled repositories, including IDs, URLs, owners, and base or target branches. | | `create_pull_request` | Open and record a pull request after changes have been committed and pushed. | | `setVmKeepAlive` | Set how many seconds your session VM should remain alive, starting when the tool is called. | | `createArtifact` | Create a shareable HTML, Markdown, CSV, JSON, or uploaded-file artifact. | | `uploadFile` | Prepare a direct file upload of up to 5 GiB and return the upload URL, required headers, asset ID, and download URL. | | `completeFileUpload` | Mark an upload as complete after the file bytes have been sent to the upload URL. | | `respond_to_user` | Send the final result for your session. | ### Cloud devices These tools are available on the Max plan. See [Cloud devices](/features/cloud-devices). | Tool | Description | | - | - | | `startCloudDevice` | Start an iOS simulator or Android emulator for the session, or reuse the running one, and return a screenshot. | | `controlCloudDevice` | Take a screenshot, tap, swipe, drag, type, press home, open a URL, install an app from a link, or launch an app on a running device. | | `stopCloudDevice` | Stop a simulator or emulator. | | `startCloudMac` | Start a cloud Mac with Xcode for the session, or reuse the running one. | | `runCloudMacCommand` | Run a shell command on the cloud Mac, such as `xcodebuild`, and wait for its output. | | `writeCloudMacFile` | Write a text file on the cloud Mac, for small edits to a project already copied there. | | `showCloudMacApp` | Install a simulator `.app` built on the Mac on an iPhone simulator there, open it, and return a screenshot. | | `stopCloudMac` | Stop the cloud Mac and the simulators running on it. | ### Agent state These tools are available when the session is associated with an automation. | Tool | Description | | - | - | | `getAgentState` | Read a value from the current automation's state, or omit the key to read the full state object. | | `setAgentState` | Set a string value for a key in the current automation's state. | ### Slack These tools require a connected Slack workspace and the appropriate permissions for the requested action. | Tool | Description | | - | - | | `readSlackMessages` | Read a Slack thread using its channel and thread timestamp. | | `sendSlackMessage` | Send a message to a Slack channel. | | `sendSlackDirectMessage` | Send a direct message to a Slack user as the Tembo bot. | | `addTemboToChannel` | Add the Tembo bot to a Slack channel. | | `listSlackWorkspaceUsers` | List workspace users, including user IDs and display names. | | `add_slack_reaction` | Add an emoji reaction to a Slack message. | ## Tembo CLI commands These commands are available inside your sandbox. To connect your own machine to Tembo, see [Devices](/features/devices). You can inspect the installed CLI with `tembo --help`. Use `--help` on any command or subcommand for its arguments and options. Placeholders in the tables below, such as ``, represent values you supply; square brackets indicate optional arguments. ### Git and repositories | Command | Description | | - | - | | `tembo list-repositories` | List repositories attached to your sandbox session. Alias: `tembo repositories`. | | `tembo commit` | Create and push a verified commit for your session. Use this instead of `git commit`. | | `tembo merge ` | Merge another branch into your current branch and finalize merge commits through Tembo. Use this instead of `git merge`. | | `tembo merge --continue` | Finish a merge after you resolve conflicts and stage the resolutions. | | `tembo merge --abort` | Abort an in-progress merge. | | `tembo pull-request create` | Open a pull request after your source branch has been pushed. Alias: `tembo pr create`. | ### Browser, previews, and recordings | Command | Description | | - | - | | `tembo browser open ` | Open a URL in the sandbox browser. | | `tembo service --port ` | Expose a running local HTTP service through a public preview URL and create a service artifact. | | `tembo record desktop [output]` | Record the entire Computer preview desktop. | | `tembo record focused-window [output]` | Record the currently focused desktop window. | | `tembo record window --class [output]` | Focus and record a desktop window identified by its class. | ### Files, artifacts, and sessions | Command | Description | | - | - | | `tembo upload-file ` | Upload a local file of up to 5 GiB to Tembo assets. | | `tembo artifact create` | Create an artifact from inline content, a local file, or an existing uploaded asset. | | `tembo respond-to-user` | Send your session's final response, with optional Slack attachments. | | `tembo set-vm-keep-alive ` | Keep your session VM alive for a positive whole-number duration in seconds. | | `tembo mcp-gateway` | Run the session's MCP gateway. | | `tembo help [command]` | Show general help or help for a command. | | `tembo --version` | Show the installed CLI version. | ### AWS You need an enabled AWS integration to authenticate and access your organization's accounts. | Command | Description | | - | - | | `tembo aws auth` | Install or refresh short-lived AWS credential profiles. | | `tembo aws profiles` | List enabled AWS accounts for your organization. | | `tembo aws exec ` | Run a command using a selected profile, environment label, account ID, or integration ID. | ### Tailscale You need a connected Tailscale integration to join your organization's tailnet. | Command | Description | | - | - | | `tembo tailscale join` | Start Tailscale in userspace mode and join the tailnet using a one-time key; safe to call again when already joined. | | `tembo tailscale ssh [command...]` | Connect to a tailnet host over SSH with non-interactive defaults. | | `tembo tailscale status` | List tailnet hosts reachable from your sandbox. | | `tembo tailscale logout` | Leave the tailnet and remove the ephemeral node. | ## Skills Skills give your agent reusable instructions for a particular task. The tables below summarize their names and purposes without reproducing their contents. ### Built-in skills | Skill | Description | | - | - | | `agent-browser` | Automate browser interactions, inspect pages, take screenshots, and test web applications. | | `aws` | Authenticate AWS CLI and SDK commands with short-lived credentials and work across enabled organization accounts. | | `cloud-devices` | Build, run, and check apps on iOS simulators, Android emulators, and cloud Macs with Xcode. | | `generate-preview-url` | Expose local HTTP services and create shareable preview URLs. | | `install-custom-dependencies` | Install missing packages, CLI tools, or libraries using the sandbox's Nix-based environment. | | `tembo-artifact` | Create shareable reports, walkthroughs, diagrams, dashboards, structured exports, and uploaded-media artifacts. | | `tembo-cli` | Use the sandbox CLI for pull requests, service previews, uploads, and user responses. | | `tembo-file-upload` | Upload local sandbox files to Tembo assets. | | `tembo-git-instructions` | Follow your organization's commit-message and pull-request-title instructions. | ### Integration-provided skills These skills are added when you configure the corresponding integration. | Skill | Description | | - | - | | `tailscale` | Join your organization's tailnet and reach private databases, internal APIs, and other hosts. | | ` private network access` | Connect to the private network behind a configured OpenConnect VPN gateway. The skill name depends on your VPN's name. | Your organization, repositories, and selected agent can provide additional skills. Those skills are not part of Tembo's built-in set and vary between sessions. # Custom Dependencies Source: https://docs.tembo.io/features/sandbox/custom-dependencies Add tools that are not pre-installed in the sandbox, starting with a project setup script or using tembo.nix if you have beta access. ## Start with a setup script Use a project setup script as the starting point for custom dependencies. Tembo runs the script after cloning your repositories while it builds the project's prepared environments. Anything the script installs or writes to disk becomes part of those environments. Add your script in the **Setup script** field when you create or edit a project. See [Setup script](/features/projects#setup-script) for details. > [!NOTE] > > `tembo.nix` is currently in beta and will be available to everyone very soon. If you have beta access, use the sections below to declare system packages and toolchains in your repository. ## Prerequisites * You have a repository connected to Tembo. * You know which system packages or language toolchains your project needs. ## Create tembo.nix Create `tembo.nix` in your repository root with a default dev shell. Tembo uses `devShells.x86_64-linux.default` in the sandbox. ```nix theme={null} { description = "Tembo Cloud VM Dependencies"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; in { devShells.default = pkgs.mkShell { packages = with pkgs; [ go rustc cargo jdk ]; }; } ); } ``` After you commit the file, new Tembo sessions use the dev shell automatically. Agents can then run commands that depend on those packages, such as `go test`, `cargo test`, or Java build tools. ## Add packages Add packages to the `packages` list. For example, this dev shell adds PostgreSQL client tools and `pkg-config` for projects that compile native dependencies: ```nix theme={null} { description = "Tembo Cloud VM Dependencies"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; in { devShells.default = pkgs.mkShell { packages = with pkgs; [ postgresql pkg-config openssl ]; }; } ); } ``` ## Configure the shell Use `shellHook` when the sandbox needs environment variables for local commands: ```nix theme={null} { description = "Tembo Cloud VM Dependencies"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; in { devShells.default = pkgs.mkShell { packages = with pkgs; [ nodejs_22 pnpm ]; shellHook = '' export NODE_ENV=development ''; }; } ); } ``` Keep secrets out of `tembo.nix`. Add secrets through your sandbox [environment variables](/features/sandbox/environment-variables) instead. ## How Tembo loads tembo.nix When Tembo needs your dev shell, it temporarily replaces `flake.nix` in the repository with the contents of `tembo.nix`, evaluates the default dev shell, and then restores the original `flake.nix`. This has a few consequences worth knowing: * `tembo.nix` must be a complete, self-contained flake. Tembo does not merge it with a `flake.nix` that your repository already has. * A `flake.nix` in your repository is left untouched, and Tembo does not use it to build the dev shell. Put everything the sandbox needs in `tembo.nix`. * Tembo never writes a `flake.lock` for `tembo.nix`. Pin `nixpkgs` to a specific revision in `inputs` if you need dependency versions to stay stable over time. * Tembo only reads `tembo.nix` from the root of each cloned repository. Files in subdirectories are ignored. * Unfree packages are allowed, so you can add them without extra configuration. ## Dependencies in projects When a [project](/features/projects) builds with repository dependency installation enabled, Tembo evaluates `tembo.nix` once during the build and caches the resulting toolchain in the prepared environment. Sessions started from that project reuse the cached toolchain instead of evaluating the flake again, which is part of why they start faster. Because the toolchain is captured at build time, edits to `tembo.nix` do not reach project sessions until the environment is rebuilt. Rebuild the project, or—if **Refresh every day** is enabled—wait for its next scheduled refresh. ## Troubleshooting **Dependencies are missing even though the project build succeeded.** If `tembo.nix` fails to evaluate during a project build, Tembo records the failure and finishes the build without the dependencies rather than failing the whole build. Open the project's build log and look for the `nix develop` step. A syntax error, an input that cannot be fetched, or a package name that does not exist in the pinned `nixpkgs` are the usual causes. **Changes to `tembo.nix` have no effect.** Confirm the file is committed and pushed, then rebuild the project environment so the new toolchain is captured. ## Tips * Keep `tembo.nix` focused on system packages and toolchains that your project needs. * Commit the file so Tembo can load it in every new session. * Use [projects](/features/projects) if installing dependencies still takes meaningful time at the start of each session. # Environment Variables Source: https://docs.tembo.io/features/sandbox/environment-variables Store secrets and configuration that Tembo injects into every sandbox session. Environment variables let you store secrets and configuration once and have Tembo inject them into every session's [sandbox](/features/sandbox/overview). They're the recommended way to pass API keys, tokens, and other configuration to agent commands, [hooks](/features/hooks), MCP servers, and connected integrations, without committing secrets to your repository. > [!NOTE] > > Environment variables added in **Settings** > **Sandbox** are workspace-wide. Every session your workspace runs, including automation runs and interactive terminal sessions, receives them in its sandbox environment. You can also add [personal environment variables](#personal-environment-variables) that are only injected into sessions you start, and [project-level environment variables](/features/projects#project-environment-variables) that are only injected while that project's environments are built. ## Prerequisites * You have access to your Tembo workspace settings. * You know the keys and values your project needs at runtime. ## Add a variable 1. Open **Settings**. 2. Go to **Sandbox**. 3. Under **Environment Variables**, click **Create Secret**. 4. Add variables one of two ways: * **Single Variable**: enter a **Key** (for example `CLIENT_KEY`) and its **Value**. * **Bulk Import**: paste `.env`-style contents, one `KEY=value` per line. 5. Click **Create Secret**. For bulk import, each line must use the `KEY=value` format. Blank lines and lines without a value are skipped: ```bash theme={null} DEPLOY_TOKEN=abc123 DATABASE_URL=postgres://user:pass@host:5432/db SENTRY_DSN=https://examplePublicKey@o0.ingest.sentry.io/0 ``` ## Personal environment variables Add personal environment variables for credentials that belong to you alone, such as your own GitHub, npm, or Linear tokens. They're only injected into sessions you start, and other workspace members can't see or use them. 1. Open **Settings**. 2. Go to **Preferences**. 3. Under **Personal environment variables**, click **Create Secret**. 4. Add a **Single Variable** or use **Bulk Import**, then click **Create Secret**. If a personal variable uses the same key as a workspace-wide variable, your personal value takes precedence in your sessions. Tembo's reserved variables still take precedence over both. Each user can have at most 100 personal environment variables per workspace. To remove one, open its row menu under **Personal environment variables** and select **Delete**. ## How variables are used Once saved, a variable is available in the sandbox for the whole session. You can use it from: * **Agent commands**: the agent can read the variable when it runs builds, tests, or scripts. * **[Hooks](/features/hooks)**: `setupScript` and `prePush` commands run with the variables set. * **[Project](/features/projects) setup scripts**: variables are available while a project's environments are built and are baked into anything the setup script writes to disk. * **[MCP servers](/integrations/mcp) and integrations**: reference a variable so a server or integration can authenticate. For example, reference a variable in a `globalMcpServers` definition instead of hardcoding the value: ```json theme={null} { "mcpServers": { "github": { "type": "stdio", "command": "npx", "args": ["-y", "@modelcontextprotocol/server-github"], "env": { "GITHUB_TOKEN": "$GITHUB_TOKEN" } } } } ``` ## Security * **Encrypted at rest.** Values are encrypted before they're stored. * **Write-only in the dashboard.** After you save a variable, the value is hidden. The list shows only the key and when it was created, and there is no way to reveal a stored value. * **Scoped to your workspace.** Variables are only injected into sessions that belong to the workspace where you created them. ## Constraints * Keys are unique within a workspace. * To rotate or change a value, delete the variable and create it again. Values can't be edited in place because they're hidden after saving. * Tembo injects its own reserved variables into every session, including `TEMBO_`-prefixed variables and, for [triggered automations](/features/automations#triggers), `TRIGGER_PAYLOAD`. Avoid using these names for your own variables, as Tembo's values take precedence. * Keep secrets out of [`tembo.nix`](/features/sandbox/custom-dependencies) and out of your repository. Store them here instead. ## Remove a variable 1. Open **Settings** > **Sandbox**. 2. Find the variable in the **Environment Variables** table. 3. Open the row menu and select **Delete**. Deletion is immediate and can't be undone. New sessions will no longer receive the variable. # Overview Source: https://docs.tembo.io/features/sandbox/overview Secure, isolated environments where coding agents execute sessions. Every session runs in its own isolated sandbox. Sandboxes are ephemeral: spun up for the session, destroyed when it's done. No code or state persists after execution. ## Data handling Your repository is cloned into the sandbox for the duration of a session and torn down when the session ends — no repository contents or working state persist afterward. The one exception is [projects](/features/projects). When you use a project to speed up environment setup, its repositories and pre-installed dependencies are cached in reusable environments so future sessions start faster. Those cached copies persist until the project is rebuilt or removed. Model providers handle prompt data according to their own retention policies — see the retention table in [Max](/features/max) for Tembo-hosted models. With [BYOK](/features/models), model requests run against your own provider account, so provider-side retention follows that account's terms. ## Sandbox sizes Each session runs in a dedicated Linux VM, and no two sessions share the same VM. Sandboxes size themselves automatically. Each sandbox starts with your project's minimum CPU and memory and grows as the work needs more, up to your project's maximum. By default, sandboxes start at 2 vCPU and 4 GiB and can grow to 16 vCPU and 32 GiB, with a 50 GB disk. You can change these limits in a project's resource settings and set its disk from 50 to 200 GB. Larger limits are available on request. Contact [support@tembo.io](mailto:support@tembo.io). Named sizes describe common configurations, for example in [automation configuration](/features/automations) and self-hosted host sizing: | Size | vCPU | Memory | Disk | | - | - | - | - | | Nano | 2 | 2 GiB | 50 GB | | Micro | 2 | 4 GiB | 50 GB | | Medium | 4 | 8 GiB | 50 GB | | Large | 8 | 16 GiB | 100 GB | | XL | 16 | 32 GiB | 200 GB | | XXL | 16 | 64 GiB | 200 GB | | Ultra | 32 | 128 GiB | 200 GB | You pay for the vCPU, memory, and disk allocated while a sandbox runs. Rates and per-size prices are on the [pricing](/resources/pricing#cloud-vm-compute-rates) page. VM sandboxes include full nested virtualization for Docker-in-Docker and provide a stronger isolation boundary. If your org requires that untrusted code only runs with a VM boundary, we can enforce a VM-only posture. Contact [support@tembo.io](mailto:support@tembo.io). ## Pre-installed tools All sandboxes come with: | Category | Tools | | - | - | | **JavaScript** | Node.js 22, Bun, pnpm, Yarn | | **Python** | Python 3.12, pipx, uv, ruff | | **Ruby** | Ruby 3.3, Bundler, RuboCop | | **.NET** | .NET SDK 10 | | **Rust** | rustc, Cargo, Clippy, rustfmt | | **Java** | JDK 21, Gradle, Maven | | **Cloud** | Google Cloud SDK | | **Containers** | Docker 28, Docker Compose 2.31 | | **Other** | Git, curl, ShellCheck, httpie | > [!NOTE] > > Go and Elixir are available through Nix dev shells. Add a `tembo.nix` to install language-specific tooling for your project. ## Add custom dependencies Add a [`tembo.nix`](/features/sandbox/custom-dependencies) file to your repository when your project needs tools that are not pre-installed in the sandbox. # AWS Source: https://docs.tembo.io/features/self-hosted/deploy/aws Deploy Tembo self-hosted on Amazon Web Services. ## Overview The Tembo self-hosted stack runs as a single NixOS machine. All services sit behind nginx on port 80: | Service | Path | Port (internal) | | - | - | - | | Web UI | `/` | 3000 | | API | `/api/*` | 3001 | | Admin UI | `/admin/` | 3002 | | Installer / setup wizard | `/installer/` | 3999 | | PostgreSQL 16 | — | 5432 | | PGAdmin Console | — | 5050 | | Redis | — | 6379 | | Prometheus | — | 9090 | Tembo distributes a pre-built NixOS AMI (Amazon Machine Image) to your AWS account. You launch an EC2 instance from that AMI, open the required ports, and configure a single JSON file. No OS setup or image building is required on your end. *** ## Step 1: Request Access To get started with Tembo self-hosted, you will need a license key and access to the Tembo AMI. Book a demo with the Tembo team to get set up: [Book a Demo](https://book.avoma.com/tembo/tembo-demo/) Once you have a license key, contact Tembo to have the AMI shared with your AWS account. You will need to provide: * Your **license key** * Your **AWS Account ID** (12-digit number, found in the AWS Console under your account menu or via `aws sts get-caller-identity --query Account --output text`) * Your preferred **AWS region** (e.g. `us-east-1`) Tembo will share the AMI with your account. You will receive an AMI ID (e.g. `ami-0abc1234def56789`) once sharing is confirmed. > [!NOTE] > > The AMI contains no embedded secrets. Initial configuration is written to `/var/lib/tembo/config.json` at first boot by the `tembo-config-seed` service. *** ## Step 2: Launch an EC2 Instance ### Instance requirements | Resource | Minimum | Recommended | | - | - | - | | vCPUs | 4 | 8 | | RAM | 16 GB | 32 GB | | Disk | 128 GB | 256 GB | > [!NOTE] > > We recommend **`c5.metal`** or another bare-metal instance for the best experience. Bare-metal instances expose `/dev/kvm` natively so sandbox VMs run with full hardware acceleration. > > 8th-gen Intel Nitro instances (e.g. `m8i.*`) also work but require **nested virtualization** to be enabled at launch (see step 7 below). All other instance types fall back to software emulation, which is significantly slower. ### Via the AWS Console 1. Go to **EC2 > Instances > Launch instances** 2. Under **Application and OS Images**, choose **My AMIs** and select the AMI shared by Tembo 3. Choose an instance type (`c5.metal` recommended, or `m8i.4xlarge` or equivalent) 4. Under **Key pair**, select an existing key pair or create a new one — you will need this to SSH in 5. Under **Network settings**, create or select a security group (you will configure inbound rules in the next step) 6. Under **Configure storage**, set the root volume to at least **256 GiB** 7. If using a **non-bare-metal** instance (e.g. `m8i.*`): expand **Advanced details** and set **Nested virtualization** to **Enable**. Skip this step for bare-metal instances (`c5.metal`, `r7i.metal-*`) — nested virtualization is not available on bare metal and is not needed 8. Launch the instance ### Via the AWS CLI ```bash theme={null} aws ec2 run-instances \ --image-id \ --instance-type c5.metal \ --key-name \ --block-device-mappings '[{"DeviceName":"/dev/xvda","Ebs":{"VolumeSize":128,"VolumeType":"gp3"}}]' \ --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=tembo-self-hosted}]' \ --cpu-options "CoreCount=,ThreadsPerCore=1" \ --metadata-options "HttpEndpoint=enabled,HttpTokens=required" ``` Replace `CoreCount` with the number of physical cores for your instance type. For `c5.metal` this is `48`. > [!NOTE] > > Nested virtualization is only required for non-bare-metal instances (e.g. `m8i.*`). Bare-metal instances (`c5.metal`, `r7i.metal-*`) expose KVM natively — do not enable nested virtualization on them. *** ## Step 3: Configure the Security Group By default, EC2 instances block all inbound traffic. Add inbound rules to allow access to Tembo: | Type | Protocol | Port | Source | Purpose | | - | - | - | - | - | | Custom TCP | TCP | 80 | (Your IP range) | Tembo web UI and API | | Custom TCP | TCP | 3999 | Your IP | Installer / setup wizard | | Custom TCP | TCP | 8888 | Your IP | VS Code server (config editing) | | SSH | TCP | 22 | Your IP | SSH access | ### Via the AWS Console 1. Go to **EC2 > Security Groups** 2. Select the security group attached to your instance 3. Click **Inbound rules > Edit inbound rules** 4. Add the rules above, then save ### Via the AWS CLI ```bash theme={null} # Allow HTTP on port 80 aws ec2 authorize-security-group-ingress \ --group-id \ --protocol tcp \ --port 80 \ --cidr 0.0.0.0/0 # Allow installer, VS Code server, and SSH — restrict to your IP aws ec2 authorize-security-group-ingress \ --group-id \ --protocol tcp \ --port 3999 \ --cidr /32 aws ec2 authorize-security-group-ingress \ --group-id \ --protocol tcp \ --port 8888 \ --cidr /32 aws ec2 authorize-security-group-ingress \ --group-id \ --protocol tcp \ --port 22 \ --cidr /32 ``` > [!WARNING] > > Tembo services route through nginx on port 80. Do **not** open ports 3000, 3001, or 3002 publicly — those are internal-only ports. Accessing the app directly on port 3000 bypasses nginx and will break authentication. *** ## Step 4: Run the Installer and Configure the Instance ### 4a: Run the install workflow Once the instance is running, open the installer in your browser: ``` http://:3999 ``` Follow the on-screen steps to complete the install workflow. This provisions the Tembo services and prepares the instance for use. This install can take up to an hour to fully complete. Subsequent updates will be faster. ### 4b: Configure `/var/lib/tembo/config.json` After the installer finishes, open the VS Code server to edit the configuration file: ``` http://:8888 ``` The VS Code server opens directly to `/var/lib/tembo/config.json`. You can also see it in the VS Code file explorer on the right as `config.json` A few values must be set correctly for the install to work. Ensure these keys are present and correct: ```json theme={null} { "betterAuth.secret": "", "api.base": "http:///api/", "frontend.url": "http://" } ``` | Key | Notes | | - | - | | `betterAuth.secret` | Auto-generated on first boot if missing. Leave it if it is already set. | | `api.base` | Must match the URL of the API. **Must end with a trailing `/`**. | | `frontend.url` | Defaults to `http://localhost:3000`, which breaks auth on a remote VM. Set this to the actual IP or hostname. | After saving, restart the API. There is a background service that should restart the API for you on finishing edits, but you can also do this from a terminal in the VS Code server, or via SSH: ```bash theme={null} sudo systemctl restart tembo-ts-api ``` The config seed runs before `tembo-ts-api`, `tembo-ts-cron`, and agent workers on every boot. Manual edits are preserved — the seed only writes values that are missing or empty. > [!TIP] > > If you have a domain name, set both `api.base` and `frontend.url` to the domain (e.g. `https://tembo.example.com/api/` and `https://tembo.example.com`) rather than the raw IP. This makes it easier to rotate instances or add a load balancer later. > [!NOTE] > > File uploads and VM snapshots need a storage bucket. After the install works, set one up with [AWS S3 Storage](/features/self-hosted/integrations/aws-storage). *** ## Step 5: Verify the Install Open a browser and navigate to: ``` http:// ``` You should see the Tembo sign-up or sign-in screen. Check service status on the instance: ```bash theme={null} systemctl status tembo-ts-api systemctl status tembo-ts-agent-X systemctl status tembo-web systemctl status nginx ``` For the `tembo-ts-agent-X`, depending on how many agents you chose to provision in the install step, X will be that number. (Eg. 3 agents make tembo-ts-agent-1, tembo-ts-agent-2, tembo-ts-agent3) *** ## Troubleshooting ### Auth 404 on sign-up **Symptom:** `POST http://:3000/api/auth/sign-up/email` returns 404. **Cause:** You are hitting the Next.js frontend directly on port 3000, bypassing nginx. The `/api/auth/*` handler does not exist at that port. **Fix:** Access the app through nginx on port 80: ``` http:// # correct http://:3000 # wrong — internal port only ``` If port 80 is blocked, check your EC2 security group inbound rules. ### 401 after sign-up **Symptom:** Sign-up succeeds but all subsequent API requests return 401. **Cause:** Billing is enabled by default. Without Stripe configured, organization creation fails silently, leaving the user with no active org. **Fix:** Confirm `BILLING_ENABLED = "false"` is set in the API environment in your NixOS configuration. Contact Tembo support if this was not set in the distributed image. ### Sign-in loops / cookie issues **Symptom:** Sign-in redirects back to the login page, or cookies are not set. **Cause:** `api.base` or `frontend.url` in `config.json` does not match the URL you are accessing the app from. Better Auth uses these for trusted origins and cookie domain validation. **Fix:** Edit `/var/lib/tembo/config.json` and set both keys to the exact origin you are using in the browser. Restart the API: ```bash theme={null} sudo nano /var/lib/tembo/config.json sudo systemctl restart tembo-ts-api ``` ### Services not starting ```bash theme={null} # Check all Tembo services at once systemctl list-units 'tembo-*' # View logs for a specific service journalctl -u tembo-ts-api -n 100 journalctl -u tembo-web -n 100 ``` The `tembo-config-seed` service must complete before the API and agents start. If the API fails immediately at boot, check: ```bash theme={null} journalctl -u tembo-config-seed cat /var/lib/tembo/config.json ``` ### Instance not reachable after launch * Confirm the instance is in a **Running** state in the EC2 console * Verify the security group has an inbound rule for port 80 (and port 22 for SSH) * If using an Elastic IP, ensure it is associated with the instance *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # Azure Source: https://docs.tembo.io/features/self-hosted/deploy/azure Deploy Tembo self-hosted on Microsoft Azure. ## Overview The Tembo self-hosted stack runs as a single NixOS machine. All services sit behind nginx on port 80: | Service | Path | Port (internal) | | - | - | - | | Web UI | `/` | 3000 | | API | `/api/*` | 3001 | | Admin UI | `/admin/` | 3002 | | Installer / setup wizard | `/installer/` | 3999 | | PostgreSQL 16 | — | 5432 | | PGAdmin Console | — | 5050 | | Redis | — | 6379 | | Prometheus | — | 9090 | Tembo distributes a pre-built NixOS image via an Azure Compute Gallery shared to your subscription. You create a VM from that image, open the required ports, and configure a single JSON file. No OS setup or image building is required on your end. *** ## Step 1: Request Access To get started with Tembo self-hosted, you will need a license key and access to the Tembo Azure Compute Gallery image. Book a demo with the Tembo team to get set up: [Book a Demo](https://book.avoma.com/tembo/tembo-demo/) Once you have a license key, contact Tembo to have the image shared with your Azure subscription. You will need to provide: * Your **license key** * Your **Azure Subscription ID** * Your preferred **Azure region** (e.g. `eastus`) Tembo will share the Compute Gallery image with your subscription. You will receive the gallery details (subscription ID, resource group, and gallery name) once sharing is confirmed. > [!NOTE] > > The image contains no embedded secrets. Initial configuration is written to `/var/lib/tembo/config.json` at first boot by the `tembo-config-seed` service. *** ## Step 2: Create a Resource Group ```bash theme={null} az group create \ --name tembo-self-hosted-rg \ --location eastus ``` *** ## Step 3: Create the VM from the Gallery Image ### VM requirements | Resource | Minimum | Recommended | | - | - | - | | vCPUs | 4 | 8 | | RAM | 16 GB | 32 GB | | Disk | 128 GB | 256 GB | > [!NOTE] > > For the best sandbox performance, use a VM size that supports **nested virtualization** (e.g. `Standard_D8s_v3`, `Standard_D16s_v3`, or any v3/v4/v5 D-series or E-series). This allows sandbox VMs to run with hardware acceleration via KVM. ### Via the Azure CLI ```bash theme={null} az vm create \ --resource-group tembo-self-hosted-rg \ --name tembo-self-hosted \ --image "/subscriptions//resourceGroups//providers/Microsoft.Compute/galleries//images/tembo-self-hosted/versions/latest" \ --size Standard_D8s_v3 \ --os-disk-size-gb 128 \ --admin-username eng \ --generate-ssh-keys \ --public-ip-sku Standard ``` Replace the placeholders with values provided by Tembo: | Placeholder | Description | | - | - | | `` | Tembo's Azure subscription ID | | `` | Resource group where the gallery lives | | `` | Name of the Azure Compute Gallery | Note the `IpAddress` in the output — you will need it in later steps. ### Via the Azure Portal 1. Go to **Virtual machines > Create** 2. Select your resource group and region 3. Under **Image**, click **See all images**, then **Shared images** and select the Tembo image 4. Choose a VM size (`Standard_D8s_v3` or larger recommended) 5. Under **Disks**, set the OS disk size to at least **256 GiB** 6. Under **Networking**, select or create a virtual network 7. Create the VM *** ## Step 4: Configure the Network Security Group By default, Azure VMs block all inbound traffic except SSH. Add inbound rules to allow access to Tembo: | Priority | Port | Protocol | Source | Action | Purpose | | - | - | - | - | - | - | | 100 | 80 | TCP | (your preferred IP range) | Allow | Tembo web UI and API | | 110 | 3999 | TCP | Your IP | Allow | Installer / setup wizard | | 120 | 8888 | TCP | Your IP | Allow | VS Code server (config editing) | | 130 | 22 | TCP | Your IP | Allow | SSH access | Ports 3999 and 8888 are only needed during initial setup. You can remove those rules after configuration is complete. ### Via the Azure CLI ```bash theme={null} # Allow HTTP on port 80 az network nsg rule create \ --resource-group tembo-self-hosted-rg \ --nsg-name tembo-self-hostedNSG \ --name AllowHTTP \ --priority 100 \ --protocol Tcp \ --destination-port-ranges 80 \ --access Allow # Allow installer — restrict to your IP az network nsg rule create \ --resource-group tembo-self-hosted-rg \ --nsg-name tembo-self-hostedNSG \ --name AllowInstaller \ --priority 110 \ --protocol Tcp \ --destination-port-ranges 3999 \ --source-address-prefixes /32 \ --access Allow # Allow VS Code server — restrict to your IP az network nsg rule create \ --resource-group tembo-self-hosted-rg \ --nsg-name tembo-self-hostedNSG \ --name AllowVSCode \ --priority 120 \ --protocol Tcp \ --destination-port-ranges 8888 \ --source-address-prefixes /32 \ --access Allow # Allow SSH — restrict to your IP az network nsg rule create \ --resource-group tembo-self-hosted-rg \ --nsg-name tembo-self-hostedNSG \ --name AllowSSH \ --priority 130 \ --protocol Tcp \ --destination-port-ranges 22 \ --source-address-prefixes /32 \ --access Allow ``` Or in the portal: **VM > Networking > Add inbound port rule**. > [!WARNING] > > Tembo services route through nginx on port 80. Do **not** open ports 3000, 3001, or 3002 publicly — those are internal-only ports. Accessing the app directly on port 3000 bypasses nginx and will break authentication. *** ## Step 5: Run the Installer and Configure the Instance ### 5a: Run the install workflow Once the VM is running, open the installer in your browser: ``` http://:3999 ``` Follow the on-screen steps to complete the install workflow. This provisions the Tembo services and prepares the instance for use. This install can take up to an hour to fully complete. Subsequent updates will be faster. ### 5b: Configure `/var/lib/tembo/config.json` After the installer finishes, open the VS Code server to edit the configuration file: ``` http://:8888 ``` The VS Code server opens directly to `/var/lib/tembo/config.json`. You can also see it in the VS Code file explorer on the right as `config.json`. A few values must be set correctly for the install to work. Ensure these keys are present and correct: ```json theme={null} { "betterAuth.secret": "", "api.base": "http:///api/", "frontend.url": "http://" } ``` | Key | Notes | | - | - | | `betterAuth.secret` | Auto-generated on first boot if missing. Leave it if it is already set. | | `api.base` | Must match the public URL of the API. **Must end with a trailing `/`**. | | `frontend.url` | Defaults to `http://localhost:3000`, which breaks auth on a remote VM. Set this to the actual IP or hostname. | After saving, restart the API. There is a background service that should restart the API for you on finishing edits, but you can also do this from a terminal in the VS Code server, or via SSH: ```bash theme={null} sudo systemctl restart tembo-ts-api ``` The config seed runs before `tembo-ts-api`, `tembo-ts-cron`, and agent workers on every boot. Manual edits are preserved — the seed only writes values that are missing or empty. > [!TIP] > > If you have a domain name, set both `api.base` and `frontend.url` to the domain (e.g. `https://tembo.example.com/api/` and `https://tembo.example.com`) rather than the raw IP. This makes it easier to rotate VMs or add a load balancer later. > [!NOTE] > > File uploads and VM snapshots need a storage bucket. After the install works, set one up with [Azure Storage](/features/self-hosted/integrations/azure-storage). *** ## Step 6: Verify the Install Open a browser and navigate to: ``` http:// ``` You should see the Tembo sign-up or sign-in screen. Check service status on the VM: ```bash theme={null} systemctl status tembo-ts-api systemctl status tembo-ts-agent-X systemctl status tembo-web systemctl status nginx ``` For the `tembo-ts-agent-X`, depending on how many agents you chose to provision in the install step, X will be that number. (Eg. 3 agents make tembo-ts-agent-1, tembo-ts-agent-2, tembo-ts-agent-3) *** ## Troubleshooting ### Auth 404 on sign-up **Symptom:** `POST http://:3000/api/auth/sign-up/email` returns 404. **Cause:** You are hitting the Next.js frontend directly on port 3000, bypassing nginx. The `/api/auth/*` handler does not exist at that port. **Fix:** Access the app through nginx on port 80: ``` http:// # correct http://:3000 # wrong — internal port only ``` If port 80 is blocked, check the Azure NSG inbound rules. ### 401 after sign-up **Symptom:** Sign-up succeeds but all subsequent API requests return 401. **Cause:** Billing is enabled by default. Without Stripe configured, organization creation fails silently, leaving the user with no active org. **Fix:** Confirm `billing.enabled: false` is set in the API environment in your config.json. Contact Tembo support if this was not set in the distributed image. ### Sign-in loops / cookie issues **Symptom:** Sign-in redirects back to the login page, or cookies are not set. **Cause:** `api.base` or `frontend.url` in `config.json` does not match the URL you are accessing the app from. Better Auth uses these for trusted origins and cookie domain validation. **Fix:** Edit `/var/lib/tembo/config.json` and set both keys to the exact origin you are using in the browser. Restart the API: ```bash theme={null} sudo nano /var/lib/tembo/config.json sudo systemctl restart tembo-ts-api ``` ### Services not starting ```bash theme={null} # Check all Tembo services at once systemctl list-units 'tembo-*' # View logs for a specific service journalctl -u tembo-ts-api -n 100 journalctl -u tembo-web -n 100 ``` The `tembo-config-seed` service must complete before the API and agents start. If the API fails immediately at boot, check: ```bash theme={null} journalctl -u tembo-config-seed cat /var/lib/tembo/config.json ``` ### VM not reachable after launch * Confirm the VM is in a **Running** state in the Azure portal * Verify the NSG has an inbound rule for port 80 (and port 22 for SSH) * If using a virtual network, confirm the subnet has a route to the internet *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # GCP Source: https://docs.tembo.io/features/self-hosted/deploy/gcp Deploy Tembo self-hosted on Google Cloud Platform. ## Overview The Tembo self-hosted stack runs as a single NixOS virtual machine. All services sit behind nginx on port 80: | Service | Path | Port (internal) | | - | - | - | | Web UI | `/` | 3000 | | API | `/api/*` | 3001 | | Admin UI | `/admin/` | 3002 | | Installer / setup wizard | `/installer/` | 3999 | | PostgreSQL 16 | — | 5432 | | PGAdmin Console | — | 5050 | | Redis | — | 6379 | | Prometheus | — | 9090 | Tembo distributes a pre-built NixOS custom image to your Google Cloud project. You create a Compute Engine VM from that image, configure VPC firewall rules, and configure a single JSON file. No OS setup or image building is required on your end. ## Prerequisites Before you begin, you need: * A GCP project with billing and the Compute Engine API enabled * Permission to manage project IAM, instances, and VPC firewall rules * The `gcloud` CLI authenticated to your project, or equivalent access in Cloud Shell * The trusted public IP ranges that need browser or SSH access *** ## Step 1: Request Access To get started with Tembo self-hosted, you need a license key and access to the Tembo custom image. Book a demo with the Tembo team to get set up: [Book a Demo](https://book.avoma.com/tembo/tembo-demo/) Once you have a license key, contact Tembo to have the image shared with your Google Cloud project. You will need to provide: * Your **license key** * Your **Google Cloud project ID** * Your preferred **region** (for example, `us-central1`) Tembo will grant your project access to the custom image. You will receive the image name and the Tembo image project ID once sharing is confirmed. > [!NOTE] > > The image contains no embedded secrets. Initial configuration is written to `/var/lib/tembo/config.json` at first boot by the `tembo-config-seed` service. *** ## Step 2: Configure OS Login The Tembo image uses [OS Login](https://cloud.google.com/compute/docs/oslogin). Enable it before connecting to the VM and grant operators OS administrator access. This role permits SSH access and `sudo`. Prefer granting access to a group: ```bash theme={null} gcloud projects add-iam-policy-binding \ --member='group:' \ --role='roles/compute.osAdminLogin' ``` Enable OS Login for every VM in the project: ```bash theme={null} gcloud compute project-info add-metadata \ --project= \ --metadata=enable-oslogin=TRUE ``` If you cannot enable OS Login project-wide, add `enable-oslogin=TRUE` to each VM's metadata, as shown in the launch command below. > [!NOTE] > > IAM changes can take several minutes to propagate. If your first SSH or `sudo` attempt fails immediately after granting the role, wait briefly and retry. *** ## Step 3: Create a Compute Engine VM ### VM requirements | Resource | Minimum | Recommended | | - | - | - | | vCPUs | 4 | 8 | | RAM | 16 GB | 32 GB | | Disk | 128 GB | 256 GB | > [!NOTE] > > For the best sandbox performance, use an Intel machine type that supports nested virtualization, such as **`n2-standard-8`** or **`c3-standard-22`**. Avoid E2, AMD (N2D/C2D/T2D), and Arm machine types. The Tembo image includes the `enable-vmx` license, so `/dev/kvm` is available automatically on compatible machine types. ### Via the Google Cloud CLI Set the project and zone you will use: ```bash theme={null} gcloud config set project gcloud config set compute/zone us-central1-a ``` Create the VM from the image shared by Tembo: ```bash theme={null} gcloud compute instances create tembo-self-hosted \ --machine-type=n2-standard-8 \ --image-family=tembo-base \ --image-project= \ --boot-disk-size=256GB \ --boot-disk-type=pd-balanced \ --metadata=enable-oslogin=TRUE \ --tags=tembo-self-hosted ``` Replace the placeholders with values provided by Tembo. The command creates an external IP address by default; you will use it in the next steps. You do not need to pass `--enable-nested-virtualization` because it is enabled by the image. ### Via the Google Cloud console 1. Go to **Compute Engine > VM instances** and select **Create instance** 2. Choose your preferred region and zone 3. Under **Machine configuration**, select the **N2** series and choose **n2-standard-8** or larger 4. Under **Boot disk**, select **Change**, then choose **Custom images** and select the Tembo image shared with your project 5. Set the boot disk size to at least **256 GB** and select **Balanced persistent disk** 6. Under **Advanced options > Metadata**, add `enable-oslogin` with the value `TRUE` 7. Under **Networking**, add the network tag `tembo-self-hosted` and ensure the VM has an external IPv4 address 8. Select **Create** > [!TIP] > > A `ZONE_RESOURCE_POOL_EXHAUSTED` error means the selected zone currently lacks capacity for that machine type; it is not a quota error. Try another zone in the same region, another compatible Intel machine type, or retry later. *** ## Step 4: Configure VPC Firewall Rules VPC firewall rules control inbound traffic to Compute Engine VMs. Create rules that target the `tembo-self-hosted` network tag: | Port | Protocol | Source | Purpose | | - | - | - | - | | 80 | TCP | Your preferred IP range | Tembo web UI and API | | 3999 | TCP | Your IP | Installer / setup wizard | | 8888 | TCP | Your IP | VS Code server (config editing) | | 22 | TCP | Your IP | SSH access | Ports 3999 and 8888 are only needed during initial setup. You can remove those rules after configuration is complete. ### Via the Google Cloud CLI ```bash theme={null} # Allow HTTP on port 80 gcloud compute firewall-rules create tembo-allow-http \ --network=default \ --direction=INGRESS \ --action=ALLOW \ --rules=tcp:80 \ --source-ranges= \ --target-tags=tembo-self-hosted # Allow the installer, VS Code server, and SSH — restrict to your IP gcloud compute firewall-rules create tembo-allow-installer \ --network=default \ --direction=INGRESS \ --action=ALLOW \ --rules=tcp:3999 \ --source-ranges=/32 \ --target-tags=tembo-self-hosted gcloud compute firewall-rules create tembo-allow-vscode \ --network=default \ --direction=INGRESS \ --action=ALLOW \ --rules=tcp:8888 \ --source-ranges=/32 \ --target-tags=tembo-self-hosted gcloud compute firewall-rules create tembo-allow-ssh \ --network=default \ --direction=INGRESS \ --action=ALLOW \ --rules=tcp:22 \ --source-ranges=/32 \ --target-tags=tembo-self-hosted ``` If you use a VPC other than `default`, replace `default` with its name. You can also create these rules in the console under **VPC network > Firewall**. > [!WARNING] > > Tembo services route through nginx on port 80. Do **not** open ports 3000, 3001, or 3002 publicly — those are internal-only ports. Accessing the app directly on port 3000 bypasses nginx and will break authentication. > The configuration editor on port 8888 does not provide its own authentication. Never expose ports 3999 or 8888 to `0.0.0.0/0`. *** ## Step 5: Connect and Validate the VM Connect using OS Login: ```bash theme={null} gcloud compute ssh tembo-self-hosted \ --project= \ --zone= ``` Confirm that OS Login administrator access and nested virtualization work: ```bash theme={null} sudo -n id ls -l /dev/kvm ``` `sudo -n id` should report `uid=0(root)`, and `/dev/kvm` should exist. *** ## Step 6: Run the Installer and Configure the VM ### 6a: Run the install workflow Find the VM's external IP address: ```bash theme={null} gcloud compute instances describe tembo-self-hosted \ --format='get(networkInterfaces[0].accessConfigs[0].natIP)' ``` Once the VM is running, open the installer in your browser: ```text theme={null} http://:3999 ``` Follow the on-screen steps to complete the install workflow. This provisions the Tembo services and prepares the VM for use. The initial install can take up to an hour; subsequent updates are faster. ### 6b: Configure `/var/lib/tembo/config.json` After the installer finishes, open the VS Code server to edit the configuration file: ```text theme={null} http://:8888 ``` The VS Code server opens directly to `/var/lib/tembo/config.json`. Ensure these keys are present and correct: ```json theme={null} { "betterAuth.secret": "", "api.base": "http:///api/", "frontend.url": "http://" } ``` | Key | Notes | | - | - | | `betterAuth.secret` | Auto-generated on first boot if missing. Leave it if it is already set. | | `api.base` | Must match the public URL of the API. **Must end with a trailing `/`**. | | `frontend.url` | Defaults to `http://localhost:3000`, which breaks auth on a remote VM. Set this to the external IP address or hostname. | Use the exact origin that users will enter in their browsers. Do not use a Tailscale address, an internal service port, or a VS Code forwarded URL such as `http://:8888/proxy/...`. After saving, restart the application services: ```bash theme={null} sudo systemctl restart tembo-ts-api tembo-web nginx ``` The config seed runs before `tembo-ts-api`, `tembo-ts-cron`, and agent workers on every boot. Manual edits are preserved—the seed writes only values that are missing or empty. > [!TIP] > > If you have a domain name, set both `api.base` and `frontend.url` to the domain (for example, `https://tembo.example.com/api/` and `https://tembo.example.com`) rather than the raw IP address. This makes it easier to rotate VMs or add a load balancer later. > [!NOTE] > > File uploads and VM snapshots need a storage bucket. After the install works, set one up with [Google Cloud Storage](/features/self-hosted/integrations/gcs-storage). *** ## Step 7: Verify the Install Open a browser and navigate to: ```text theme={null} http:// ``` You should see the Tembo sign-up or sign-in screen. Check service status on the VM: ```bash theme={null} systemctl status tembo-ts-api systemctl status tembo-ts-agent-X systemctl status tembo-web systemctl status nginx ``` For `tembo-ts-agent-X`, `X` is the number of the agent you chose to provision during installation. For example, three agents create `tembo-ts-agent-1`, `tembo-ts-agent-2`, and `tembo-ts-agent-3`. *** ## Troubleshooting ### SSH connects and immediately closes Confirm that OS Login is enabled on the project or VM and that your identity has `roles/compute.osAdminLogin`: ```bash theme={null} gcloud compute ssh tembo-self-hosted \ --project= \ --zone= \ --troubleshoot ``` If you just changed IAM, allow time for propagation and retry. ### A port is unreachable Confirm that the VM has the `tembo-self-hosted` network tag and that the matching firewall rule includes your current public IP. From the VM, confirm that the service is listening locally: ```bash theme={null} sudo ss -lntp | grep -E ':(80|3999|8888)\b' ``` ### Auth 404 on sign-up **Symptom:** `POST http://:3000/api/auth/sign-up/email` returns 404. **Cause:** You are reaching the Next.js frontend directly on port 3000 and bypassing nginx. The `/api/auth/*` handler does not exist at that port. **Fix:** Access the app through nginx on port 80: ```text theme={null} http:// # correct http://:3000 # wrong — internal port only ``` If port 80 is blocked, check the VPC firewall rule and its `tembo-self-hosted` target tag. ### 401 after sign-up **Symptom:** Sign-up succeeds but all subsequent API requests return 401. **Cause:** Billing is enabled by default. Without Stripe configured, organization creation fails silently, leaving the user with no active organization. **Fix:** Confirm `billing.enabled: false` is set in the API environment in `config.json`. Contact Tembo support if this was not set in the distributed image. ### Sign-in loops or cookie issues **Symptom:** Sign-in redirects back to the login page, or cookies are not set. **Cause:** `api.base` or `frontend.url` in `config.json` does not match the URL you are accessing in the browser. Better Auth uses these values for trusted origins and cookie domain validation. **Fix:** Edit `/var/lib/tembo/config.json` and set both keys to the exact origin you are using in the browser. Do not use links from the VS Code **Ports** panel; those links route through port 8888. Restart the application services: ```bash theme={null} sudo systemctl restart tembo-ts-api tembo-web nginx ``` ### `/dev/kvm` is missing Recreate the VM using a compatible Intel machine type such as N2 or C3. The image already enables nested virtualization; unsupported E2, AMD, and Arm machine types cannot expose KVM. ### Services not starting ```bash theme={null} # Check all Tembo services at once systemctl list-units 'tembo-*' # View logs for a specific service journalctl -u tembo-ts-api -n 100 journalctl -u tembo-web -n 100 ``` The `tembo-config-seed` service must complete before the API and agents start. If the API fails immediately at boot, check: ```bash theme={null} journalctl -u tembo-config-seed cat /var/lib/tembo/config.json ``` ### VM not reachable after launch * Confirm the VM is in a **Running** state in the Google Cloud console. * Verify the VM has an external IPv4 address. * Verify the VPC firewall rules allow port 80 and target the `tembo-self-hosted` network tag. *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # Most Important Variables Source: https://docs.tembo.io/features/self-hosted/important-variables Configure the minimum required variables for a self-hosted Tembo instance. At minimum, set the following values in `/var/lib/tembo/config.json`. Replace `` with the IP address of your self-hosted instance. ```json theme={null} { "api.base": "https:///api/", "api.agentApiUrl": "http://localhost:3001/api/", "frontend.url": "http://" } ``` `api.base` must end with a trailing `/`. Merge these values into the existing configuration instead of replacing the entire file. After saving the file, restart the API service: ```bash theme={null} sudo systemctl restart tembo-ts-api ``` # AWS Source: https://docs.tembo.io/features/self-hosted/integrations/aws Configure your self-hosted instance as an OIDC issuer for AWS agent access. ## Prerequisites Complete the [shared prerequisites](/features/self-hosted/integrations/overview). You need an AWS administrator who can create an IAM OIDC provider and role, and an HTTPS issuer whose discovery document and public signing keys AWS can retrieve. This integration gives agents AWS credentials. It is separate from [S3 object storage](/features/self-hosted/integrations/aws-storage) and does not require deploying Tembo on AWS. ## 1. Configure the issuer Provision an RSA private key for signing OIDC tokens and store its PEM value in `oidc.privateKey` in `/var/lib/tembo/config.json`. Set `oidc.keyId` to an identifier for that signing key. Keep the private key secret; only the public JWKS should be exposed. `oidc.issuer` defaults to `api.base` without a trailing slash. For the standard deployment in this guide, use `https://tembo.example.com/api`. If you override it, ensure the advertised issuer, discovery location, and JWKS URL agree with the endpoints your deployment serves. Follow the [restart instructions](/features/self-hosted/integrations/overview#instance-configuration), then verify the issuer's `/.well-known/openid-configuration` and the `jwks_uri` it advertises are reachable by AWS and return a public signing key. ## 2. Create the AWS trust relationship Use the manual setup in the [AWS guide](/integrations/aws), replacing the hosted issuer with your own throughout: * Register your issuer URL as the IAM OIDC provider and use `sts.amazonaws.com` as its audience. * In the role's federated principal, use your account's OIDC provider ARN. * In the trust-policy condition keys, use your issuer without `https://`, retaining any path. For this example, the keys are `tembo.example.com/api:aud` and `tembo.example.com/api:sub`. * Set the audience condition to `sts.amazonaws.com` and the subject condition to `org:` followed by your full Tembo workspace ID. * Attach only the AWS permissions the agent's tasks require. Do not use the hosted `internal.tembo.io` issuer or an unmodified hosted CloudFormation template. The optional `aws.oidcTemplateUrl` configuration is for a connection template appropriate to your deployment. ## 3. Connect and verify In **Settings → Integrations** on your instance, connect the AWS account using the IAM role you created. Start a session and ask the agent to report its AWS caller identity before performing any changes. If STS rejects the request, compare the token issuer, key ID, audience, and workspace subject with the provider and trust policy. Plan signing-key rotation with your administrator so AWS can fetch the replacement public key. # AWS Bedrock Source: https://docs.tembo.io/features/self-hosted/integrations/aws-bedrock Connect a self-hosted Tembo instance to Amazon Bedrock for model inference. Use an AWS Bedrock connection to run supported models with credentials from your AWS account. ## Prerequisites * A running [self-hosted deployment](/features/self-hosted/overview) and administrator access to your Tembo organization. * The [minimum required variables](/features/self-hosted/important-variables) configured for your instance. * An AWS access key ID and secret access key with permission to invoke the Bedrock models you plan to use. * Bedrock model access enabled in the AWS Region where you will run inference. * Outbound HTTPS access from your Tembo instance to the Amazon Bedrock endpoints for that Region. ## Configure AWS Bedrock in `config.json` Add the following Convict dot-notation keys to `/var/lib/tembo/config.json`: ```json theme={null} { "anthropic.useBedrock": true, "aws.bedrockApiKey": "", "aws.region": "" } ``` | Key | Description | | - | - | | `anthropic.useBedrock` | Routes Tembo's small Anthropic model through AWS Bedrock. | | `aws.bedrockApiKey` | AWS Bedrock bearer token used for API key authentication. Keep this value secret. | | `aws.region` | AWS Region where your Bedrock models are enabled, such as `us-east-1`. | Merge these keys into the existing configuration instead of replacing the entire file. After saving, restart the API service: ```bash theme={null} sudo systemctl restart tembo-ts-api ``` If your deployment supplies AWS credentials through its runtime identity, such as an EC2 instance profile, you can omit `aws.bedrockApiKey`. Tembo then uses the runtime AWS credentials for SigV4 authentication. ### Configure workspace Bedrock credentials To let workspace members select Bedrock as the inference provider for supported models: 1. Sign in to your self-hosted Tembo instance as an organization administrator. 2. Open **Settings → Models → API Keys → AWS Bedrock**. 3. Enter your **AWS Access Key ID**, **AWS Secret Access Key**, and **AWS Region**. 4. Save the connection. Tembo stores these credentials at the workspace level and uses them when a selected model runs through AWS Bedrock. ## Verify the connection In **Settings → Models**, enable a model available through your Bedrock account and select Bedrock as its inference provider. Start a session with that model and send a test prompt. If the request fails, confirm that the credentials are active, the configured Region matches the Region where model access is enabled, and the AWS identity has permission to invoke the selected model. > [!NOTE] > > AWS Bedrock model availability varies by Region and AWS account. A model must be available to your account in the Region configured in Tembo. # AWS S3 Storage Source: https://docs.tembo.io/features/self-hosted/integrations/aws-storage Configure Amazon S3 for Tembo self-hosted on AWS. Tembo can use an S3 bucket as a single store for file uploads and VM snapshots. If you skip this configuration, file uploads are unavailable and sandboxes start more slowly. *** ## Step 1: Create an S3 Bucket ### Via the AWS CLI ```bash theme={null} aws s3api create-bucket \ --bucket \ --region us-east-1 ``` For regions other than `us-east-1`, add the location constraint: ```bash theme={null} aws s3api create-bucket \ --bucket \ --region us-west-2 \ --create-bucket-configuration LocationConstraint=us-west-2 ``` ### Via the AWS Console 1. Go to **S3** → **Create bucket** 2. Enter a **Bucket name** (globally unique) 3. Select your **AWS Region** 4. Leave all other settings as default and click **Create bucket** *** ## Step 2: Create IAM Credentials Tembo needs an IAM user with read/write access to the bucket. If your EC2 instance already has an IAM instance profile with S3 access, you can skip this step — Tembo will use the instance's credentials automatically. ### Via the AWS CLI ```bash theme={null} # Create the IAM user aws iam create-user --user-name tembo-storage # Create an inline policy granting access to the bucket aws iam put-user-policy \ --user-name tembo-storage \ --policy-name tembo-s3-access \ --policy-document '{ "Version": "2012-10-17", "Statement": [{ "Effect": "Allow", "Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject", "s3:ListBucket"], "Resource": [ "arn:aws:s3:::", "arn:aws:s3:::/*" ] }] }' # Create access keys aws iam create-access-key --user-name tembo-storage ``` Note the `AccessKeyId` and `SecretAccessKey` from the output. ### Via the AWS Console 1. Go to **IAM** → **Users** → **Create user** 2. Enter a username (e.g. `tembo-storage`) and click **Next** 3. Select **Attach policies directly**, then click **Create policy** 4. In the policy editor, paste: ```json theme={null} { "Version": "2012-10-17", "Statement": [{ "Effect": "Allow", "Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject", "s3:ListBucket"], "Resource": [ "arn:aws:s3:::", "arn:aws:s3:::/*" ] }] } ``` 5. Name the policy (e.g. `tembo-s3-access`) and click **Create policy** 6. Back on the user creation page, attach the new policy and click **Next** → **Create user** 7. Open the user, go to the **Security credentials** tab, and click **Create access key** 8. Select **Application running outside AWS**, then click **Next** → **Create access key** 9. Copy the **Access key** and **Secret access key** *** ## Step 3: Configure CORS Tembo uploads image attachments directly from the browser to S3. S3 blocks these cross-origin requests by default, so you must add a CORS rule. ### Via the AWS CLI ```bash theme={null} aws s3api put-bucket-cors \ --bucket \ --cors-configuration '{ "CORSRules": [{ "AllowedOrigins": ["http://"], "AllowedMethods": ["GET", "PUT", "DELETE", "HEAD"], "AllowedHeaders": ["*"], "ExposeHeaders": [], "MaxAgeSeconds": 3600 }] }' ``` If you are using a custom domain, replace `http://` with your domain. ### Via the AWS Console 1. Go to **S3** → select your bucket → **Permissions** tab 2. Scroll to **Cross-origin resource sharing (CORS)** and click **Edit** 3. Paste: ```json theme={null} [ { "AllowedOrigins": ["http://"], "AllowedMethods": ["GET", "PUT", "DELETE", "HEAD"], "AllowedHeaders": ["*"], "ExposeHeaders": [], "MaxAgeSeconds": 3600 } ] ``` 4. Click **Save changes** *** ## Step 4: Add to config.json Open `/var/lib/tembo/config.json` (via the VS Code server at `http://:8888` or SSH) and add: ```json theme={null} { "selfHosted.objectStorage.provider": "aws", "selfHosted.objectStorage.bucket": "", "aws.region": "us-east-1", "selfHosted.objectStorage.aws.accessKeyId": "", "selfHosted.objectStorage.aws.secretAccessKey": "" } ``` If your EC2 instance has an IAM instance profile with S3 access, omit `accessKeyId` and `secretAccessKey` — Tembo will use the instance's credentials automatically. > [!TIP] > > You can also enter these values under **Settings → Self-hosted → Object storage** on your instance, then select **Restart Services**. Then restart all Tembo services: ```bash theme={null} sudo systemctl restart 'tembo-ts-*' ``` Restarting only the API is not enough. Agent workers and the VM manager handle VM snapshots and read `config.json` only when they start. # Azure Storage Source: https://docs.tembo.io/features/self-hosted/integrations/azure-storage Configure Azure Blob Storage for Tembo self-hosted on Azure. Tembo can use an Azure Blob Storage container as a single store for file uploads and VM snapshots. If you skip this configuration, file uploads are unavailable and sandboxes start more slowly. *** ## Step 1: Create a Storage Account ### Via the Azure CLI ```bash theme={null} az storage account create \ --name \ --resource-group tembo-self-hosted-rg \ --location eastus \ --sku Standard_LRS ``` ### Via the Azure Portal 1. Go to **Storage accounts** → **+ Create** 2. Select your subscription and resource group 3. Enter a **Storage account name** (globally unique, 3–24 characters, lowercase alphanumeric only) 4. Choose your **Region** 5. Leave **Redundancy** as **Locally-redundant storage (LRS)** 6. Click **Review + create**, then **Create** *** ## Step 2: Create the Container ### Via the Azure CLI ```bash theme={null} az storage container create \ --name \ --account-name ``` ### Via the Azure Portal 1. Go to **Storage accounts** → select your account 2. In the left sidebar, under **Data storage**, click **Containers** 3. Click **+ Container** 4. Enter a name and click **Create** *** ## Step 3: Get the Account Key ### Via the Azure CLI ```bash theme={null} az storage account keys list \ --account-name \ --resource-group tembo-self-hosted-rg \ --query "[0].value" -o tsv ``` ### Via the Azure Portal 1. Go to **Storage accounts** → select your account 2. In the left sidebar, under **Security + networking**, click **Access keys** 3. Click **Show** next to **key1** and copy the **Key** value *** ## Step 4: Configure CORS Tembo uploads image attachments directly from the browser to the storage container. Azure blocks these cross-origin requests by default, so you must add a CORS rule. ### Via the Azure CLI ```bash theme={null} az storage cors add \ --account-name \ --services b \ --methods DELETE GET HEAD OPTIONS PUT \ --origins 'http://' \ --allowed-headers '*' \ --exposed-headers '*' \ --max-age 3600 ``` If you are using a custom domain, replace `http://` with your domain. ### Via the Azure Portal 1. Go to **Storage accounts** → select your account 2. In the left sidebar, under **Settings**, click **Resource sharing (CORS)** 3. Select the **Blob service** tab 4. Click **+ Add** and fill in: * **Allowed origins**: `http://` (or your domain) * **Allowed methods**: `DELETE`, `GET`, `HEAD`, `OPTIONS`, `PUT` * **Allowed headers**: `*` * **Exposed headers**: `*` * **Max age**: `3600` 5. Click **Save** *** ## Step 5: Add to config.json Open `/var/lib/tembo/config.json` (via the VS Code server at `http://:8888` or SSH) and add: ```json theme={null} { "selfHosted.objectStorage.provider": "azure", "selfHosted.objectStorage.bucket": "", "selfHosted.objectStorage.azure.storageAccountName": "", "selfHosted.objectStorage.azure.storageAccountKey": "" } ``` > [!TIP] > > You can also enter these values under **Settings → Self-hosted → Object storage** on your instance, then select **Restart Services**. Then restart all Tembo services: ```bash theme={null} sudo systemctl restart 'tembo-ts-*' ``` Restarting only the API is not enough. Agent workers and the VM manager handle VM snapshots and read `config.json` only when they start. # Bitbucket Source: https://docs.tembo.io/features/self-hosted/integrations/bitbucket Register a Bitbucket Cloud OAuth consumer for self-hosted Tembo. ## Prerequisites Complete the [shared prerequisites](/features/self-hosted/integrations/overview). You need permission to create an OAuth consumer in your Bitbucket Cloud workspace and access to the repositories you want to connect. This flow targets Bitbucket Cloud, not Bitbucket Data Center. ## 1. Create an OAuth consumer In your Bitbucket workspace settings, create an OAuth consumer with callback URL `https://tembo.example.com/api/oauth/bitbucket/callback`. Configure permissions covering the scopes Tembo requests: `account`, `repository`, `pullrequest:write`, and `webhook`. Copy the consumer key and secret. ## 2. Configure Tembo Add these keys to `/var/lib/tembo/config.json`: | Key | Value | | - | - | | `bitbucket.clientId` | OAuth consumer key | | `bitbucket.clientSecret` | OAuth consumer secret | | `bitbucket.webhookSecret` | A unique, randomly generated webhook signing secret | Follow the [restart instructions](/features/self-hosted/integrations/overview#instance-configuration). Allow Bitbucket webhook delivery to `https://tembo.example.com/api/webhook/bitbucket`. ## 3. Install and verify 1. Open **Settings → Integrations** on your instance and install Bitbucket. 2. Authorize the consumer using an account with access to the intended workspace. 3. Select a connected repository and start a test session. 4. Confirm a pull request can be opened and that webhook deliveries succeed. If installation works but repository actions fail, check both the consumer permissions and the authorizing user's repository access. See the [Bitbucket guide](/integrations/bitbucket) for usage. # Google Cloud Storage Source: https://docs.tembo.io/features/self-hosted/integrations/gcs-storage Configure Google Cloud Storage for Tembo self-hosted on Google Cloud. Tembo can use a Google Cloud Storage bucket as a single store for file uploads and VM snapshots. If you skip this configuration, file uploads are unavailable and sandboxes start more slowly. *** ## Step 1: Create a Bucket ### Via the Google Cloud CLI ```bash theme={null} gcloud storage buckets create gs:// \ --project= \ --location=us-central1 \ --uniform-bucket-level-access ``` Use the same region as your Tembo VM. ### Via the Google Cloud console 1. Go to **Cloud Storage > Buckets** and select **Create** 2. Enter a **Name** (globally unique) 3. Under **Location type**, select **Region** and choose the region of your Tembo VM 4. Leave **Uniform** access control selected and leave all other settings as default 5. Select **Create** *** ## Step 2: Create a Service Account and Key Tembo signs browser upload and download URLs with a service account key, so the key is required even if your VM has an attached service account. ### Via the Google Cloud CLI ```bash theme={null} # Create the service account gcloud iam service-accounts create tembo-storage \ --project= \ --display-name="Tembo storage" # Grant it read/write access to the bucket gcloud storage buckets add-iam-policy-binding gs:// \ --member="serviceAccount:tembo-storage@.iam.gserviceaccount.com" \ --role="roles/storage.objectAdmin" # Create a JSON key gcloud iam service-accounts keys create tembo-storage-key.json \ --iam-account=tembo-storage@.iam.gserviceaccount.com ``` ### Via the Google Cloud console 1. Go to **IAM & Admin > Service Accounts** and select **Create service account** 2. Enter a name (for example, `tembo-storage`) and select **Done** 3. Go to **Cloud Storage > Buckets**, open your bucket, and select the **Permissions** tab 4. Select **Grant access**, enter the service account email, choose the **Storage Object Admin** role, and select **Save** 5. Go back to **IAM & Admin > Service Accounts**, open the service account, and select the **Keys** tab 6. Select **Add key > Create new key**, choose **JSON**, and select **Create** The key file downloads to your machine. You need its `client_email` and `private_key` values in Step 4. Delete the file after you copy them. > [!NOTE] > > If your organization policy blocks service account key creation (`iam.disableServiceAccountKeyCreation`), ask your Google Cloud administrator for an exception for this project. *** ## Step 3: Configure CORS Tembo uploads image attachments directly from the browser to Cloud Storage. Cloud Storage blocks these cross-origin requests by default, so you must add a CORS rule. Save the following as `cors.json`: ```json theme={null} [ { "origin": ["http://"], "method": ["GET", "HEAD", "PUT"], "responseHeader": ["Content-Type", "x-goog-content-sha256"], "maxAgeSeconds": 3600 } ] ``` If you are using a custom domain, replace `http://` with your domain. Apply it to the bucket: ```bash theme={null} gcloud storage buckets update gs:// --cors-file=cors.json ``` *** ## Step 4: Add to config.json Open `/var/lib/tembo/config.json` (via the VS Code server at `http://:8888` or SSH) and add: ```json theme={null} { "selfHosted.objectStorage.provider": "gcs", "selfHosted.objectStorage.bucket": "", "selfHosted.objectStorage.gcs.projectId": "", "selfHosted.objectStorage.gcs.clientEmail": "", "selfHosted.objectStorage.gcs.privateKey": "" } ``` Copy `private_key` exactly as it appears in the key file, including the `-----BEGIN PRIVATE KEY-----` line and the `\n` sequences. > [!TIP] > > You can also enter these values under **Settings → Self-hosted → Object storage** on your instance, then select **Restart Services**. Then restart all Tembo services: ```bash theme={null} sudo systemctl restart 'tembo-ts-*' ``` Restarting only the API is not enough. Agent workers and the VM manager handle VM snapshots and read `config.json` only when they start. # GitHub Source: https://docs.tembo.io/features/self-hosted/integrations/github Set up the GitHub App integration for Tembo self-hosted. ## Overview The GitHub integration allows Tembo to clone repositories, create branches, push commits, open pull requests, and respond to issues and webhooks. On the SaaS platform this is pre-configured — on self-hosted you need to create your own GitHub App and point it at your instance. These steps are for a single instance. On Kubernetes, follow [GitHub on Kubernetes](/features/self-hosted/kubernetes/prerequisites/github), which keeps the app's credentials in a Kubernetes Secret and links back here for the app's settings. In the URLs below, `` is the address you open Tembo at: `http://` on a single instance, or your Ingress host on Kubernetes (e.g. `https://tembo.example.com`). *** ## Step 1: Create a GitHub App > [!NOTE] > > On Kubernetes, follow [GitHub on Kubernetes](/features/self-hosted/kubernetes/prerequisites/github): the install notes link to this page with your install's URLs, permissions and events filled in. This page describes each setting. 1. Go to **GitHub > Settings > Developer settings > GitHub Apps > New GitHub App** ### GitHub App name Choose a name for your app, e.g. `Tembo (self-hosted)`. This will be visible to users when they install the app. ### Homepage URL ``` ``` ### Callback URL ``` /api/oauth/github/callback ``` This is where GitHub redirects users after they authorize the app. ### Check **Request user authorization (OAuth) during installation** This is important — it ensures that when a user installs the app, they are also prompted to authorize Tembo to act on their behalf. Without this, Tembo cannot perform actions as the installing user. ### Webhook URL ``` /api/webhook/github ``` GitHub must be able to reach this URL to deliver events. If your instance isn't reachable from the internet, for example behind an internal load balancer, uncheck **Active**. Tembo still works, but anything GitHub triggers won't: comments that mention Tembo, issue and pull request triggers, and pull request status updates. ### Webhook secret Generate a random string (for example with `openssl rand -hex 32`) and enter it here. Save this value — you will need it for the Tembo config later. On Kubernetes, store it in the app's Kubernetes Secret, or use the one the Helm chart generates; see [GitHub on Kubernetes](/features/self-hosted/kubernetes/prerequisites/github#step-1-create-the-github-app). ### Permissions Under **Repository permissions**, set: | Permission | Access | | - | - | | **Actions** | Read-only | | **Checks** | Read & write | | **Commit statuses** | Read-only | | **Contents** | Read & write | | **Dependabot alerts** | Read-only | | **Issues** | Read & write | | **Metadata** | Read-only | | **Pull requests** | Read & write | | **Webhooks** | Read & write | Under **Organization permissions**, set **Members** to **Read-only**. Tembo uses it to check that whoever connects an organization is one of its owners; without it, connecting fails with **Failed to get extra data for integration**. It also enables the Member, Organization, Team, and Team add event subscriptions. Under **Account permissions**, no changes are needed. ### Subscribe to events Check the following: * Check run * Commit comment * Create * Delete * Dependabot alert * Issue comment * Issues * Member * Organization * Pull request * Pull request review * Pull request review comment * Pull request review thread * Push * Release * Repository * Status * Team * Team add * Workflow run If you already have a GitHub App, open **Permissions & events**, enable any missing events, and save your changes. If you change permissions, approve the updated permissions for the app's installation when prompted. Automation triggers require the corresponding GitHub event subscription. For example, a **Release Published** trigger will not run unless you enable **Release**. A **Dependabot Alert Assigned** trigger needs the **Dependabot alerts** permission and the **Dependabot alert** event. Enabling a subscription does not replay past events. ### Where can this GitHub App be installed? Select **Only on this account** if you only need it for a single org. Select **Any account** if you want to install it across multiple orgs. ### Create the app Click **Create GitHub App**. *** ## Step 2: Generate a Client Secret After the app is created, you will be on the app settings page. 1. Under **Client secrets**, click **Generate a new client secret** 2. Copy the secret immediately — it will only be shown once *** ## Step 3: Generate a Private Key Still on the app settings page: 1. Scroll down to **Private keys** 2. Click **Generate a private key** 3. A `.pem` file will be downloaded — you will need its full contents for the config *** ## Step 4: Configure Tembo Tembo needs these values from your GitHub App: | Key | Where to find it | | - | - | | `github.appId` | App settings page, listed as **App ID** | | `github.appName` | The slug of your app name (e.g. `tembo-self-hosted`) | | `github.clientId` | App settings page, listed as **Client ID** | | `github.clientSecret` | The client secret you generated in Step 2 | | `github.privateKey` | Contents of the `.pem` file from Step 3 (include the full key with newlines) | | `github.webhookSecret` | The random string you set as the webhook secret in Step 1 | | `github.clientUserName` | Your app's bot, `[bot]` | | `github.clientUserEmail` | Your bot's noreply email, `+[bot]@users.noreply.github.com`. The bot user ID is the `id` at `https://api.github.com/users/%5Bbot%5D` | | `github.botTagName` | The mention Tembo answers in comments, `@` | Tembo commits as `github.clientUserName` and `github.clientUserEmail`, and treats pull requests and comments by `github.clientUserName` as its own. Without these values, Tembo uses the identity of Tembo's cloud app: it answers `@staging-tembo` mentions, and its commits are attributed to Tembo's app. ### Single instance Open `/var/lib/tembo/config.json` (via the VS Code server at `http://:8888` or via SSH) and add the following keys: ```json theme={null} { "github.appId": "", "github.appName": "", "github.clientId": "", "github.clientSecret": "", "github.privateKey": "", "github.webhookSecret": "", "github.clientUserName": "[bot]", "github.clientUserEmail": "+[bot]@users.noreply.github.com", "github.botTagName": "@" } ``` After saving, restart the API: ```bash theme={null} sudo systemctl restart tembo-ts-api ``` Updating the config.json will also cause the instance api to restart automatically. ### Kubernetes Store the values in a Kubernetes Secret that the chart reads through `github.existingSecret`; see [GitHub on Kubernetes](/features/self-hosted/kubernetes/prerequisites/github). It also covers GitOps tools that render the chart with `helm template`. *** ## Step 5: Connect GitHub Install the app from Tembo, not from GitHub: Tembo only accepts the installation when the connection starts in Tembo. To connect a GitHub organization, you need to be an owner of it on GitHub. If you aren't, GitHub sends your organization's owners an installation request instead, and Tembo asks you to have an owner connect GitHub. 1. Go to your Tembo instance and navigate to **Settings > Integrations** 2. Connect GitHub 3. Select the organization or account to install the app on, and choose **All repositories** or specific repositories 4. Click **Install** — because you checked **Request user authorization (OAuth) during installation**, you will be redirected to authorize the app as well 5. On the page Tembo opens next, enable the repositories Tembo should work on. You can change them later in **Settings > Repositories**. Sessions can't clone a repository that isn't enabled. *** ## Step 6: Verify 1. In **Settings > Integrations**, confirm GitHub shows as connected 2. Try creating a session against one of the repositories you installed the app on 3. Test an automation trigger with a new matching event, then check the GitHub App's **Advanced > Recent deliveries** for a successful delivery to your instance. A successful delivery shows that GitHub reached Tembo, not that the webhook secrets match: Tembo also answers deliveries it rejects with 200. If nothing happens in Tembo, check that the webhook secret in GitHub matches `github.webhookSecret`. *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # GitLab Source: https://docs.tembo.io/features/self-hosted/integrations/gitlab Configure GitLab repository access and OAuth for self-hosted Tembo. ## Prerequisites Complete the [shared setup prerequisites](/features/self-hosted/integrations/overview). Use a GitLab account with access to the projects you want Tembo to modify and permission to create project webhooks. ## 1. Choose an authentication method For a shared service account, follow the [GitLab service account setup](/integrations/gitlab#connect-a-service-account), using **Settings → Integrations** on your own Tembo instance. This path does not require registering an OAuth application. Use the `api` token scope and grant the account the Maintainer role on the projects Tembo should access. For personal-account OAuth, create a GitLab.com OAuth application and register `https://tembo.example.com/api/oauth/gitlab/callback` as its redirect URI. Enable the scopes requested by Tembo: `api`, `profile`, `openid`, `read_api`, `read_user`, `read_repository`, `write_repository`, `read_observability`, `write_observability`, and `email`. > [!NOTE] > > Both the OAuth flow and service-account validation target GitLab.com. Self-hosting Tembo does not configure a custom GitLab server URL. Contact [support](/support) before planning to connect GitLab Self-Managed or Dedicated. ## 2. Configure Tembo Set `gitlab.webhookSecret` to a unique, randomly generated secret in `/var/lib/tembo/config.json`. For OAuth, also set `gitlab.clientId` and `gitlab.clientSecret` to your application's credentials. Follow the [configuration and restart instructions](/features/self-hosted/integrations/overview#instance-configuration). Tembo registers project webhooks during synchronization. Make your API's GitLab webhook endpoint, `https://tembo.example.com/api/webhook/gitlab`, reachable from GitLab. ## 3. Connect and verify 1. Open **Settings → Integrations** on your instance and connect the service account or install GitLab through OAuth. 2. Confirm the expected projects appear in Tembo. 3. Start a session against a test repository and check that Tembo can open a merge request. 4. Check GitLab's project webhook deliveries if merge request comments or pipeline events do not reach Tembo. For token rotation, update the saved service-account connection. If repositories are missing, verify project membership before granting broader token scopes. # HubSpot Source: https://docs.tembo.io/features/self-hosted/integrations/hubspot Configure HubSpot event triggers and MCP access for self-hosted Tembo. ## Prerequisites Complete the [shared prerequisites](/features/self-hosted/integrations/overview). You need a HubSpot account that can create applications and authorize access to the target portal. HubSpot has two separate connections: the native integration receives CRM events, while the MCP integration provides tools during sessions. Configure either or both according to your workflow. ## 1. Configure event triggers Create a HubSpot OAuth application with redirect URL `https://tembo.example.com/api/oauth/hubspot/callback`. Configure the scopes `oauth`, `crm.objects.contacts.read`, `crm.objects.companies.read`, `crm.objects.deals.read`, and `tickets`. Set the webhook target to `https://tembo.example.com/api/webhook/hubspot`. Subscribe to the supported events you need, such as contact, company, deal, or ticket creation. See [HubSpot triggers](/integrations/hubspot) for supported event types; installing the app alone does not select an agent's triggers. Set these keys in `/var/lib/tembo/config.json`: | Key | Value | | - | - | | `hubspot.clientId` | Event application's client ID | | `hubspot.clientSecret` | Event application's client secret, also used for webhook signature verification | | `hubspot.appId` | Event application's numeric app ID | ## 2. Configure MCP access, if needed Create a HubSpot MCP Auth App for your instance and register `https://tembo.example.com/api/oauth/mcp/callback` as its redirect URL. Set `mcp.hubspot.clientId` and `mcp.hubspot.clientSecret` to that application's credentials. These keys are separate from `hubspot.clientId` and `hubspot.clientSecret`. MCP authorization does not install event subscriptions, and event authorization does not connect MCP tools. ## 3. Install and verify 1. Follow the [restart instructions](/features/self-hosted/integrations/overview#instance-configuration). 2. Open **Settings → Integrations** on your instance and authorize the HubSpot connection or connections you configured. 3. For events, configure a matching automation trigger and create a test CRM record. 4. For MCP, start a new session and ask it to read a test record before permitting write actions. If webhook signatures fail, check your client secret, server clock, and public API URL. If only tools or only triggers work, confirm you installed both connections when your workflow needs both. # Jira Source: https://docs.tembo.io/features/self-hosted/integrations/jira Create an Atlassian OAuth application for Jira Cloud on self-hosted Tembo. ## Prerequisites Complete the [shared prerequisites](/features/self-hosted/integrations/overview). You need access to the Atlassian developer console and a Jira Cloud account with permission to access the projects you will connect. This OAuth flow uses Atlassian Cloud, not Jira Data Center. ## 1. Create the OAuth application Create an OAuth 2.0 (3LO) application in the Atlassian developer console. Configure its callback as `https://tembo.example.com/api/oauth/atlassian/callback`. > [!NOTE] > > The callback and configuration prefix are `atlassian`, not `jira`. Add the API permissions requested by Tembo's Atlassian connection: | API | Scopes | | - | - | | Jira | `read:jira-work`, `read:jira-user`, `manage:jira-webhook`, `manage:jira-configuration`, `write:jira-work`, `read:issue-details:jira`, `read:project:jira` | | Jira Software | `read:board-scope:jira-software`, `read:sprint:jira-software` | | Confluence | `read:confluence-content.all`, `read:confluence-space.summary`, `search:confluence`, `readonly:content.attachment:confluence`, `read:content:confluence`, `read:content-details:confluence`, `read:space:confluence`, `read:page:confluence`, `read:attachment:confluence`, `read:comment:confluence`, `read:label:confluence` | | Refresh tokens | `offline_access` | The connection requests Confluence scopes as well as Jira scopes. Review these permissions before authorizing, even if your initial use case is Jira only. ## 2. Configure Tembo Set `atlassian.clientId` and `atlassian.clientSecret` in `/var/lib/tembo/config.json` using the application's credentials. Follow the [restart instructions](/features/self-hosted/integrations/overview#instance-configuration). For Jira event delivery, allow requests to `https://tembo.example.com/api/webhook/atlassian`. ## 3. Install and verify 1. Open **Settings → Integrations** on your instance and install Jira. 2. Authorize the intended Atlassian site. 3. Confirm the expected projects and issues are available. 4. Configure a Jira trigger in [Automations](/features/automations) and test it on a non-production issue. If another user cannot authorize your app, check the app's distribution settings. If issues are missing, check that user's Jira project permissions. The OAuth connection does not configure a Confluence Forge app; contact [support](/support) if you also need Forge-backed Confluence events. # Linear Source: https://docs.tembo.io/features/self-hosted/integrations/linear Set up the Linear integration for Tembo self-hosted. ## Overview The Linear integration lets you assign issues to Tembo and have it open pull requests against them. Tagging Tembo on an issue or comment (via Linear's agent protocol) spins up a Tembo session and streams its progress back as activity on the issue. On the SaaS platform this is pre-configured — on self-hosted you need to create your own Linear OAuth application and point it at your instance. *** ## Step 1: Create an OAuth Application 1. Go to **Linear > Settings > API > OAuth Applications > New** ### Application name Choose a name, e.g. `Tembo (self-hosted)`. This will be visible to users when they authorize the app. ### Callback URL ``` http:///api/oauth/linear/callback ``` ### Enable Agent Toggle **Agent** on for the application. This is required — it's what allows Tembo to be assigned to or @mentioned on issues and to respond via Linear's agent session protocol. Without it, Tembo cannot act as an agent in Linear. ### Create the application Click **Create**. *** ## Step 2: Generate a Client Secret On the application's settings page, copy the **Client ID** and generate/copy the **Client Secret**. Save both — you will need them for the Tembo config. *** ## Step 3: Add a Webhook Still on the application's settings page: 1. Go to the **Webhooks** tab and click **New webhook** 2. Set the **Webhook URL** to: ``` http:///api/webhook/linear ``` 3. Under **Data change events**, check **Issues** 4. Save — Linear will generate a **Webhook signing secret**. Copy it, you will need it for the config. Agent session events (from the **Agent** toggle in Step 1) are delivered on this same webhook automatically. *** ## Step 4: Configure Tembo Open `/var/lib/tembo/config.json` (via the VS Code server at `http://:8888` or via SSH) and add the following keys: ```json theme={null} { "linear.clientId": "", "linear.clientSecret": "", "linear.webhookSecret": "", "linear.appName": "" } ``` | Key | Where to find it | | - | - | | `clientId` | Application settings page, listed as **Client ID** | | `clientSecret` | The client secret you generated in Step 2 | | `webhookSecret` | The webhook signing secret from Step 3 | | `appName` | The name you gave the app in Step 1 — used as Tembo's display name in Linear activity | After saving, restart the API: ```bash theme={null} sudo systemctl restart tembo-ts-api ``` Updating the config.json will also cause the instance API to restart automatically. *** ## Step 5: Install and Authorize 1. In your Tembo instance, go to **Settings > Integrations**, find Linear, and click **Install** 2. Complete the Linear authorization flow Install from Tembo, not from Linear directly — Tembo's generated authorize URL carries a `state` token that ties the install back to your org. Starting from Linear's own OAuth Applications page skips that and the callback will fail even with valid credentials. *** ## Step 6: Verify 1. Go to your Tembo instance and navigate to **Settings > Integrations** 2. Confirm Linear shows as connected 3. Assign a Linear issue to Tembo, or @mention it in a comment, and confirm a session starts *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # Notion Source: https://docs.tembo.io/features/self-hosted/integrations/notion Register a Notion OAuth integration for your self-hosted Tembo instance. ## Prerequisites Complete the [shared prerequisites](/features/self-hosted/integrations/overview). You need permission to create a Notion integration and share the pages Tembo should access. ## 1. Create a public integration Create a Notion public integration with OAuth redirect URI `https://tembo.example.com/api/oauth/notion/callback`. An internal integration token is not a substitute for the OAuth client credentials used by this connection. Choose capabilities for the work you intend Tembo to perform. Start with reading content; only enable content changes if your workflows require them. Copy the OAuth client ID and secret. ## 2. Configure Tembo Set `notion.clientId` and `notion.clientSecret` in `/var/lib/tembo/config.json`. Follow the [restart instructions](/features/self-hosted/integrations/overview#instance-configuration). ## 3. Install and verify 1. Open **Settings → Integrations** on your instance and install Notion. 2. Authorize the workspace and select the pages the integration should access. 3. Start a new session and ask Tembo to summarize a shared test page. If a page is missing, check that it was shared with the integration and that your capabilities allow reading it. See [Notion usage](/integrations/notion) for workflow ideas. > [!NOTE] > > Do not configure Notion webhooks as part of this setup. The native webhook receiver does not process Notion events yet; a successful connection is not confirmation of event-trigger support. # Integration setup Source: https://docs.tembo.io/features/self-hosted/integrations/overview Configure integrations that require config.json changes on your self-hosted Tembo instance. This section covers integrations that require integration-specific changes to `/var/lib/tembo/config.json`. Use these guides to configure provider applications, signing credentials, or deployment storage for your self-hosted instance. For integrations configured entirely through the UI, sandbox environment variables, or external tools, use the [general integration guides](/integrations). Follow those steps from your own Tembo instance rather than the hosted dashboard. ## Prerequisites * A running [self-hosted deployment](/features/self-hosted/overview) and administrator access to your Tembo organization. * Administrator access to the external service when creating applications or granting organization-wide access. * A stable HTTPS address for your deployment. The examples use `https://tembo.example.com`, with the API served under `/api/`. * Outbound connectivity from the Tembo API and, where tools run there, agent sandboxes to the provider. OAuth redirects must be reachable by your browser; webhook endpoints must be reachable by the provider. A private instance needs an approved ingress path for webhooks. ## Instance configuration For guides that require application credentials, merge the listed keys into `/var/lib/tembo/config.json`; do not replace your existing configuration. Keep secrets out of source control and restrict access to the file. Set `frontend.url` to your browser-facing origin and `api.base` to your externally reachable API base, including the trailing slash. For the examples in this section, those values are `https://tembo.example.com` and `https://tembo.example.com/api/`. If your API uses a different host or prefix, adjust every callback and webhook URL accordingly. After saving configuration changes, restart the API service: ```bash theme={null} sudo systemctl restart tembo-ts-api ``` Start OAuth installations from **Settings → Integrations** on **your instance**, not from the hosted Tembo dashboard or the provider's application page. The authorization request includes state that associates the connection with your organization. ## Choose a setup guide | Setup type | Integrations | | - | - | | Git providers | [GitHub](/features/self-hosted/integrations/github), [GitLab](/features/self-hosted/integrations/gitlab), [Bitbucket](/features/self-hosted/integrations/bitbucket) | | Issues and collaboration | [Linear](/features/self-hosted/integrations/linear), [Jira](/features/self-hosted/integrations/jira), [Notion](/features/self-hosted/integrations/notion), [Slack](/features/self-hosted/integrations/slack), [Microsoft Teams](/features/self-hosted/integrations/teams) | | Monitoring and CRM | [Sentry](/features/self-hosted/integrations/sentry), [HubSpot](/features/self-hosted/integrations/hubspot) | | Cloud and data | [AWS](/features/self-hosted/integrations/aws), [AWS Bedrock](/features/self-hosted/integrations/aws-bedrock) | | Deployment storage | [AWS S3](/features/self-hosted/integrations/aws-storage), [Azure Blob Storage](/features/self-hosted/integrations/azure-storage), [Google Cloud Storage](/features/self-hosted/integrations/gcs-storage) | > [!NOTE] > > Integration availability depends on your installed release and organization settings. Pilot features and provider limitations are called out in their guides. If a card is missing, contact [support](/support) before provisioning credentials. ## Troubleshooting * **Redirect mismatch:** compare the registered callback with the actual authorization request, including its scheme, hostname, API prefix, and path. * **Connected but no events:** inspect provider webhook deliveries and confirm the endpoint is reachable without an interactive login. Check signing credentials and event subscriptions. * **Connected but tools cannot reach data:** test DNS, routing, and TLS from the sandbox, not only from the host VM. Limit access to the resources the integration needs. * **Credential rotation:** update the instance configuration or saved connection where the credential was originally entered, then reconnect if the provider invalidated existing tokens. # Sentry Source: https://docs.tembo.io/features/self-hosted/integrations/sentry Set up the Sentry integration for Tembo self-hosted. ## Overview The Sentry integration lets Tembo monitor new issues in your Sentry organization and open pull requests with code fixes and improvements. On the SaaS platform this is pre-configured — on self-hosted you need to create your own Sentry integration and point it at your instance. *** ## Step 1: Create a Sentry Integration 1. Go to **Sentry > Organization Settings > Developer Settings > New Integration** 2. Choose **Public Integration** (not Internal — Tembo relies on the install/authorize flow that only public integrations support) ### Name Choose a name, e.g. `Tembo (self-hosted)`. The slug generated from this name is your `appName` — note it, you'll need it for the config. ### Webhook URL ``` http:///api/webhook/sentry ``` ### Redirect URL ``` http:///api/oauth/sentry/callback ``` This is where Sentry redirects after a user installs and authorizes the integration. ### Permissions Set: | Permission | Access | | - | - | | **Organization** | Read | | **Issue & Event** | Read | ### Webhooks Under **Resource Subscriptions**, check **Issue**. ### Create the integration Click **Save Changes**. *** ## Step 2: Generate a Client Secret On the integration's settings page, copy the **Client ID** and **Client Secret**. Save both — you will need them for the Tembo config. *** ## Step 3: Configure Tembo Open `/var/lib/tembo/config.json` (via the VS Code server at `http://:8888` or via SSH) and add the following keys: ```json theme={null} { "sentry.clientId": "", "sentry.clientSecret": "", "sentry.appName": "" } ``` | Key | Where to find it | | - | - | | `clientId` | Integration settings page, listed as **Client ID** | | `clientSecret` | Integration settings page, listed as **Client Secret** | | `appName` | The slug of the integration name you chose in Step 1 | After saving, restart the API: ```bash theme={null} sudo systemctl restart tembo-ts-api ``` Updating the config.json will also cause the instance API to restart automatically. *** ## Step 4: Install the Integration 1. In your Tembo instance, go to **Settings > Integrations**, find Sentry, and click **Install** 2. Complete the Sentry install and authorization flow Install from Tembo, not from Sentry's own Integrations page — Tembo's generated authorize URL carries a `state` token that ties the install back to your org. Starting from Sentry directly skips that and the callback will fail even with valid credentials. *** ## Step 5: Verify 1. Go to your Tembo instance and navigate to **Settings > Integrations** 2. Confirm Sentry shows as connected 3. Trigger a new issue in a project the integration can see and confirm Tembo picks it up *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # Slack Source: https://docs.tembo.io/features/self-hosted/integrations/slack Set up the Slack integration for Tembo self-hosted. ## Overview The Slack integration allows Tembo to send notifications, receive commands, and stream session updates to your Slack workspace. On the SaaS platform this is pre-configured — on self-hosted you need to create your own Slack app and point it at your instance. *** ## Step 1: Create a Slack App 1. Go to [api.slack.com/apps](https://api.slack.com/apps) and click **Create New App** 2. Choose **From scratch** 3. Fill in: | Field | Value | | - | - | | **App Name** | e.g. `Tembo (self-hosted)` | | **Workspace** | Select your workspace | 4. Click **Create App** *** ## Step 2: Configure OAuth & Permissions 1. In the left sidebar, go to **OAuth & Permissions** 2. Under **Redirect URLs**, add: ``` http:///api/oauth/slack/callback ``` 3. Under **Bot Token Scopes**, add the following scopes: * `app_mentions:read` * `channels:history` * `channels:join` * `channels:read` * `chat:write` * `emoji:read` * `files:read` * `files:write` * `groups:history` * `groups:read` * `im:history` * `im:read` * `im:write` * `mpim:history` * `mpim:read` * `reactions:read` * `reactions:write` * `team:read` * `users:read` * `users:read.email` 4. Under **User Token Scopes**, add the following scopes: * `channels:history` * `im:history` * `search:read.public` * `search:read.im` * `search:read.files` * `search:read.users` * `users:read` * `users:read.email` *** ## Step 3: Enable Event Subscriptions 1. In the left sidebar, go to **Event Subscriptions** 2. Toggle **Enable Events** to on 3. Set the **Request URL** to: ``` http:///api/webhook/slack ``` Slack will send a verification challenge to this URL — it should respond with a `200` once your instance is running. 4. Under **Subscribe to bot events**, add: * `app_mention` * `message.channels` * `message.groups` * `message.im` * `message.mpim` * `reaction_added` * `team_join` 5. Click **Save Changes** *** ## Step 4: Enable Interactivity 1. In the left sidebar, go to **Interactivity & Shortcuts** 2. Toggle **Interactivity** to on 3. Set the **Request URL** to: ``` http:///api/integration/slack/interaction ``` 4. Click **Save Changes** This enables buttons, overflow menus, and modal forms (e.g. the feedback modal) to work in Slack messages from Tembo. *** ## Step 5: Install the App to Your Workspace 1. In the left sidebar, go to **Install App** 2. Click **Install to Workspace** and authorize *** ## Step 6: Configure Tembo From the Slack app settings page under **Basic Information**, gather the following values: * **App ID** * **Client ID** * **Client Secret** * **Signing Secret** Open `/var/lib/tembo/config.json` (via the VS Code server at `http://:8888` or via SSH) and add the following keys: ```json theme={null} { "slack.appId": "", "slack.clientId": "", "slack.clientSecret": "", "slack.signingSecret": "" } ``` | Key | Where to find it | | - | - | | `slack.appId` | Basic Information page, listed as **App ID** | | `slack.clientId` | Basic Information page, listed as **Client ID** | | `slack.clientSecret` | Basic Information page, listed as **Client Secret** | | `slack.signingSecret` | Basic Information page, listed as **Signing Secret** | After saving, restart the API: ```bash theme={null} sudo systemctl restart tembo-ts-api ``` Updating the config.json will also cause the instance API to restart automatically. *** ## Step 7: Verify 1. Go to your Tembo instance and navigate to **Settings > Integrations** 2. Click **Connect** on the Slack integration 3. Authorize the app in your workspace 4. Try mentioning the bot in a channel or sending it a direct message *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # Microsoft Teams Source: https://docs.tembo.io/features/self-hosted/integrations/teams Prepare a self-hosted Microsoft Teams bot integration with the Tembo team. > [!WARNING] > > Microsoft Teams is a sideload pilot. Contact [support](/support) to confirm your release supports it and obtain an app package configured for your own bot and deployment. The hosted Tembo package is not a ready-to-use self-hosted configuration. ## Prerequisites Complete the [shared prerequisites](/features/self-hosted/integrations/overview). You also need a Microsoft 365 administrator who can approve the application and custom app uploads, and access to provision an Entra application and Azure Bot resource. ## 1. Register the bot and OAuth application With the Tembo team, register an Entra application and Azure Bot resource, enable its Teams channel, and configure its messaging endpoint as `https://tembo.example.com/api/webhook/ms-teams`. Register `https://tembo.example.com/api/oauth/ms-teams/callback` as the OAuth web redirect URI. Tembo requests `openid`, `profile`, `email`, `offline_access`, and `User.Read`. Confirm the application account types and tenant policy with your administrator before installation. ## 2. Configure Tembo Set these keys in `/var/lib/tembo/config.json`: | Key | Value | | - | - | | `msteams.appId` | Bot's Entra application client ID | | `msteams.appPassword` | Bot application client secret value | | `msteams.appTenantId` | Tenant ID containing the bot registration | | `msteams.appType` | Bot application type matching the Azure registration | | `msteams.clientId` | OAuth client ID, if different from the bot app ID | | `msteams.clientSecret` | OAuth client secret, if different from the bot secret | The OAuth credentials fall back to `msteams.appId` and `msteams.appPassword` when left empty. Follow the [restart instructions](/features/self-hosted/integrations/overview#instance-configuration). ## 3. Install and verify 1. Have your administrator upload the self-hosted app package supplied for your deployment. 2. Complete the Teams connection from **Settings → Integrations** on your instance. 3. Install the app in the chat or team where you intend to use it. 4. Mention the bot with a test request and confirm a session appears on your instance and progress returns to the same conversation. If the bot does not respond, check the installed scope, bot ID in the package, messaging endpoint, and tenant policy. See [Teams usage and cloud limitations](/integrations/teams). # Agent hosts Source: https://docs.tembo.io/features/self-hosted/kubernetes/agent-hosts How agent hosts run sessions, and how the host controller manages them. Agent sessions run outside your cluster, on **agent hosts**: cloud instances that run each session in its own virtual machine. The chart's **host controller** runs in your cluster and launches, tracks and replaces them. Agent hosts are EC2 instances on AWS, or Compute Engine instances on GCP, started from Tembo's agent host image. The host controller gets it with your license key, and Tembo shares it with your AWS account or the controller's Google service account. They need nested virtualization, and they keep VM disks, snapshots and saved memory on the instance's local NVMe. ## Classes and pools You describe agent hosts in your Helm values, with two kinds of resources the chart creates. The Terraform module's Helm values create one of each, named `default`. * A **host class** says what to launch: the image, instance types, subnets, security groups, instance profile and root volume. * A **pool** says how many to run: `minHosts`, `maxHosts`, and `minIdleMemory`, the free memory to keep for new sessions. The controller creates a **host** resource for each instance it launches. List them with: ```bash theme={null} kubectl -n tembo get tembohostclasses,tembohostpools,tembohosts ``` ## Lifecycle 1. **Launch.** The controller starts an instance with the class's settings and tags it as its own. 2. **Configure.** The host reads its configuration from a Kubernetes Secret through the cluster's API, with a short-lived token the controller gives it at launch. This is the same configuration your Helm values give the platform. 3. **Register.** The host registers with your Tembo installation and becomes `Ready`, usually within a few minutes. The controller replaces a host that doesn't register within 15 minutes. 4. **Run sessions.** The host claims sessions and runs each one in its own virtual machine. Hosts read their image and configuration only when they start. When either changes, the controller replaces the running hosts, one at a time by default (see [Apply changes](/features/self-hosted/kubernetes/configuration#apply-changes)). ## Scaling The controller sizes each pool by memory: the memory its sessions use, plus the memory waiting sessions need, plus `minIdleMemory`. When that is more than the pool's hosts provide, it launches another host, up to `maxHosts`. It never goes below `minHosts`. To scale to zero, set both `minHosts: 0` and `minIdleMemory: 0`; otherwise the pool keeps the requested spare memory available even with no sessions. See [Agent hosts configuration](/features/self-hosted/kubernetes/configuration#agent-hosts). When a pool has more hosts than its demand needs, the controller removes a host that has been idle for `disruption.idleAfter` (10 minutes by default): no session virtual machines, agent turns or host jobs. Warm VMs don't count: removing the host stops them, and the remaining hosts keep their own. The controller removes the newest idle host, one per pool at a time, and never goes below `minHosts`. Removing a host drains it first. The host takes no new sessions, its virtual machines stop, and their snapshots upload to object storage; then the controller terminates the instance. If a session starts on the host while it drains, the controller keeps the host. To keep a host from being removed, annotate it: ```bash theme={null} kubectl -n tembo annotate tembohost hosts.tembo.io/do-not-disrupt=true ``` ## Sessions on a host * **Stopping.** When a session goes idle, its virtual machine stops. The host saves a snapshot of its disk and memory, and uploads the disk to object storage. * **Resuming.** On the same host, a session resumes from its saved memory, with its processes still running. On another host, for example after its host was replaced, it resumes from the disk in object storage, without the processes that were running. * **Project images.** A project build creates an image of the project's environment and stores it in object storage. Hosts download it on first use and keep a copy, so later sessions start in seconds. * **Warm VMs.** For projects with **Warm pool** on, hosts keep virtual machines booted from the project's image, ready for the next session. Saved memory only restores on a host with the same CPU, so keep all hosts on one processor generation (see [Instance types](/features/self-hosted/kubernetes/configuration#instance-types)). *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # Configuration Source: https://docs.tembo.io/features/self-hosted/kubernetes/configuration Change the defaults of Tembo on Kubernetes. Your `values.yaml` holds your overrides to the chart and Terraform module's defaults. Keep it alongside the module's values file; store credentials in Kubernetes Secrets. ## Apply changes Upgrade with the same files: ```bash theme={null} helm upgrade tembo oci://registry.tembo.io/tembo --version \ -n tembo -f tembo.json -f values.yaml ``` Agent hosts read their configuration and image when they start, and the controller replaces them for you. Within about five minutes of a change that reaches them, such as the GitHub App, your hostname, the database or a new agent host image, it marks the running hosts `Drifted` and replaces them, as many at a time as the pool's disruption budget allows (one by default): 1. The pool launches a replacement while the old host keeps taking sessions. 2. Once the replacement is ready, the old host is cordoned: it keeps serving the sessions already on it, but new sessions go to other hosts. 3. Once the old host has been idle for the pool's idle period (10 minutes by default), the controller drains and terminates it. The replacement launches alongside the old host only if the pool's `maxHosts` leaves room; otherwise the old host is cordoned right away and replaced once it's gone. The controller drains each host before terminating it: running agent turns finish, and session snapshots upload to object storage. Stopped sessions then resume on another host from object storage, without the processes that were running. A drain still going after the pool's `drainTimeout` (105 minutes by default) is marked `DrainStalled`. To keep a host from being replaced, annotate it with `hosts.tembo.io/do-not-disrupt=true`. To replace a host sooner, delete it: ```bash theme={null} kubectl -n tembo delete tembohost --wait=false ``` To terminate a host without draining it, annotate it as well. This ends the sessions running on it: ```bash theme={null} kubectl -n tembo annotate tembohost hosts.tembo.io/force-terminate=true ``` *** ## License key The license key also pulls Tembo's images from `registry.tembo.io`, and gets your AWS account access to the agent host image. To keep the key out of your values, put it in a Kubernetes Secret and reference it: ```yaml theme={null} license: existingSecret: tembo-license key: licenseKey ``` If you render the chart with `helm template` (for example with Argo CD or Flux), the chart can't read that Secret: add a `docker-registry` Secret for `registry.tembo.io`, with any username and the license key as the password, to `image.pullSecrets`. ## Ingress The chart serves Tembo through one Ingress at `ingress.host`, over HTTPS. On AWS, the load balancer uses your ACM certificate for the host. On GKE, `ingress.gcp.enabled` gets a Google-managed certificate instead; to serve on a reserved IP, add a `kubernetes.io/ingress.global-static-ip-name` annotation. With another Ingress controller, set `ingress.tls.secretName` to a TLS Secret. Computer previews get an Ingress of their own; see [Networking](/features/self-hosted/kubernetes/prerequisites/networking). `ingress.aws` and `ingress.gcp` share these settings (chart 1.0.0 and later): | Setting | What it does | | - | - | | `internal` | Serves the main Ingress only on your network; the public Ingress stays internet-facing. | | `redirectToHttps` | Redirects HTTP to HTTPS (on by default). | | `timeoutSeconds` | How long requests and websockets can stay open (default `3600`). | | `certificates` | ACM ARNs on AWS or pre-shared certificate names on GKE. Empty uses the cloud's defaults. | The load balancer is internet-facing, so GitHub and other providers can deliver webhooks. To keep Tembo on your network, make it internal: ```yaml theme={null} ingress: aws: internal: true ``` On EKS Auto Mode, set `scheme: internal` in the IngressClassParams instead. On GKE, set `ingress.gcp.internal`. An internal GKE Ingress can't use a Google-managed certificate or the HTTPS redirect, so give it a TLS Secret for your hostname: ```yaml theme={null} ingress: tls: secretName: tembo-tls gcp: enabled: true internal: true annotations: # Optional: a reserved regional internal IP, by name. kubernetes.io/ingress.regional-static-ip-name: tembo-internal ``` An internal GKE Ingress also needs a proxy-only subnet in the cluster's region (purpose `REGIONAL_MANAGED_PROXY`) and a firewall rule letting that subnet reach the cluster's pods. ### Public API host A second, internet-facing Ingress can serve only the routes providers call, so the rest of Tembo stays on your network: ```yaml theme={null} ingress: host: tembo.example.com aws: enabled: true internal: true public: enabled: true host: api.tembo.example.com ``` It serves webhooks, Slack interactivity, OIDC discovery for AWS integrations, MCP client metadata and the images in pull request comments, and returns 404 for anything else. Give its host DNS and a certificate; see [Networking](/features/self-hosted/kubernetes/prerequisites/networking). * **Provider settings:** Tembo registers webhooks at the public host. Where a provider's page asks for a webhook or event URL (the GitHub App, Slack, Linear, Sentry, Teams), use `https://api.tembo.example.com/api/...`. OAuth callback URLs stay on `ingress.host`. For an existing GitHub App, change its webhook URL and check **Active**. * **EKS Auto Mode:** the IngressClassParams decide the scheme, so set `ingress.public.className` to an internet-facing class. * **GKE:** the public Ingress is external, with a Google-managed certificate for its host. * **API and MCP from outside your network:** for CI or hosted MCP clients, add `/api/public-api/` and `/mcp` to `ingress.public.paths`. * **AWS integrations with OIDC:** the token issuer moves to the public host. Recreate the IAM OIDC provider, and the roles' trust policies, for it. Without it, on an internal network, uncheck **Active** on the GitHub App: comments that mention Tembo, issue and pull request triggers, and pull request status updates then don't work. ## Postgres and Redis By default, the chart runs Postgres and Redis in your cluster. Agent hosts reach them through internal load balancers at `postgres.` and `redis.`; set `postgresql.hostAccess.hostname` or `redis.hostAccess.hostname` to use other names. Keep these load balancers internal and use [private DNS](/features/self-hosted/kubernetes/prerequisites/networking#dns-for-internal-services). Configure source restrictions in Terraform using the selected host subnets, rather than copying CIDRs into `values.yaml`; the [GCP module example](/features/self-hosted/kubernetes/prerequisites/gcp#install-the-module) derives them from the module's `host_subnetwork_cidr` output. Older charts shipped Redis without authentication; current charts generate a Redis password. The bundled Postgres also uses a generated password. Passwords do not replace network restrictions, and the bundled services do not provide TLS. The bundled data stores are for evaluation. For production, use managed services, such as Amazon RDS and ElastiCache or Cloud SQL and Memorystore, for backups and high availability: ```yaml theme={null} postgresql: enabled: false external: # A Secret in the namespace with a DATABASE_URL key. existingSecret: tembo-database redis: enabled: false external: host: port: 6379 # Only if Redis uses TLS, e.g. ElastiCache with in-transit encryption. tls: true ``` * Agent hosts connect to them directly. On AWS, add `host_access_rules` to the Terraform module for their security groups. * Each agent host holds about 50 database connections. Set the database's `max_connections` to about 50 per host, plus 50. * If Redis needs a password, set `redis.password` under `config`. * `redis.external.tls` is off by default. The bundled Redis never uses TLS. ### Bundled Postgres credentials The chart stores both `postgres-password` and `DATABASE_URL` in `-conn`. Changing the Secret does not change the password of an existing Postgres database. Changing only `postgres-password` leaves the URL stale, and the pre-upgrade migrations job can fail before the platform rolls out. There is no chart value to rotate the bundled password. Before a manual rotation, back up the database and plan a maintenance window: the database role password, both Secret keys, and all clients must agree. Contact support for help with an existing install, or use a managed database's rotation procedure for production. Treat connection URLs as credentials when sharing logs. ## Agent hosts The module's Helm values create a host class and a pool, both named `default`. The pool keeps one host running, adds hosts when less than 32 GiB of memory is free, and runs up to three. To change it: ```yaml theme={null} compute: hostPools: default: minHosts: 1 maxHosts: 5 minIdleMemory: 32Gi disruption: # How long a host stays idle before the pool removes it. idleAfter: 10m # How many hosts may drain at once. budgets: - hosts: "10%" drainTimeout: 105m ``` To scale to zero, set **both** `minHosts` and `minIdleMemory` to zero: ```yaml theme={null} compute: hostPools: default: minHosts: 0 minIdleMemory: 0 ``` With the default `minIdleMemory: 32Gi`, the pool keeps capacity running even when `minHosts` is zero. Hosts are removed after their session VMs stop and the idle period passes; the next session waits for a host to start. See [Agent hosts](/features/self-hosted/kubernetes/agent-hosts) for how pools scale. Scaling hosts to zero does not stop the cluster, data stores, NAT or load balancers. Those resources can still incur charges while no sessions run. ### Instance types Set the module's `instance_types` on AWS, or `machine_types` on GCP. Agent hosts need nested virtualization, and must fit the largest [sandbox size](/features/sandbox/overview#sandbox-sizes) you use: its vCPUs plus 1, and its memory plus about 8 GiB. | Largest size | AWS | GCP | | - | - | - | | `xl` or smaller | `c8id.8xlarge` (32 vCPU, 64 GiB), the default | `n2-custom-32-65536` (32 vCPU, 64 GiB) with 4 local SSDs, the default | | `xxl` | `c8id.12xlarge` (48 vCPU, 96 GiB) | `n2-custom-48-98304` (48 vCPU, 96 GiB) | * **Use local NVMe** (the `d` in `c8id`; local SSDs on GCP, `local_ssd_count`). Hosts keep VM disks and snapshots on it; on network disks, stopping and forking sessions is much slower. * **On GCP, use Intel machine types** (N2, C3): Compute Engine supports nested virtualization only on Intel CPUs. * **Use about 1 vCPU per 2 GiB.** Pools add hosts based on memory, so hosts should run out of memory before CPU. * **Use one processor generation**, such as only `c8id` and `m8id`. Sessions resume from saved memory only on a matching CPU. ### Overallocation By default, hosts admit sandbox VMs without overallocating CPU or memory. To allow more allocated vCPUs on a host whose sessions spend much of their time idle: ```yaml theme={null} compute: hosts: config: sandbox.cpuOverallocationFactor: 1.2 sandbox.memoryOverallocationFactor: 1 ``` | Setting | Default | Range | Effect | | - | - | - | - | | `sandbox.cpuOverallocationFactor` | `1` | At least `1` | Multiplies the physical vCPU count used for admission. `1.5` allows 50% more allocated sandbox vCPUs. | | `sandbox.memoryOverallocationFactor` | `1` | `1`–`2` | Caps total configured sandbox RAM relative to usable host RAM in memory density mode. | These settings do not add physical resources or change a VM's size. Increase CPU overallocation gradually while watching CPU pressure and session latency. Keep memory at `1` until you have validated your workloads under load; raising it increases memory pressure. Each VM must still fit the host's physical capacity. Hosts read these settings at boot. Apply the values and let the controller replace existing hosts before expecting them to take effect (see [Apply changes](#apply-changes)). ### Warm VMs For projects with **Warm pool** on, each host keeps up to 2 warm VMs per size, and 1 for `large`, `xl` and `xxl`. To change a size, or turn it off with 0: ```yaml theme={null} compute: hosts: config: sandbox.warmPool.micro: 0 ``` ## Sign-in and registration Email and password registration and login are enabled by default. Configure [Google sign-in](/features/self-hosted/kubernetes/prerequisites/gcp#sign-in-with-google) or [GitHub sign-in](/features/self-hosted/kubernetes/prerequisites/github#github-sign-in-and-connected-accounts) before inviting users. These settings apply to your whole install, on any cloud. Set these keys under `config` in your Helm values: | Key | Default | Effect | | - | - | - | | `betterAuth.enabledOauthProviders` | Empty | A comma-separated list of enabled OAuth providers. Empty enables all configured providers. Controls both sign-in and account linking. | | `betterAuth.emailPasswordAuthEnabled` | `true` | Set to `false` to disable both email/password registration and login. Verify another sign-in method works first. | These settings are not an email-domain allowlist or invite-only mode. Restrict access at your network or identity provider before making the install available to untrusted users. For a Google Workspace-only install, see [Restrict sign-in to Google](/features/self-hosted/kubernetes/prerequisites/gcp#restrict-sign-in-to-google). If existing email/password users get `account_not_linked` when switching to OAuth, keep their working login available and contact support. Self-hosted email/password accounts are not email-verified automatically, which can prevent automatic linking; do not disable their login until they can sign in with the new provider. ## Model providers Each organization connects its own model providers in the Tembo app. There's no key to get from Tembo and nothing to set in the chart. 1. As an organization admin, open **Settings → Models → API Keys**. 2. Add credentials for a provider. When you save them, Tembo checks them with the provider and tells you if they don't work. | Provider | Credentials | Access they need | | - | - | - | | Anthropic, OpenAI or xAI | An API key | — | | AWS Bedrock | An access key ID, secret access key and region | Invoke the models in that region (`bedrock:InvokeModel` and `bedrock:InvokeModelWithResponseStream`), with model access enabled there | | GCP Vertex AI | A service account JSON key, project and location | Vertex AI User (`roles/aiplatform.user`) on the project, with the models enabled in that location | | OpenRouter | An API key | — | 3. In **Settings → Models**, pick the provider each model runs through. Before the first session, configure credentials for its selected agent and model. An Anthropic key does not authorize an OpenAI model, or vice versa. Missing credentials can surface as a provider `401` after a session starts. Internal prompts, such as session titles and fast helpers, also need credentials. In Tembo 0.2.895, these use Claude models through the organization's Bedrock, Vertex AI, OpenRouter or Anthropic API credentials. An OpenAI key alone does not cover them. Verify that a first session completes a turn **and** gets a generated title. Your cluster needs outbound HTTPS to the providers you use. ### LiteLLM Requests that use AWS Bedrock, GCP Vertex AI or OpenRouter go through LiteLLM, which the chart runs in your cluster. That includes internal prompts when they use one of those providers. LiteLLM holds no provider keys: each request carries the organization's credentials. Requests using an organization's direct Anthropic, OpenAI or xAI credentials go to the provider directly. Keep LiteLLM enabled unless you have verified that all session models and internal prompts use direct providers. Disabling it does not supply missing credentials or make other providers take over. Older releases can also send internal model aliases, including `tembo-fast`, to LiteLLM without a direct fallback; after changing this setting, check session titles and helper features as well as agent turns. ```yaml theme={null} litellm: # Off, Bedrock, Vertex AI and OpenRouter are unavailable. enabled: true # Mirror the image if your cluster can't pull from ghcr.io. image: ghcr.io/berriai/litellm:v1.106.2 ``` The API authenticates to LiteLLM with a master key. The chart generates it on install and keeps it in the `-litellm` Secret, so you don't need to create one. To choose it yourself, set `litellm.masterKey` under `config`, or in a Secret listed under `configSecrets`. If you render the chart with `helm template` (for example with Argo CD), the chart can't read your cluster: a generated key would change on every render, and `configSecrets` can't be read. Set the key under `config` instead, from a values file you keep encrypted: ```yaml theme={null} config: litellm.masterKey: "sk-" ``` ## Cluster resources The chart sets CPU and memory requests for its components. Raise `.resources.requests` for heavier use; for example, `api.resources` and `litellm.resources` configure those pods. Size cluster nodes for the sum of requests plus Kubernetes system pods and upgrade headroom. These cluster resources are separate from the agent-host capacity described above. Keep the API and bundled data stores on reliable capacity. Spot-only clusters can lose the whole install during a preemption, and an on-demand baseline plus Spot overflow does not itself guarantee which pods run on which nodes. ## Node autoscalers Each Tembo component runs as a single pod. A node autoscaler that evicts one to consolidate nodes takes that component down until its replacement starts, which can take a few minutes for the API. Annotate the pods so your autoscaler leaves them in place; upgrades and node drains still replace them. On EKS Auto Mode or Karpenter: ```yaml theme={null} podAnnotations: karpenter.sh/do-not-disrupt: "true" ``` On GKE, or with the Cluster Autoscaler: ```yaml theme={null} podAnnotations: cluster-autoscaler.kubernetes.io/safe-to-evict: "false" ``` Nodes running these pods aren't consolidated, so on EKS your cluster may keep a node it could otherwise remove. GKE Autopilot bills by pod requests, so it doesn't cost more there. ## Object storage The module creates a bucket (S3 on AWS, GCS on GCP) and sets `objectStorage` in its Helm values. To use a bucket you already have, set the module's `object_storage_bucket_name`, and allow your Tembo URL in its CORS. On GCP, Tembo signs upload and download links with its service account through IAM, which needs `roles/iam.serviceAccountTokenCreator` on that service account; the module grants it. Without object storage (`object_storage_enabled = false`), project builds and file uploads are off. ## Integrations * **GitHub:** see [GitHub](/features/self-hosted/kubernetes/prerequisites/github). * **Others**, such as Slack or Linear: set their config keys under `config`, or keep them in Secrets listed under `configSecrets`. ## Usage telemetry From chart 1.1.0, Tembo sends usage counts to Tembo's PostHog at `us.i.posthog.com`: pull requests opened and merged, sessions, automation runs and integrations, tagged with your install's hostname. Events carry actions, statuses, counts and IDs only, never repository names, URLs, titles, code or prompts. It's on by default. To turn it off, or if your cluster has no outbound access to `us.i.posthog.com`: ```yaml theme={null} telemetry: enabled: false ``` *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # Deploy Source: https://docs.tembo.io/features/self-hosted/kubernetes/deploy Install Tembo on your cluster with one helm install. > [!NOTE] > > Kubernetes support is currently in early access. To get on the list, book a demo call with the Tembo team: [Book a Demo](https://book.avoma.com/tembo/tembo-demo/) Complete the [prerequisites](/features/self-hosted/kubernetes/prerequisites/overview) and set up [GitHub](/features/self-hosted/kubernetes/prerequisites/github) first. The values below name its Secret in `github.existingSecret`; leave that out to set up GitHub later. With their Helm values, the chart's defaults run everything Tembo needs: the platform, Postgres and Redis, and a pool of agent hosts. To change any of it, see [Configuration](/features/self-hosted/kubernetes/configuration). Don't pass `--wait` to the first `helm install` with Helm 4. Its default wait strategy waits for the host pool, which becomes ready only after the chart's post-install database migrations run, so the install times out. Later `helm upgrade --wait` runs are fine, since migrations run before the upgrade. The chart is at `oci://registry.tembo.io/tembo`. Sign Helm in to the registry with your license key as the password: ```bash theme={null} read -s TEMBO_LICENSE_KEY echo "$TEMBO_LICENSE_KEY" | helm registry login registry.tembo.io --username tembo --password-stdin ``` Each chart version runs one Tembo release, so `--version` below is the only version you pin; to upgrade Tembo, upgrade to a newer chart. To see the latest version: ```bash theme={null} helm show chart oci://registry.tembo.io/tembo | grep '^version' ``` *** ## On AWS Create `values.yaml`: ```yaml theme={null} licenseKey: '' ingress: className: alb host: tembo.example.com aws: enabled: true github: existingSecret: tembo-github-app ``` `ingress.aws` serves Tembo through internet-facing ALBs that redirect HTTP to HTTPS, with your ACM certificate. Install the chart with the module's values, `tembo.json` from [AWS prerequisites](/features/self-hosted/kubernetes/prerequisites/aws#configure-the-chart-with-its-outputs), first so yours override them: ```bash theme={null} helm install tembo oci://registry.tembo.io/tembo --version \ -n tembo --create-namespace \ -f tembo.json -f values.yaml ``` Without external-dns, create DNS records once the load balancers exist (`kubectl -n tembo get ingress,svc` shows them): your public hostname for the Ingress, and private records for the internal Services. Follow [Networking](/features/self-hosted/kubernetes/prerequisites/networking#2-dns) for Postgres, Redis, Sandbar and preview DNS. The first agent host is ready in about four minutes: ```bash theme={null} kubectl -n tembo get tembohosts ``` ## On GCP Create `values.yaml`: ```yaml theme={null} licenseKey: '' ingress: host: tembo.example.com gcp: enabled: true github: existingSecret: tembo-github-app ``` `ingress.gcp` serves Tembo through GKE's Ingress with a Google-managed certificate for your hostname, and redirects HTTP to HTTPS. Install the chart with the module's values, `tembo.json` from [GCP prerequisites](/features/self-hosted/kubernetes/prerequisites/gcp#configure-the-chart-with-its-outputs), first so yours override them: ```bash theme={null} helm install tembo oci://registry.tembo.io/tembo --version \ -n tembo --create-namespace \ -f tembo.json -f values.yaml ``` Without external-dns, create DNS records once the load balancers exist (`kubectl -n tembo get ingress,svc` shows them): your public hostname for the Ingress, and [Cloud DNS private records](/features/self-hosted/kubernetes/prerequisites/gcp#dns) for Postgres, Redis and Sandbar. Configure [preview DNS and TLS](/features/self-hosted/kubernetes/prerequisites/networking) too. The certificate is issued once your hostname resolves to the Ingress, which can take up to an hour. The first agent host is ready in a few minutes: ```bash theme={null} kubectl -n tembo get tembohosts ``` ## On Azure Coming soon. *** ## After installing 1. **Sign in.** Open `https://`, sign up and create your workspace. To use Google or GitHub login, configure [Google sign-in](/features/self-hosted/kubernetes/prerequisites/gcp#sign-in-with-google) or [GitHub sign-in](/features/self-hosted/kubernetes/prerequisites/github#github-sign-in-and-connected-accounts) before inviting teammates. 2. **Add model credentials** in **Settings > Models** before starting a session. Configure the provider for the agent and model you select, plus the credentials needed for [internal prompts](/features/self-hosted/kubernetes/configuration#model-providers), such as session titles. 3. **Connect GitHub** in **Settings > Integrations** (see [Connect GitHub](/features/self-hosted/kubernetes/prerequisites/github#step-5-connect-github)). 4. **Start a session** on one of your repositories. Confirm a turn finishes and a session title appears; then send another message to verify continued connectivity. Self-hosted installs don't email invitations: teammates sign up at `https:///sign-up`, then you invite them under **Settings > Workspace > Members**. *** ## Troubleshooting **A first-install dry run fails on missing custom resources.** `helm install --dry-run=server` cannot install the chart's CRDs, so custom resource validation can fail on a fresh cluster. `helm template` also cannot read `github.existingSecret`, `google.existingSecret` or `configSecrets`. These errors do not by themselves mean the real install will fail. See [GitOps and helm template](/features/self-hosted/kubernetes/prerequisites/github#gitops-and-helm-template) for offline rendering. **On GCP, `kubectl` hangs.** Check [control-plane access](/features/self-hosted/kubernetes/prerequisites/gcp#vpc-and-subnetwork) and fetch credentials for the DNS endpoint. An IP endpoint with an empty authorized-networks allowlist can time out without an immediate error. **Connecting a personal GitHub account fails with "Missing OAuth redirect URL".** Configure [GitHub sign-in and connected accounts](/features/self-hosted/kubernetes/prerequisites/github#github-sign-in-and-connected-accounts); the repository GitHub App settings alone do not enable it. **A host doesn't reach `Ready`.** The controller replaces a host that doesn't register within 15 minutes. Read its boot log and look for `tembo-host-config`: ```bash theme={null} # AWS aws ec2 get-console-output --instance-id --latest # GCP gcloud compute instances get-serial-port-output \ --project= --zone= | grep tembo-host-config ``` Hosts must reach the cluster's API endpoint and resolve and connect to the private `postgres.` and `redis.` hostnames. On GCP, check the private endpoint's authorized networks as well as firewall rules. Boot logs may contain configuration URLs or credentials; redact them before sharing. **Connecting GitHub fails with "Failed to get extra data for integration".** The GitHub App needs the **Members** organization permission. Set it to **Read-only**, approve the change on your organization's installation, then connect again. **GitHub says it sent an installation request.** Only owners of the GitHub organization can connect it. **The agent can't clone a repository.** Enable it in **Settings > Repositories**. **Webhooks never arrive.** Check the GitHub App's **Advanced > Recent deliveries**. If GitHub can't connect, your Ingress, or the public one with `ingress.public`, isn't reachable from the internet. If deliveries succeed, check the app's webhook secret against the one the install notes print. **Inviting a teammate fails with "Organization member not found".** They need to sign up first. **Sessions fail with a provider `401`, or titles never appear.** Check the selected agent's credentials and the separate requirements for [internal prompts](/features/self-hosted/kubernetes/configuration#model-providers) in **Settings > Models**. A working provider for one agent does not authorize every model. **Sessions fail at once, with "too many clients already" in the API's logs.** Postgres is out of connections. See [Postgres and Redis](/features/self-hosted/kubernetes/configuration#postgres-and-redis). **On GCP, agents fail with "Unable to connect" once a few sessions run.** The agent host is out of Cloud NAT ports. Turn on dynamic port allocation (see [VPC and subnetwork](/features/self-hosted/kubernetes/prerequisites/gcp#vpc-and-subnetwork)). The NAT's `dropped_sent_packets_count` metric with reason `OUT_OF_RESOURCES` confirms it. **A session fails with "Host CPU count (…) is too small" or "Host total memory (…) is too small".** Its size doesn't fit your hosts' instance type. See [Instance types](/features/self-hosted/kubernetes/configuration#instance-types). *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # How it works Source: https://docs.tembo.io/features/self-hosted/kubernetes/how-it-works The services Tembo deploys in your cluster, and what you can bring yourself. The `tembo` Helm chart installs the whole platform in one namespace. Agent sessions don't run in the cluster: they run in virtual machines on agent hosts, which the chart's host controller launches next to it (see [Agent hosts](/features/self-hosted/kubernetes/agent-hosts)). ## Services in the cluster | Service | What it does | | - | - | | **Web** | The Tembo web app. | | **API** | Product workflows, sign-in, integrations, webhooks, and the endpoints agent hosts call. | | **Worker** | Background jobs the API and cron queue, such as syncing repositories. | | **Cron** | Scheduled jobs, such as cleanup and scheduled project builds. | | **Migrations** | A job that updates the database schema on every install and upgrade. | | **Host controller** | Launches and tracks agent hosts (see [Agent hosts](/features/self-hosted/kubernetes/agent-hosts)). | | **Postgres** | The database. Bundled, or a managed database you provide. | | **Redis** | Queues, caching and live updates. Bundled, or a managed Redis you provide. | | **LiteLLM** | Sends model requests made with an organization's own AWS Bedrock, GCP Vertex AI or OpenRouter credentials. Bundled. | The chart generates the secrets the platform needs once, such as signing and encryption keys and the GitHub webhook secret, and keeps them across upgrades. ## Postgres and Redis By default, Postgres and Redis run as single pods in your cluster, which suits evaluation. For production, use managed services, such as Amazon RDS and ElastiCache. Agent hosts run outside the cluster and connect to both directly. See [Postgres and Redis](/features/self-hosted/kubernetes/configuration#postgres-and-redis). ## Object storage Tembo keeps project images, session snapshots, file uploads and agent assets in one object storage bucket. The [Terraform module](/features/self-hosted/kubernetes/prerequisites/overview) creates the bucket and its access: S3 on AWS, GCS on GCP. ## Configuration Your Helm values describe the whole install (see [Configuration](/features/self-hosted/kubernetes/configuration)). The chart passes the same configuration to agent hosts through a Kubernetes Secret, which each host reads when it starts. Model providers, workspaces and members are set up in the Tembo app. *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # Overview Source: https://docs.tembo.io/features/self-hosted/kubernetes/overview Deploy Tembo self-hosted on Kubernetes. > [!NOTE] > > Kubernetes support is currently in early access. To get on the list, book a demo call with the Tembo team: [Book a Demo](https://book.avoma.com/tembo/tembo-demo/) Tembo runs entirely in your cloud as a single Helm chart. It deploys the whole platform into your cluster: web, API, background jobs and supporting services. Postgres and Redis can run in your cluster alongside it or as managed services you already operate. Agents get stronger isolation than containers can offer. Every agent session runs in its own virtual machine on a dedicated agent host, not in a Kubernetes pod. Your cluster runs no privileged workloads, your nodes stay untouched, and agent code never shares a kernel with your apps. ## How it works Tembo on Kubernetes has three layers: | Layer | Runs on | Managed by | | - | - | - | | **Platform**: web, API, background jobs | Pods in your cluster | Helm | | **Data**: Postgres and Redis | Pods in your cluster, or managed services (e.g. Amazon RDS, ElastiCache) | Helm, or your cloud provider | | **Agents**: one isolated VM per session | Dedicated agent hosts | Tembo's agent host controller | You install the platform once. The agent layer adds hosts as your workload grows. See [How it works](/features/self-hosted/kubernetes/how-it-works) for the services in your cluster, and [Agent hosts](/features/self-hosted/kubernetes/agent-hosts) for the agent layer. ## Agent hosts You describe the agent hosts you want in your Helm values, and the controller runs them. If you've used [Karpenter](https://karpenter.sh) or the [GitHub Actions Runner Controller](https://github.com/actions/actions-runner-controller), the model will feel familiar. The controller: * **Scales on demand.** It launches hosts as sessions need room, and removes hosts that sit idle, within the limits you set. * **Joins hosts automatically.** New hosts register with your Tembo installation. * **Replaces hosts that fail to start.** A host that doesn't register in time is replaced. ### Supported providers | Provider | Status | | - | - | | AWS EC2 | Available in early access | | Google Compute Engine | Available in early access | | Static hosts (machines you provide) | Planned, based on demand | | Azure | Planned, based on demand | ## Configured as code Everything about your deployment lives in files you can review, version and promote between environments: * **Helm values:** domain, ingress, TLS, images, and whether to use the bundled database and cache or bring your own. * **Agent hosts:** instance types, network placement and scaling limits. * **Terraform:** the cloud permissions and object storage, from Tembo's module. All of it works with your existing pipeline, whether that's `helm upgrade` in CI or a GitOps tool. ## Security * **Runs in your account.** The platform, agent hosts and session data all stay in infrastructure you own. * **VM isolation for agents.** Each session runs in its own virtual machine with its own kernel, separate from your cluster. * **No privileged pods.** The chart doesn't need host access, privileged containers or special node configuration. * **Least-privilege cloud access.** The controller only manages resources it created and tagged. ## Get started [Install the prerequisites](/features/self-hosted/kubernetes/prerequisites/overview) with Tembo's Terraform module, then [deploy the Helm chart](/features/self-hosted/kubernetes/deploy). To join early access, [book a demo](https://book.avoma.com/tembo/tembo-demo/). *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # AWS Source: https://docs.tembo.io/features/self-hosted/kubernetes/prerequisites/aws Prepare EKS and your VPC for Tembo, apply the tembo-agent-host Terraform module, and use its outputs to configure the chart. On AWS, Tembo runs on EKS and launches agent hosts as EC2 instances in your VPC. Prepare the cluster and network first, then apply the [`tembo-agent-host` module](https://github.com/tembo/terraform-aws-tembo-agent-host), and use its outputs to configure the chart. *** ## Before you run Terraform ### Cluster * **An EKS cluster with the EKS Pod Identity agent.** EKS Auto Mode includes it. To use IAM roles for service accounts instead, set the module's `identity_type = "irsa"`; the cluster then needs an IAM OIDC provider. * **An IngressClass named `alb`.** The AWS Load Balancer Controller creates it. On EKS Auto Mode, create it yourself: ```yaml theme={null} apiVersion: eks.amazonaws.com/v1 kind: IngressClassParams metadata: name: alb spec: scheme: internet-facing --- apiVersion: networking.k8s.io/v1 kind: IngressClass metadata: name: alb spec: controller: eks.amazonaws.com/alb parameters: apiGroup: eks.amazonaws.com kind: IngressClassParams name: alb ``` * **An ACM certificate for your hostname**, in the cluster's region. The load balancer uses it for HTTPS. ### VPC and subnets Agent hosts launch into subnets you choose, in the cluster's VPC: * **Private subnets with a NAT gateway.** Hosts need outbound access to your Tembo URL, Tembo's API, object storage, LLM providers and code hosts such as GitHub. * **Several Availability Zones that offer your instance types.** The default, `c8id.8xlarge`, isn't offered in every zone; when one zone runs out of capacity, the host controller tries the next. To list the zones that offer it: ```bash theme={null} aws ec2 describe-instance-type-offerings --location-type availability-zone \ --filters Name=instance-type,Values=c8id.8xlarge --query 'InstanceTypeOfferings[].Location' ``` * **The cluster's API reachable from them.** Hosts read their configuration through the cluster endpoint. Turn on the endpoint's private access, so hosts reach it inside the VPC; the module opens port 443 on the cluster security group for them. With public access only, allow your NAT gateways' addresses in the endpoint's public access CIDRs. The module selects subnets by ID (`host_subnet_ids`) or by an existing tag (`host_subnet_tags`), such as `karpenter.sh/discovery`. It doesn't change or tag them. If you use your own Postgres or Redis instead of the chart's, note their security groups: agent hosts connect to them too (see `host_access_rules` below). ### Quotas Each `c8id.8xlarge` host uses 32 vCPUs of the **Running On-Demand Standard (A, C, D, H, I, M, R, T, Z) instances** quota in the region, which also counts your cluster's on-demand nodes. The default pool runs up to three hosts. Check the quota in **Service Quotas > Amazon EC2** and request more if needed. ### Permissions to apply The identity that runs Terraform needs to read the EKS cluster and create: * IAM roles, inline policies and an instance profile. * A security group and its rules, including a rule on the cluster security group. * An S3 bucket and its settings. * EKS Pod Identity associations. *** ## Install the module ```hcl theme={null} module "tembo" { source = "git::https://github.com/tembo/terraform-aws-tembo-agent-host.git?ref=v0.2.2" cluster_name = "" kubernetes_namespace = "tembo" release_name = "tembo" vpc_id = "" host_subnet_ids = ["", ""] # Your Tembo URL, so browsers can upload files. object_storage_cors_allowed_origins = ["https://tembo.example.com"] # With your own Postgres or Redis, let agent hosts reach them: # host_access_rules = [ # { security_group_id = "", port = 5432, description = "Postgres from Tembo agent hosts" }, # { security_group_id = "", port = 6379, description = "Redis from Tembo agent hosts" }, # ] } output "helm_values" { value = module.tembo.helm_values } ``` ```bash theme={null} terraform init terraform apply ``` It needs AWS provider 5.79 or later. The module creates: * **The host controller's role**, bound to the chart's service account through EKS Pod Identity. It can launch instances only into your subnets, with the module's security group and instance profile, and terminate only the instances it tagged. * **The agent hosts' role and instance profile**, with access to the install's bucket and, by default, Session Manager. * **The hosts' security group:** the host manager's port (8743) from the cluster, all egress, and the hosts' access to the Kubernetes API. * **An S3 bucket** for project images, session snapshots and file uploads, and the control plane's role to use it. To use a bucket you have, set `object_storage_bucket_name`. Set `kubernetes_namespace` and `release_name` to the namespace and release you'll install the chart with: the roles trust only the chart's service accounts in that namespace. See the [module's inputs](https://github.com/tembo/terraform-aws-tembo-agent-host#inputs) for the other options, such as `instance_types`. *** ## Configure the chart with its outputs Save the module's Helm values: ```bash theme={null} terraform output -json helm_values > tembo.json ``` They configure the chart for the resources the module created: * The host controller, with its role. * A host class named `default`, with your subnets, the security group, the instance profile, `c8id.8xlarge` and Tembo's `stable` agent host image. * A pool named `default`, of one to three hosts. * Object storage, with the bucket and the control plane's role. * On EKS Auto Mode, the class for the load balancers agent hosts reach Postgres and Redis through. [Deploy](/features/self-hosted/kubernetes/deploy) with `tembo.json` first and your own `values.yaml` after it, so yours override them. To change the agent hosts, see [Agent hosts](/features/self-hosted/kubernetes/configuration#agent-hosts); to use managed Postgres or Redis, see [Postgres and Redis](/features/self-hosted/kubernetes/configuration#postgres-and-redis). Next, set up [GitHub](/features/self-hosted/kubernetes/prerequisites/github). *** ## DNS Use Route 53 private hosted zones associated with the hosts' VPC for `postgres.`, `redis.` and `sandbar.`. A zone for each internal hostname avoids shadowing the public app and preview names. Configure [external-dns for Route 53](https://kubernetes-sigs.github.io/external-dns/latest/docs/tutorials/aws/) to watch Services and manage these zones. The chart already annotates each internal Service with its hostname, so external-dns creates and updates records when the load balancers become available. Keep public and private zone filters separate. Without external-dns, create private records from the load balancer addresses shown by `kubectl -n tembo get svc`. ## Ingress and certificates We use the AWS Load Balancer Controller (EKS Auto Mode), external-dns and ACM. ```yaml theme={null} ingress: className: alb host: tembo.example.com aws: enabled: true ``` * **Load balancers:** `ingress.aws` makes each Ingress an internet-facing ALB with an HTTPS redirect, and sets its health checks. On EKS Auto Mode, internal load balancers need the `eks.amazonaws.com/nlb` class. The module's Helm values set it for Postgres and Redis, and Sandbar uses the same one. * **Certificates:** request ACM certificates for `tembo.example.com` and `*.previews.tembo.example.com` in the cluster's region. The ALB finds them by name, or list their ARNs in `ingress.aws.certificates`. With `ingress.public`, also request a certificate for its hostname; list its ARN in `ingress.public.certificates` if needed. It can't use Kubernetes Secrets, so cert-manager doesn't apply here. *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # GCP Source: https://docs.tembo.io/features/self-hosted/kubernetes/prerequisites/gcp Prepare GKE and your VPC for Tembo, apply the tembo-agent-host Terraform module for Google Cloud, and use its outputs to configure the chart. On GCP, Tembo runs on GKE and launches agent hosts as Compute Engine instances in your VPC. Prepare the projects, cluster and network first, then apply the [`tembo-agent-host` module for Google Cloud](https://github.com/tembo/terraform-google-tembo-agent-host), and use its outputs to configure the chart. *** ## Before you run Terraform Starting from an empty project? The module's [complete example](https://github.com/tembo/terraform-google-tembo-agent-host/tree/v0.2.0/examples/complete) creates everything below: a VPC with a subnetwork for hosts, Cloud NAT with dynamic port allocation, and a private GKE Autopilot cluster that hosts can reach. ### Projects and APIs * **A project for agent hosts.** The host controller can create instances anywhere in the hosts' project, and change or delete only its own. We recommend a project of its own for agent hosts: set it as the module's `host_project_id`. Otherwise hosts run in the cluster's project. * **APIs enabled** in those projects: Compute Engine, IAM, IAM Service Account Credentials and Cloud Storage (`compute.googleapis.com`, `iam.googleapis.com`, `iamcredentials.googleapis.com`, `storage.googleapis.com`). If `gcloud` reports `RESOURCE_EXHAUSTED` for Resource Manager reads against a shared consumer project, use a project you control for CLI quota. Enable the APIs there before setting the quota project: ```bash theme={null} gcloud services enable cloudresourcemanager.googleapis.com cloudbilling.googleapis.com \ --project= gcloud config set billing/quota_project ``` You need `serviceusage.services.use` on that project. This changes API request quota attribution, not Compute Engine CPU or disk quotas. Newly enabled APIs can take a short time to become usable; retry a `SERVICE_DISABLED` response after propagation. ### Cluster * **A VPC-native GKE cluster** (Autopilot or Standard) **with Workload Identity**. Autopilot clusters always have it. * **Your access to the control plane.** Check authorized networks on a new cluster: an empty allowlist can leave `kubectl` hanging, and enforcement on the private endpoint can also block agent hosts. Use the DNS endpoint for administrators and authorize the hosts' subnet for the private endpoint (see below). * **Ingress:** the chart serves Tembo through GKE's Ingress with a Google-managed certificate (`ingress.gcp.enabled`), so you don't need a certificate in advance. GKE issues it once your hostname resolves to the Ingress. ### VPC and subnetwork Agent hosts launch into a subnetwork you choose, in the cluster's VPC: * **Cloud NAT and Private Google Access.** Hosts have no external addresses. They need NAT for egress to your Tembo URL, Tembo's API, LLM providers and code hosts such as GitHub, and Private Google Access for Cloud Storage and IAM. * **Dynamic port allocation on the NAT,** with at least 1,024 ports per VM. A host carries the egress of every session on it, and Cloud NAT's default of 64 ports per VM runs out with a couple of sessions: ```bash theme={null} gcloud compute routers nats update --router= --region= \ --enable-dynamic-port-allocation --no-enable-endpoint-independent-mapping \ --min-ports-per-vm=1024 --max-ports-per-vm=65536 \ --enable-logging --log-filter=ERRORS_ONLY ``` * **The cluster's control plane reachable from it.** Hosts read their configuration through the Kubernetes API, at the cluster's private endpoint. If the cluster enforces master authorized networks on its private endpoint, add the subnetwork's range to them. Hosts in a different region than the cluster need the control plane's global access. * **Your own Postgres or Redis**, if you use them instead of the chart's, must accept connections from the subnetwork. Hosts reach the chart's bundled Postgres and Redis through internal load balancers. For an existing cluster, enable DNS access for administrators and fetch credentials for that endpoint: ```bash theme={null} gcloud container clusters update --project= --location= \ --enable-dns-access gcloud container clusters get-credentials --project= --location= \ --dns-endpoint kubectl get nodes ``` Your administrator needs `container.clusters.connect` permission and the `gke-gcloud-auth-plugin` installed. Agent hosts still use the private IP endpoint. If it enforces authorized networks, add their subnet's CIDR: ```bash theme={null} gcloud container clusters update --project= --location= \ --enable-master-authorized-networks \ --master-authorized-networks=, ``` This flag **replaces** the allowlist: include all existing node, pod and administrator ranges that must retain access. If there are no existing ranges, supply just the hosts' subnet CIDR. Use the cluster's zone for a zonal cluster or region for a regional cluster. Keep these settings in your Terraform configuration if it manages the cluster. The module reads the subnetwork and doesn't change it. It creates the firewall rule that lets the cluster's pods and nodes reach the hosts' manager on port 8743; for a Shared VPC subnetwork, it creates it in the network's host project. ### Organization policies * `compute.disableNestedVirtualization` not enforced on the hosts' project: hosts run agents in VMs. * `compute.requireShieldedVm` not enforced: the agent host image boots with legacy BIOS. * If you restrict `compute.trustedImageProjects`, allow Tembo's image project, `projects/tembo-prod`. ### Quotas Each host needs 32 vCPUs and 1,500 GB of local SSD, times the pool's maximum hosts (three by default). Free Trial billing accounts can't run a single host or request more quota: upgrade to a paid account first. * N2 CPUs and local SSD in the hosts' region. The defaults often cover a few hosts. * Persistent Disk SSD in the hosts' region: each host's 100 GB boot disk counts toward it, as do GKE's node disks. New-project quotas can be as low as 250 GB. * CPUs (all regions), a project-wide limit that also counts the cluster's nodes. New-project quotas can be as low as 12 vCPUs, which isn't enough for a single host. Check your actual limits and request increases in [Quotas & System Limits](https://console.cloud.google.com/iam-admin/quotas). Approval is not guaranteed even after upgrading billing; check the console for the reason if a CLI request only says `Quota request denied`. Start with one host on a quota-limited project. Add this to the `values.yaml` you pass **after** the module's values: ```yaml theme={null} compute: hostPools: default: maxHosts: 1 ``` Reserve quota for both GKE and agent hosts. For example, a 48-vCPU project can fit one 32-vCPU host plus a Standard **zonal** cluster capped at three `e2-standard-4` nodes (12 vCPUs). Allow headroom for node upgrades too. Autopilot scales its nodes automatically and also consumes project quota; use Standard with a capped node pool when you need a predictable CPU budget. A regional node pool's size applies per zone. Raise `maxHosts` only after quota increases are approved. Hosts beyond your quota don't launch; replacing a host without interrupting sessions also needs room for the replacement (see [Apply changes](/features/self-hosted/kubernetes/configuration#apply-changes)). ### Permissions to apply Apply the module as the projects' Owner, or with these roles, besides read access to the cluster (`roles/container.clusterViewer`): | Project | Roles | | - | - | | The cluster's project | `roles/iam.serviceAccountAdmin`, `roles/storage.admin` | | The hosts' project | `roles/iam.serviceAccountAdmin`, `roles/iam.roleAdmin`, `roles/resourcemanager.projectIamAdmin` | | The subnetwork's project | `roles/compute.networkAdmin`, `roles/compute.securityAdmin` | Editor isn't enough: it can't create the controller's custom roles or set IAM on the subnetwork. *** ## Install the module ```hcl theme={null} module "tembo" { source = "git::https://github.com/tembo/terraform-google-tembo-agent-host.git?ref=v0.2.0" project_id = "" cluster_name = "" cluster_location = "us-central1" kubernetes_namespace = "tembo" release_name = "tembo" # Optional: a separate hosts project connected through Shared VPC. # host_project_id = "" host_subnetwork = "projects//regions/us-central1/subnetworks/" # Your Tembo URL, so browsers can upload files. object_storage_cors_allowed_origins = ["https://tembo.example.com"] } output "helm_values" { value = merge(module.tembo.helm_values, { # Derive internal load balancer access from the selected host subnet. postgresql = { hostAccess = { loadBalancerSourceRanges = [module.tembo.host_subnetwork_cidr] } } redis = { hostAccess = { loadBalancerSourceRanges = [module.tembo.host_subnetwork_cidr] } } }) } ``` ```bash theme={null} terraform init terraform apply ``` It needs Google provider 6.0 or later. The module creates: * **The host controller's service account**, bound to the chart's service account with Workload Identity. It can change and delete only instances and disks named with your install's prefix, launch them only into your subnetwork, and attach only the hosts' service account. * **The agent hosts' service account**, with access to the install's bucket. * **The firewall rule** for the hosts' manager. * **A GCS bucket** for project images, session snapshots and file uploads, and the control plane's service account to use it. To use a bucket you have, set `object_storage_bucket_name`. Set `kubernetes_namespace` and `release_name` to the namespace and release you'll install the chart with: the service accounts trust only the chart's service accounts in that namespace. See the [module's README](https://github.com/tembo/terraform-google-tembo-agent-host) for the other options, such as machine types. New IAM bindings can take a few minutes to take effect; pods that start before then retry. *** ## Configure the chart with its outputs Save the Helm values, including the source ranges derived from your host subnet in the output above: ```bash theme={null} terraform output -json helm_values > tembo.json ``` They configure the chart for the resources the module created: * GKE's Ingress for the chart (`ingress.gcp`). * The host controller, with its service account, the hosts' project and your install's instance name prefix. * A host class named `default`, with your subnetwork, the hosts' service account, `n2-custom-32-65536` with four local SSDs, and Tembo's `stable` agent host image. * A pool named `default`, of one to three hosts. * Object storage, with the bucket and the control plane's service account. [Deploy](/features/self-hosted/kubernetes/deploy) with `tembo.json` first and your own `values.yaml` after it, so yours override them. To change the agent hosts, such as their machine type, see [Agent hosts](/features/self-hosted/kubernetes/configuration#agent-hosts); to use managed Postgres or Redis, see [Postgres and Redis](/features/self-hosted/kubernetes/configuration#postgres-and-redis). Next, set up [GitHub](/features/self-hosted/kubernetes/prerequisites/github). *** ## DNS Use Cloud DNS private zones attached to the hosts' VPC for `postgres.`, `redis.` and `sandbar.`. A zone for each internal hostname avoids shadowing the public app and preview names. With Shared VPC, attach the zones to the shared network and grant the DNS administrator access in the zone's project. Configure [external-dns for Google Cloud DNS](https://kubernetes-sigs.github.io/external-dns/latest/docs/tutorials/gke/) to watch Services and manage these zones. The chart already annotates each internal Service with its hostname, so external-dns creates and updates the records when GKE assigns load balancer addresses. Keep public and private zone filters separate. The Terraform module currently creates neither these zones nor external-dns; use your existing DNS automation where available. Without external-dns, create private records from the Service addresses shown by `kubectl -n tembo get svc`. Public app and preview records can stay with your existing DNS provider. ## Ingress and certificates We use GKE's built-in Ingress, external-dns and cert-manager, with a Let's Encrypt ClusterIssuer that solves [DNS-01 in Cloud DNS](https://cert-manager.io/docs/configuration/acme/dns01/google/). ```yaml theme={null} ingress: host: tembo.example.com annotations: cert-manager.io/cluster-issuer: letsencrypt-prod gcp: enabled: true ``` * **Load balancers:** `ingress.gcp` sets up both Ingresses for GKE, with health checks and the HTTPS redirect. To serve on a reserved IP, add a `kubernetes.io/ingress.global-static-ip-name` annotation. * **Certificates:** GKE gives `tembo.example.com` a Google-managed certificate, and issues one for `ingress.public.host` when you enable the public Ingress. Those can't be wildcards, so cert-manager issues `*.previews.tembo.example.com` into `tembo-previews-tls`. Use your ClusterIssuer's name in the annotation. *** ## Sign in with Google Google sign-in works on any cloud. You need your Tembo hostname, permission to create a Google OAuth client, and access to the `tembo` Kubernetes namespace. Create the namespace first if you have not deployed yet. 1. In the Google Cloud console, open **Google Auth Platform** and set up your app. Choose **Internal** under **Audience** to allow only your Google Workspace's users. 2. Under **Clients**, create a client of type **Web application**, with the authorized redirect URI `https:///api/auth/callback/google`. 3. Save the client secret when Google first shows it, then store it with the client ID in a Secret: ```bash theme={null} kubectl -n tembo create secret generic tembo-google \ --from-literal=clientId='' \ --from-literal=clientSecret='' ``` 4. Add it to your `values.yaml`, then install, or upgrade if Tembo is already installed (see [Apply changes](/features/self-hosted/kubernetes/configuration#apply-changes)): ```yaml theme={null} google: existingSecret: tembo-google ``` ### Restrict sign-in to Google To use only Google sign-in, first verify Google login works, then set: ```yaml theme={null} config: betterAuth.enabledOauthProviders: "google" betterAuth.emailPasswordAuthEnabled: false ``` This disables email/password login and other OAuth providers, including GitHub account linking. For a Google Workspace-only install, also choose an **Internal** Google OAuth audience. See [Sign-in and registration](/features/self-hosted/kubernetes/configuration#sign-in-and-registration) for shared settings and account-linking troubleshooting. *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # GitHub Source: https://docs.tembo.io/features/self-hosted/kubernetes/prerequisites/github Create the GitHub App for Tembo on Kubernetes, with its credentials in a Kubernetes Secret. Tembo on Kubernetes connects to GitHub through a GitHub App that you create for your install. GitHub sends users back to your install's URLs, so each install needs its own app. Set it up before you [deploy](/features/self-hosted/kubernetes/deploy), so Tembo starts with GitHub configured. You create the app, keep its credentials in a Kubernetes Secret, and the chart reads the Secret through `github.existingSecret`. The credentials stay out of your Helm values and your deploy pipeline. If Tembo is already installed, the same steps apply, with an upgrade at the end. You need: * Your Tembo hostname, the `ingress.host` you deploy with (e.g. `tembo.example.com`). * `kubectl` access to the namespace you install Tembo in. The examples use release `tembo` in namespace `tembo`. * To create the app under a GitHub organization: an owner or GitHub App manager of that organization. *** ## Step 1: Create the GitHub App Open **New GitHub App**: `https://github.com/organizations//settings/apps/new` for an organization, or **GitHub > Settings > Developer settings > GitHub Apps > New GitHub App** for your account. Fill in: | Setting | Value | | - | - | | **GitHub App name** | Any name, e.g. `Tembo (tembo.example.com)` | | **Homepage URL** | `https://` | | **Callback URL** | `https:///api/oauth/github/callback` | | **Request user authorization (OAuth) during installation** | Checked | | **Webhook URL** | `https:///api/webhook/github` | | **Webhook secret** | A random string, e.g. from `openssl rand -hex 32`. Keep it for Step 3 | | **Permissions** and **events** | As listed in [Permissions](/features/self-hosted/integrations/github#permissions) and [Subscribe to events](/features/self-hosted/integrations/github#subscribe-to-events) | If GitHub can't reach the webhook URL, for example behind an internal load balancer, uncheck **Active** under **Webhook**. Comments that mention Tembo, issue and pull request triggers, and pull request status updates then don't work. Then click **Create GitHub App**. GitHub pings the webhook right away, and the ping fails until Tembo is running; that's expected. You can redeliver it from the app's **Advanced** tab after you deploy. [Create a GitHub App](/features/self-hosted/integrations/github#step-1-create-a-github-app) describes each setting. > [!TIP] > > If Tembo is already installed without an app, `helm get notes tembo -n tembo` links to this form with your URLs, permissions and events filled in. Set `github.organization` in your values to have it link to an organization's form. Use the webhook secret the chart generated rather than your own, and leave `webhookSecret` out of the Secret in Step 3: > > ```bash theme={null} > kubectl -n tembo get secret tembo-generated -o jsonpath='{.data.github\.webhookSecret}' | base64 -d > ``` *** ## Step 2: Generate a client secret and a private key On the app's settings page: 1. Under **Client secrets**, click **Generate a new client secret** and copy it. GitHub shows it only once. 2. Under **Private keys**, click **Generate a private key**. GitHub downloads a `.pem` file. Also note the **App ID**, the **Client ID**, and the app's slug, from its URL `https://github.com/apps/`. *** ## Step 3: Store the credentials in a Secret Create the namespace if it doesn't exist yet, then the Secret. `clientUserEmail` is your app's bot noreply address, which uses the bot's user ID from GitHub: ```bash theme={null} kubectl create namespace tembo --dry-run=client --output yaml | kubectl apply --filename - APP_SLUG= BOT_ID=$(curl -s "https://api.github.com/users/${APP_SLUG}%5Bbot%5D" | jq -r .id) read -s GITHUB_APP_CLIENT_SECRET read -s GITHUB_WEBHOOK_SECRET kubectl create secret generic tembo-github-app \ --namespace tembo \ --from-literal=appId= \ --from-literal=appName="$APP_SLUG" \ --from-literal=clientId= \ --from-literal=clientSecret="$GITHUB_APP_CLIENT_SECRET" \ --from-literal=webhookSecret="$GITHUB_WEBHOOK_SECRET" \ --from-literal=clientUserEmail="${BOT_ID}+${APP_SLUG}[bot]@users.noreply.github.com" \ --from-file=privateKey= \ --dry-run=client --output yaml | kubectl apply --filename - unset GITHUB_APP_CLIENT_SECRET GITHUB_WEBHOOK_SECRET ``` Replace each `<...>` with its value; in a shell, the angle brackets themselves would be read as redirects. Check that `BOT_ID` is a number: `null` means the slug is wrong. The Secret can hold any of these keys: | Key | Value | | - | - | | `appId` | The app's **App ID** | | `appName` | The app's slug | | `clientId` | The app's **Client ID** | | `clientSecret` | The client secret from Step 2 | | `privateKey` | The contents of the `.pem` file from Step 2 | | `webhookSecret` | The webhook secret from Step 1. Leave it out to use the one the chart generates | | `clientUserEmail` | `+[bot]@users.noreply.github.com`. Tembo's commits are attributed to it | | `clientUserName` | Optional. Defaults to `[bot]` | Values in the Secret override the same keys under `github` in your Helm values. *** ## Step 4: Point the chart at the Secret In your `values.yaml`: ```yaml theme={null} github: existingSecret: tembo-github-app ``` Then [deploy](/features/self-hosted/kubernetes/deploy) with these values. The chart reads the Secret while rendering, so it must exist first. If it's missing, the install fails with `github.existingSecret: Secret tembo-github-app is missing`. If Tembo is already installed, upgrade instead: ```bash theme={null} helm upgrade tembo oci://registry.tembo.io/tembo --version \ -n tembo -f tembo.json -f values.yaml ``` Agent hosts read the GitHub settings when they start; after the upgrade, the controller replaces them (see [Apply changes](/features/self-hosted/kubernetes/configuration#apply-changes)). *** ## Step 5: Connect GitHub Once Tembo is deployed, connect GitHub from Tembo, not from GitHub: Tembo only accepts an installation that starts in Tembo. 1. In Tembo, go to **Settings > Integrations** and connect GitHub. 2. Choose the organization or account, and **All repositories** or specific ones, then click **Install**. GitHub then asks you to authorize the app. 3. On the page Tembo opens next, enable the repositories Tembo should work on. You can change them later in **Settings > Repositories**. To connect a GitHub organization, you need to be one of its owners. Otherwise GitHub sends the owners an installation request instead. This connects repositories to your workspace. For personal **Connected accounts** and signing in with GitHub, also configure [GitHub sign-in](/features/self-hosted/kubernetes/prerequisites/github#github-sign-in-and-connected-accounts). To check webhooks, open the app's **Advanced > Recent deliveries** on GitHub after a matching event, such as a comment that mentions Tembo. *** ## GitHub sign-in and connected accounts The GitHub App under `github` connects repositories. **Settings → Connected accounts → Connect GitHub** and GitHub sign-in need separate `betterAuth.oauth.github` settings, even when repository integration works. You can reuse your GitHub App's client ID and client secret: 1. Add `https:///api/auth/callback/github` as another callback URL in the App's settings. Keep the repository integration's `/api/oauth/github/callback` URL too. 2. Set the App's **Account permissions → Email addresses** to **Read-only**. Users approve this permission when authorizing the app. 3. Create a Secret whose keys are config paths: ```bash theme={null} read -r GITHUB_CLIENT_ID read -rs GITHUB_CLIENT_SECRET kubectl -n tembo create secret generic tembo-github-login \ --from-literal=betterAuth.oauth.github.clientId="$GITHUB_CLIENT_ID" \ --from-literal=betterAuth.oauth.github.clientSecret="$GITHUB_CLIENT_SECRET" unset GITHUB_CLIENT_ID GITHUB_CLIENT_SECRET ``` 4. Append it to `configSecrets` in your values, keeping any existing entries, then [apply the change](/features/self-hosted/kubernetes/configuration#apply-changes): ```yaml theme={null} configSecrets: - tembo-github-login ``` Secrets must exist before the upgrade: Helm reads `configSecrets` while rendering. With `helm template`, supply the same config paths under `config` from an encrypted values file instead. Enabling GitHub for connected accounts also enables GitHub sign-in and registration. Installing the GitHub App on a particular organization does **not** restrict who can sign up to Tembo. Users who register can create their own workspaces and consume your install's compute, although they cannot see your existing workspace. See [Sign-in and registration](/features/self-hosted/kubernetes/configuration#sign-in-and-registration) to control enabled providers or troubleshoot account linking. *** ## Rotate credentials 1. Generate a new client secret or private key on the app's settings page. 2. Update the Secret with the same `kubectl create secret ... | kubectl apply` command. 3. Run `helm upgrade` again. The platform restarts with the new values. 4. Wait for the controller to replace the running agent hosts, which read the new values when they start. 5. Delete the old client secret or private key on GitHub. *** ## GitOps and `helm template` Argo CD, Flux and other tools that render the chart with `helm template` don't give it access to your cluster, so it can't read `github.existingSecret`. A generated webhook secret would also change on every render. Set the app's values under `github` instead, from a values file you keep encrypted, including the webhook secret you entered in GitHub: ```yaml theme={null} github: appId: "" appName: "" clientId: "" clientSecret: "" clientUserEmail: "+[bot]@users.noreply.github.com" webhookSecret: "" privateKey: | -----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY----- ``` # Networking Source: https://docs.tembo.io/features/self-hosted/kubernetes/prerequisites/networking The load balancers, DNS records and certificates your Tembo installation needs. The chart creates the Kubernetes resources that expose Tembo. Your cluster's controllers turn them into load balancers, DNS records and certificates. *** ## What the chart creates With `ingress.host: tembo.example.com`: | Resource | Name | Serves | Who connects | | - | - | - | - | | Ingress `tembo` | `tembo.example.com` | The web app and API | Users and webhooks | | Ingress `tembo-previews` | `*.previews.tembo.example.com` | Computer previews and `tembo service` URLs | Users' browsers | | Ingress `tembo-public`, with `ingress.public` | `api.tembo.example.com` | Webhooks and other provider calls (see [Public API host](/features/self-hosted/kubernetes/configuration#public-api-host)) | Providers | | Service `tembo-sandbar-hosts` (internal load balancer) | `sandbar.tembo.example.com` | Preview tunnels | Agent hosts | | Services `tembo-postgresql-hosts` and `tembo-redis-hosts` (internal load balancers) | `postgres.tembo.example.com`, `redis.tembo.example.com` | The bundled Postgres and Redis | Agent hosts | * The internal Services carry their DNS name in an `external-dns.kubernetes.io/hostname` annotation. * The Postgres and Redis Services exist only with the bundled data stores and `compute.mode: controller`. * Previews are on by default from chart 0.6.0, with Tembo releases later than 0.2.892. To turn them off, set `sandbar.enabled: false`. *** ## What you set up ### 1. An Ingress controller It turns both Ingresses into load balancers, so users and webhooks can reach Tembo. Set `ingress.className` and any `ingress.annotations` your controller needs. The previews' Ingress gets the same ones. For cloud-specific Ingress settings, follow [AWS prerequisites](/features/self-hosted/kubernetes/prerequisites/aws#ingress-and-certificates) or [GCP prerequisites](/features/self-hosted/kubernetes/prerequisites/gcp#ingress-and-certificates). With another controller, configure its annotations and TLS Secrets directly. ### 2. DNS Every name in the table must resolve to its load balancer: browsers find Tembo by name, and agent hosts find Sandbar, Postgres and Redis by name. * **With [external-dns](https://github.com/kubernetes-sigs/external-dns):** it reads the Ingresses' hosts and the Services' annotations and creates the records. * **Without it:** create the records yourself once the load balancers exist (`kubectl -n tembo get ingress,svc`). ### DNS for internal services Use private DNS for `postgres.`, `redis.` and `sandbar.`. They only need to resolve from the VPC where agent hosts run. Prefer external-dns to maintain these records from the chart's Service annotations, instead of copying load balancer addresses by hand. See [AWS DNS](/features/self-hosted/kubernetes/prerequisites/aws#dns) or [GCP DNS](/features/self-hosted/kubernetes/prerequisites/gcp#dns) for the provider setup. Keep the public app and preview records in your public DNS provider. If you use external-dns, configure its public and private zone filters so the internal Service records go only to private zones. Check name resolution from the hosts' VPC before starting sessions. Internal load balancers are still billed while hosts are scaled to zero. Include their forwarding rules, the public Ingresses, cluster nodes, storage and NAT in your idle-cost estimate; rates depend on the region and network setup. ### 3. TLS certificates Tembo is served over HTTPS, so you need two certificates: * `tembo.example.com` * `*.previews.tembo.example.com`. A `*.example.com` certificate doesn't cover it. With `ingress.public`, you also need a certificate for its hostname. Cloud-managed certificates are covered in the provider prerequisites linked above. If your Ingress controller uses Kubernetes TLS Secrets, [cert-manager](https://cert-manager.io) can issue them: * Name the app's Secret in `ingress.tls.secretName`. The previews' Secret is `tembo-previews-tls` by default; override it with `ingress.previews.tlsSecretName`. * With `ingress.public`, name its Secret in `ingress.public.tlsSecretName`. * Add a `cert-manager.io/cluster-issuer` annotation to `ingress.annotations`. * Wildcards need a ClusterIssuer that uses DNS-01. If the previews certificate is missing, only previews fail. The web app and API keep working. *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # Overview Source: https://docs.tembo.io/features/self-hosted/kubernetes/prerequisites/overview What you need before installing Tembo on Kubernetes, and the cloud resources Tembo creates with Terraform. > [!NOTE] > > Kubernetes support is currently in early access. To get on the list, book a demo call with the Tembo team: [Book a Demo](https://book.avoma.com/tembo/tembo-demo/) Installing Tembo on Kubernetes takes three steps, the same on every cloud: 1. **Cloud resources:** on [AWS](/features/self-hosted/kubernetes/prerequisites/aws) or [GCP](/features/self-hosted/kubernetes/prerequisites/gcp), prepare your cluster and network, then apply Tembo's Terraform module. It creates the cloud resources Tembo needs, and outputs the Helm values that use them. 2. **[GitHub](/features/self-hosted/kubernetes/prerequisites/github):** create your install's GitHub App, and keep its credentials in a Kubernetes Secret. 3. **[Deploy](/features/self-hosted/kubernetes/deploy):** one `helm install` with the module's Helm values and your own. ## What you need From Tembo, once you're in early access: * A license key. It signs you in to Tembo's registry, `registry.tembo.io`, for the Helm chart and images, and gives your install the agent host image. * The chart version to install: 0.1.20 or later, the first on `registry.tembo.io`. * The image tags for the platform and the host controller. Your own: * A Kubernetes cluster with an Ingress controller, and a TLS certificate for your hostname. Your cloud's page lists what the cluster needs. * DNS for your hostname, through [external-dns](https://github.com/kubernetes-sigs/external-dns) or records you create. [Networking](/features/self-hosted/kubernetes/prerequisites/networking) lists every name and certificate, including the wildcard for previews. * Helm 3.8 or later, for charts from OCI registries, kubectl, and Terraform 1.5 or later. ## What the module creates Agent hosts run outside your cluster, as cloud instances the host controller launches. On each cloud, the module creates: * **The host controller's identity:** a role bound to the chart's service account, which can launch agent hosts and change or delete only its own. * **The agent hosts' identity and network access:** the role or service account hosts run as, and their firewall rules or security group. * **Object storage:** a bucket for project images, session snapshots and file uploads, and the control plane's access to it. * **Helm values** for the chart: the identities above, a host class and pool named `default`, and the bucket. ## Choose your cloud > [card] [AWS](/features/self-hosted/kubernetes/prerequisites/aws) > > EKS, with agent hosts on EC2. > [card] [GCP](/features/self-hosted/kubernetes/prerequisites/gcp) > > GKE, with agent hosts on Compute Engine. Azure is coming soon. *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # Upgrade guide Source: https://docs.tembo.io/features/self-hosted/kubernetes/upgrade-guide How to upgrade Tembo on Kubernetes, and what to change for each chart release. Each chart release runs one Tembo release and one host controller release, so the chart version is the only thing you pin. To upgrade, move to a newer chart version. Before you do, read the notes below for every release after the one you run. Breaking changes are marked **Breaking**. *** ## Upgrading the chart 1. Find the chart version you run, in the `CHART` column: ```bash theme={null} helm list -n tembo ``` 2. Read the notes below for every release between yours and the one you're moving to, and change your values as they say. 3. Upgrade with the same values files you installed with: ```bash theme={null} helm upgrade tembo oci://registry.tembo.io/tembo --version \ -n tembo -f tembo.json -f values.yaml ``` The host controller then replaces agent hosts whose configuration changed (see [Apply changes](/features/self-hosted/kubernetes/configuration#apply-changes)). > [!NOTE] > > Helm installs the chart's custom resource definitions but never upgrades them. When a release changes them, apply them before you upgrade: > > ```bash theme={null} > helm show crds oci://registry.tembo.io/tembo --version | kubectl apply --server-side -f - > ``` *** ## Upgrading to 1.0.0+ > [!WARNING] > > 1.0.0 moves every Ingress setting into one `ingress` map, and no longer reads the old keys. Update your values before you upgrade, or Tembo's load balancers lose their cloud settings. * **Breaking:** the chart no longer adds the AWS Load Balancer Controller's annotations by default. On AWS, set `ingress.aws.enabled: true`. Without it, your ALBs lose their settings and health checks. * **Breaking:** GKE's settings moved from `ingress.gke` to `ingress.gcp`, and previews' settings from `sandbar` to `ingress.previews`: | Before 1.0.0 | 1.0.0 | | - | - | | ALB annotations by default | `ingress.aws.enabled: true` | | `ingress.gke.enabled` | `ingress.gcp.enabled` | | `ingress.gke.redirectToHttps` | `ingress.gcp.redirectToHttps` | | `ingress.gke.backendTimeoutSec` | `ingress.gcp.timeoutSeconds` | | `ingress.gke.staticIpName` | A `kubernetes.io/ingress.global-static-ip-name` annotation in `ingress.annotations` (`regional-static-ip-name` for an internal Ingress) | | `ingress.gke.managedCertificate: false` | `ingress.gcp.certificates`, or `ingress.tls.secretName` | | `sandbar.domain` | `ingress.previews.domain` | | `sandbar.ingress.tlsSecretName`, `sandbar.ingress.annotations` | `ingress.previews.tlsSecretName`, `ingress.previews.annotations` | * **Breaking:** health checks come from `ingress.aws` or `ingress.gcp`. Each Service's `alb.ingress.kubernetes.io/healthcheck-path` annotation is no longer set by default, so remove any you copied into `.service.annotations`. * `ingress.aws` and `ingress.gcp` take the same settings: `internal`, `redirectToHttps`, `timeoutSeconds` and `certificates`. See [Networking](/features/self-hosted/kubernetes/prerequisites/networking). `internal: true` replaces setting the `gce-internal` class or the ALB's `scheme: internal` annotation yourself, which still work. * On AWS, the ALB's idle timeout is now 3600 seconds (`ingress.aws.timeoutSeconds`), so websockets stay open. A `load-balancer-attributes` annotation of your own replaces it. * Newer releases of the Terraform modules turn on `ingress.aws` or `ingress.gcp` in their Helm values. Setting it in your values works with any module version. *** ## Upgrading to 0.6.0+ * Computer previews and `tembo service` URLs are served from your install, by Sandbar, on by default. The chart adds: * An Ingress, `tembo-previews`, for `*.previews.`. * An internal load balancer, `tembo-sandbar-hosts`, at `sandbar.`, which agent hosts reach on ports 9000 and 9001. * Previews need DNS and a certificate for `*.previews.`; see [Networking](/features/self-hosted/kubernetes/prerequisites/networking). Without the certificate, only previews fail. On GKE, the previews' Ingress serves the `tembo-previews-tls` Secret, which cert-manager can issue. * Previews also need a Tembo release later than 0.2.892. * To turn previews off, set `sandbar.enabled: false`. *** ## Upgrading to 0.5.0+ * Adds Sandbar, off by default, and generates the secret the API and Sandbar share (`previews.authSecret`, in `tembo-generated`). No changes needed. *** ## Upgrading to 0.4.0+ * Adds `podAnnotations`, set on every pod the chart runs. Every component runs one replica, so set your node autoscaler's opt-out to keep it from evicting them: * GKE and the Cluster Autoscaler: `cluster-autoscaler.kubernetes.io/safe-to-evict: "false"`. * Karpenter and EKS Auto Mode: `karpenter.sh/do-not-disrupt: "true"`. *** ## Upgrading to 0.3.4+ * Every component requests CPU and memory, about 1.3 vCPUs and 4.5 GiB in total, so node autoscalers size nodes for them. The API and LiteLLM get up to 5 minutes to start. * Every pod restarts once on upgrade, including the bundled Postgres. *** ## Upgrading to 0.3.0+ * Runs the Tembo MCP server at `/mcp`, in the API pods, with a `tembo-mcp` Service and an `/mcp` path on the Ingress. Agents use it as their `tembo` MCP server. To turn it off, set `mcp.enabled: false`. *** ## Upgrading to 0.2.0+ * The chart runs the Tembo and host controller releases it was built with. Remove `image.tag`, `api.image.tag`, `web.image.tag`, `mcp.image.tag` and `compute.controller.image.tag` from every values file, unless you mean to pin other versions. Leaving an old override in place keeps that component on the old image even when you upgrade the chart. Remove any corresponding image digest overrides as well. *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # Overview Source: https://docs.tembo.io/features/self-hosted/overview Run Tembo inside infrastructure you control, with packaged releases and enterprise support from Tembo. ![Tembo self-hosted overview](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/self-hosted.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=fbf51c84cfdf5dfb361f8000c3339d2f) Tembo self-hosted runs the entire Tembo platform on a **single instance** inside infrastructure you control. No cluster, no orchestrator — one machine, fully configured and ready to go. > [!NOTE] > > [Kubernetes](/features/self-hosted/kubernetes/overview) and GCP support are currently in early access. To get on the list, book a demo call with the Tembo team: [Book a Demo](https://book.avoma.com/tembo/tembo-demo/) Tembo provides the packaged release, upgrade path, and support. You decide how it is deployed, networked, and operated. ## How it works The self-hosted stack is a NixOS-based machine image with all services pre-configured. You launch an instance from a Tembo-provided image (AMI, VHD, etc.), run a web-based installer, and configure a single JSON file. No OS setup or image building is required on your end. NixOS gives you atomic updates with automatic rollback — upgrades either succeed completely or roll back to the previous working state. A standard deployment runs these core services, all behind nginx on port 80: | Service | Description | | - | - | | **Web app** | Next.js frontend for the user interface | | **API** | REST API for product workflows, auth, and orchestration | | **Agent workers** | Configurable workers (default 8) that handle sessions, code execution, and database operations in isolated sandboxes | | **Cron** | Scheduled jobs, kicked off from Tembo's `Agents` feature or via tool calls from coding agents | | **Admin UI** | Administrative dashboard for system management | | **PostgreSQL 16** | Application database (and the job queue) — runs locally or can point to an external instance using your own connection string | | **Redis** | Caching | | **Prometheus** | Metrics collection and monitoring (optional) | ## Web-based installer Every deployment ships with a built-in installer at `/installer/`. On first boot, it walks you through setup — configuring services, setting your license key, and tuning options like the number of agent workers. No Nix knowledge is required. For releases and updates, Tembo can manage them for you, or your team can manually opt in to changes through the installer UI. ### How updates are delivered Updates are **pull-based**. Your instance checks for new releases by calling Tembo's release endpoint over outbound HTTPS, authenticated with your license key, then downloads the packaged release. Tembo never connects inbound to your environment to push updates. Because the stack is NixOS-based, updates apply atomically and roll back automatically if they fail. You choose how updates are applied: * **Self-service:** your team opts in to a new release through the installer UI, on your own schedule. * **Managed (optional):** if you would rather Tembo run updates for you, we can do so as an optional service using access you explicitly grant. Contact your Tembo account team to set this up. ## What you manage You manage the infrastructure, networking, secrets, backups, and day-to-day operations of the environment. Tembo provides the application release, deployment guidance, and support for upgrades. You can also work with the Tembo team more directly through support packages, including optional FDE support for features specific to your team. If you want help operating the VM layer, the Tembo team can help manage your VMs and stay ahead of scaling, availability, and downtime risks as usage grows. ## Security and networking Self-hosted is designed for teams that want Tembo inside a private cloud, dedicated network, or on-prem environment. * You control ingress, DNS, TLS, and firewall policy * Application data and runtime configuration stay in your environment * Outbound access can be limited to the systems Tembo needs to reach, such as git providers, model endpoints, or internal services * Upgrades happen on your schedule ## Custom inference You can route model requests through your own inference service by replacing the default Anthropic and OpenAI base URLs with endpoints you control. These endpoints can be internal gateways, proxies, or self-hosted model services, as long as they implement the corresponding Anthropic or OpenAI API. Make sure the Tembo instance and its agent sandboxes can reach the custom endpoints and that the endpoints expose the model names configured in Tembo. ## Who it is for * Teams that need Tembo inside infrastructure they control * Organizations with security or compliance requirements around source code, credentials, or runtime data * Companies that want a simple single-instance deployment, with the option to use an external Postgres database * Buyers who want a predictable, customer-managed upgrade process If you do not need that level of control, the hosted SaaS product is usually simpler to adopt and operate. ## Next steps * [Configure integrations](/features/self-hosted/integrations/overview) for your own instance. * [Contact Us](https://book.avoma.com/tembo/tembo-self-hosted-discovery/) *** ## Need Help? If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io). # Sessions Source: https://docs.tembo.io/features/sessions Start a session, watch the sandbox, and review changes before you open a pull request. A session is one conversation and the workspace it runs in. You start it from the [dashboard](https://app.tembo.io), an [automation](/features/automations), or a mention of `@tembo`. The agent works in an isolated [sandbox](/features/sandbox/overview). ## Start a session Open the [dashboard](https://app.tembo.io) and click **New Session**. Pick one or more repositories, choose an [agent harness](/features/automations#agent-harness), and describe the work. To start from a prepared environment, choose a [project](/features/projects) and one of its session sizes before you send the first message. You can change the project before the session starts, but not while it is running. ## Who can see a session New sessions are **private** unless you change the default. A private session is visible only to the person who created it. **Visible to workspace** lets other members of the workspace open it. Set the default in **Settings > Preferences** under **Default session visibility**. The composer also has a visibility control for the session you are about to start. Only the creator can change visibility later, from the session menu. Private does not hide a pull request the session opens on GitHub, GitLab, or Bitbucket. It only controls who can open the session in Tembo. ## Session workspace Open a session to watch the work. The sidebar on the right has these tabs: | Tab | What it shows | | - | - | | **Changes** | The diff for this session. Review it here before you open a pull request. | | **Pull requests** | Pull requests opened from this session. | | **Artifacts** | Reports, previews, and other files the agent published. See [artifacts](#artifacts). | | **Computer** | The session desktop. You can watch and control it. | | **Files** | Files in the sandbox workspace. | | **Terminal** | A shell in the sandbox. | | **Logs** | Session logs. | | **Devices** | Computers you have paired, when the agent can use them. See [Devices](/features/devices). | If the agent uses one of your computers, Tembo can also open a **Device** tab so you can watch that screen. ## Plan before writing code In the composer, type `/` and choose **Plan**. The agent plans the work instead of editing files. Choose **Plan** again to switch back to **Build**. While a run is in progress, a follow-up is queued until the current run can take it. ## Fork or export Open the session menu to: * **Fork session**, which starts a new session from this one. If the original session is in one of your [folders](/features/workspace#folders-and-pins), the fork goes in the same folder. * **Export session**, which downloads the transcript as Markdown or JSON. You can export prompts and replies only, add a readable line per tool call, or include full tool inputs and outputs. The full export redacts common secret formats. ## Artifacts Artifacts are files the agent creates for you to open outside the diff, such as an HTML report, a diagram, or a CSV export. The built-in `tembo-artifact` skill creates them. Open them from the **Artifacts** tab. ## Open a pull request Dashboard sessions wait for you. Review the diff in **Changes**, then click **Open PR**, or ask the agent to open one. After it is open, review it in [Review](/features/reviews) or mention `@tembo` on the pull request to request changes. See [Pull requests](/features/pull-requests). # Workspace Source: https://docs.tembo.io/features/workspace Share sessions, organize the sidebar, and control what each role can do. A workspace is the shared Tembo account for your team. Members, roles, integrations, and [projects](/features/projects) belong to the workspace. Who can open a [session](/features/sessions) is separate: sessions are private unless the creator makes them visible to the workspace. ## Folders and pins The sidebar can get long. Use folders and pins to keep the sessions you care about in reach. * Click **New folder** in the sessions header to group sessions. You can set a color, rename the folder, and move sessions into it. * Pin a session, folder, project, or pull request. Pinned items stay at the top of the sidebar. Unpin them from the same menu. Folders and pins are personal to how you organize the sidebar. They do not change who can open a session. ## Roles Tembo starts each workspace with **Admin** and **Member** roles. Admins can edit workspace settings. Members can use Tembo, and can view some settings they cannot change. Open **Settings > Workspace > Members** and select **Roles** to see the roles in the workspace. Someone with permission to edit roles can click **Create role**, duplicate a role, or change what an existing role can view and edit. A workspace can have up to 25 roles. Each area of Tembo has its own permission, with **Can view** and **Can edit**. A few defaults that matter: | Area | Default Member access | | - | - | | Sessions | Can edit. Visibility still decides who can open a given session. | | Projects | Can view, not edit. | | Project environment variables | No access. | | Invitations | No access. | | Integrations | Can view, not edit. | | Models | Can view, not edit. | | Insights | Can edit. | Editing a role does not change sessions that are already private. See [Sessions](/features/sessions) to share one. ## Insights **Settings > Insights** shows contribution and usage for the workspace. Choose **1 day**, **1 week**, **30 days**, or **1 year**, then switch between **Overview**, **Models**, and **Users**. Overview includes activity, pull requests, and how much of the work came from Tembo. Models breaks usage down by model. Users and repositories show who and which repos contributed in the selected range. ## Projects and the default environment Creating, editing, and deleting [projects](/features/projects) requires **Can edit** on Projects. Admins have that by default. Members do not, unless a custom role grants it. The default project and size in **Settings > Sandbox** follow the same rule: viewing it and changing it are separate permissions. # Tembo Documentation Source: https://docs.tembo.io/index Run any coding agent across your repos, tickets, and tools, with full visibility. ![Tembo](https://mintcdn.com/test-8862363a/6wDXCUeLt8uvw81O/images/hero-light.png?fit=max\&auto=format\&n=6wDXCUeLt8uvw81O\&q=85\&s=416f8be92dea6502c478033357972821) ## What you can do with Tembo > [card] [Automate work](/features/automations) > > Set up recurring workflows triggered by events or schedules. > [card] [Fix bugs](/learn/fix-production-bugs) > > Detect errors from Sentry, analyze the root cause, and open fix PRs automatically. > [card] [Implement issues](/learn/implement-from-issues) > > Assign issues from Linear, Jira, or GitHub and get code written for you. > [card] [Review changes](/features/reviews) > > Read pull requests in Tembo, or run an automation that leaves inline comments. > [card] [Reduce tech debt](/learn/reduce-technical-debt) > > Scan for vulnerabilities, stale TODOs, and refactoring opportunities on a schedule. > [card] [Update docs](/learn/keep-docs-in-sync) > > Keep documentation in sync with your codebase as code changes. ## Agents & integrations Tembo is harness and model agnostic. Pick the right tool for each session. Tag `@tembo` from wherever you already work. See [all harnesses and models →](/features/automations#agent-harness) or [all integrations →](/integrations). ## Get started > [card] [Quickstart](/quickstart) > > Get up and running with Tembo in minutes. > [card] [Automations](/features/automations) > > Set up event-driven workflows that run automatically. # Integrations Source: https://docs.tembo.io/integrations Connect the tools Tembo can read from, trigger from, and act in. ## Agent tools Explore the [MCP integration catalog](/integrations/mcp#built-in-mcp-integrations) for setup guides covering browser automation, databases, analytics, CRM, meeting notes, and more. > [card] [MCP](/integrations/mcp) > > Connect built-in and custom MCP servers for agent tool access. ## Source control > [card] [GitHub](/integrations/github) > > Pull requests, code review, issues, and automated workflows. > [card] [GitLab](/integrations/gitlab) > > Merge requests, code scanning, and pipeline monitoring. > [card] [Bitbucket](/integrations/bitbucket) > > Pull requests and code changes in your Bitbucket workspace. > [card] [Chrome extension](/integrations/chrome-extension) > > Open GitHub, GitLab, and Bitbucket pull requests in Tembo review. ## Project management and knowledge > [card] [Linear](/integrations/linear) > > Assign issues to Tembo and get PRs back. > [card] [Atlassian](/integrations/jira) > > Connect Jira and Confluence to Tembo for issues, pages, and automation triggers. > [card] [Notion](/integrations/notion) > > Access workspace content and documentation. ## Communication > [card] [Slack](/integrations/slack) > > Trigger sessions by mentioning @tembo in any channel. > [card] [Microsoft Teams](/integrations/teams) > > Trigger sessions by mentioning @Tembo in Teams chats or channels. > [card] [Raycast](/integrations/raycast) > > Use quick commands and menubar access for Tembo sessions. > [card] [Fathom](/integrations/fathom) > > Bring meeting recordings, transcripts, summaries, and action items into sessions. ## Data and infrastructure > [card] [AWS](/integrations/aws) > > Give agents access to AWS services via OIDC web identity federation. > [card] [Postgres](/integrations/postgres) > > Monitor performance, detect slow queries, and optimize databases. > [card] [Cloudflare](/integrations/cloudflare) > > Manage Workers, DNS, R2, D1, KV, and more through Cloudflare MCP. > [card] [Vercel](/integrations/vercel) > > Manage projects and deployments, inspect logs, and search Vercel docs through MCP. > [card] [Supabase](/integrations/supabase) > > Access and manage your Supabase projects and databases through MCP. > [card] [Snowflake](/integrations/snowflake) > > Call Tembo from Snowflake Cortex Agents via MCP. > [card] [BigQuery](/integrations/bigquery) > > Query BigQuery datasets from Tembo agents via MCP. > [card] [Infisical](/integrations/infisical) > > Inject secrets into Tembo-powered runs without committing .env files. > [card] [Tailscale](/integrations/tailscale) > > Connect sessions to your private network with on-demand ephemeral keys. > [card] [OpenConnect](/integrations/openconnect) > > Connect sandboxes to private networks via enterprise VPNs. ## Monitoring and security > [card] [Sazabi](/integrations/sazabi) > > Search production logs and trace errors back to code through Sazabi MCP. > [card] [Sentry](/integrations/sentry) > > Detect production errors and open fix PRs automatically. > [card] [Snyk](/integrations/snyk) > > Scan vulnerabilities and open auto-fix PRs for dependencies. ## Business systems > [card] [HubSpot](/integrations/hubspot) > > Trigger sessions from CRM events and query HubSpot data live during sessions. > [card] [Stripe](/integrations/stripe) > > Work with payments, billing, and customer operations via Stripe MCP. # Apify Source: https://docs.tembo.io/integrations/apify Run Apify actors for web scraping, browser automation, and data extraction through MCP. Run Apify actors for web scraping, browser automation, and data extraction through MCP. ## Prerequisites You need access to your Tembo organization and an Apify account with access to the actors you intend to use. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Apify** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.apify.com`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to inspect an actor before running it. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Actor execution can consume provider credits. Review its inputs and limit the scope of the first run. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Attio Source: https://docs.tembo.io/integrations/attio Read and update Attio CRM records, lists, and workspace data through MCP. Read and update Attio CRM records, lists, and workspace data through MCP. ## Prerequisites You need access to your Tembo organization and permission to connect the intended Attio workspace. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Attio** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.attio.com/mcp`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to read a test CRM record. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Check the selected workspace and review write actions before changing customer records. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # AWS Source: https://docs.tembo.io/integrations/aws Give your agents access to any AWS service via OIDC web identity federation — no static credentials required. ![AWS](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/aws.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=65ec5b63cb7b96664fa1d7cab334ea8c) Tembo acts as an OIDC identity provider. Agents request short-lived STS credentials on demand from any session or automation in your workspace — no long-lived AWS access keys are stored in Tembo. Connecting an account takes two things: an OIDC provider and an IAM role in your AWS account. You can let Tembo's CloudFormation template create both, or create them yourself with your own tooling. ## What agents can do Once connected, agents can run AWS CLI commands and programs that use an AWS SDK. Each enabled integration can be configured as a standard AWS profile inside the agent sandbox. Agents can list the accounts available to your workspace: ```bash theme={null} tembo aws profiles ``` They select an account when running each command: ```bash theme={null} tembo aws exec staging -- aws sts get-caller-identity tembo aws exec production -- aws s3 ls ``` The selector can be the integration's environment label, generated profile name, AWS account ID, or integration ID. If two integrations use the same label or AWS account ID, use the generated profile name shown by `tembo aws profiles`. The `exec` command authenticates on demand and limits the selected profile to its child process. This makes it safe to use different AWS accounts concurrently in one session without changing ambient credentials. Agents can only do what the IAM role permits. The default is `ViewOnlyAccess`; you control this entirely. ## Before you start You need permission to create IAM roles and identity providers in the target AWS account. > [!NOTE] > > Connect as many AWS accounts as you like. Every enabled AWS integration is available to every session and automation in your workspace; it does not have to be assigned when a session starts. The agent explicitly selects an account for each command. ## Choose a setup method > [card] [Use the CloudFormation template](#option-1-use-the-cloudformation-template) > > Fastest path. Tembo gives you a template that creates the OIDC provider and role for you. > [card] [Create the resources yourself](#option-2-create-the-resources-yourself) > > Use your own Terraform, CDK, Pulumi, or the AWS CLI. Full requirements below. Both produce identical results. Tembo only needs the finished role ARN. ## Option 1: Use the CloudFormation template **1. Open the connect modal** Go to **Settings > Integrations** and click **Connect** next to AWS. Enter a name for this account, for example `production`. **2. Deploy the stack** Click **Create via CloudFormation** to open a pre-filled stack in your AWS console, then deploy it. If that link returns "Access Denied", download the template from the connect modal and upload it manually instead: in the [CloudFormation console](https://console.aws.amazon.com/cloudformation), choose **Create stack → With new resources → Upload a template file**, then supply your [workspace ID](#find-your-workspace-id) when prompted. **3. Copy the role ARN** When the stack completes, open its **Outputs** tab and copy the `RoleArn` value. **4. Finish in Tembo** Back in the connect modal, switch to **Enter ARN manually**, paste the ARN, and click **Connect**. ## Option 2: Create the resources yourself Create two resources in the AWS account you want to connect, then hand Tembo the role ARN. ### Find your workspace ID The role's trust policy has to name the workspace allowed to assume it. In Tembo, go to **Settings → Workspace** and copy the value under **Workspace ID**. The value starts with `org_`, because a workspace is an organization internally. That's why the trust policy's subject is `org:` followed by this value. ### Requirements | Setting | Value | | - | - | | OIDC provider URL | `https://internal.tembo.io` | | Audience (client ID) | `sts.amazonaws.com` | | Trust policy action | `sts:AssumeRoleWithWebIdentity` | | `internal.tembo.io:aud` condition | `sts.amazonaws.com` | | `internal.tembo.io:sub` condition | `org:` | | Max session duration | 3600 seconds | | Permissions | Your choice. `ViewOnlyAccess` is the default Tembo suggests. | Three details are easy to get wrong: * **The provider must live in the same AWS account as the role.** AWS resolves the federated principal locally when the role is assumed, so a provider in another account will not work. * **The condition keys drop the scheme.** They are `internal.tembo.io:sub`, not `https://internal.tembo.io:sub`. * **The subject is prefixed.** If your workspace ID is `org_2vyf1Ja...`, the `sub` value is `org:org_2vyf1Ja...` — the literal string `org:` followed by the full ID. > [!WARNING] > > Always pin the `sub` condition to your workspace ID. The OIDC provider only proves that Tembo signed the token, not which workspace it was issued for. Without the `sub` condition, a token issued to any other Tembo workspace would satisfy your trust policy. ### The OIDC provider Register `https://internal.tembo.io` as an IAM OIDC identity provider with `sts.amazonaws.com` as the only audience. You only need one per AWS account. IAM identity providers are global, so if you manage infrastructure per-region, create it once rather than once per region. If the provider already exists in the account, reuse it instead of creating a second one. Thumbprints do not need maintaining. AWS verifies the JWKS endpoint's TLS certificate against its own library of trusted root certificate authorities, and only falls back to the configured thumbprint if the certificate is not signed by one of those. Tembo's endpoint uses a publicly trusted certificate, so a placeholder value of forty zeroes is fine. ### The IAM role Attach this trust policy, replacing the account ID and workspace ID: ```json Trust policy theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Federated": "arn:aws:iam::111122223333:oidc-provider/internal.tembo.io" }, "Action": "sts:AssumeRoleWithWebIdentity", "Condition": { "StringEquals": { "internal.tembo.io:aud": "sts.amazonaws.com", "internal.tembo.io:sub": "org:org_2vyf1Ja..." } } } ] } ``` Then attach permissions. Start with `arn:aws:iam::aws:policy/job-function/ViewOnlyAccess` and narrow or widen it to suit. Set the role's maximum session duration to 3600 seconds to match the session length Tembo requests. The role name does not matter — Tembo identifies the role by ARN. ### Terraform ```hcl theme={null} resource "aws_iam_openid_connect_provider" "tembo" { url = "https://internal.tembo.io" client_id_list = ["sts.amazonaws.com"] thumbprint_list = ["0000000000000000000000000000000000000000"] } data "aws_iam_policy_document" "tembo_assume_role" { statement { effect = "Allow" actions = ["sts:AssumeRoleWithWebIdentity"] principals { type = "Federated" identifiers = [aws_iam_openid_connect_provider.tembo.arn] } condition { test = "StringEquals" variable = "internal.tembo.io:aud" values = ["sts.amazonaws.com"] } condition { test = "StringEquals" variable = "internal.tembo.io:sub" values = ["org:${var.tembo_workspace_id}"] } } } resource "aws_iam_role" "tembo" { name = "tembo-integration" assume_role_policy = data.aws_iam_policy_document.tembo_assume_role.json max_session_duration = 3600 } resource "aws_iam_role_policy_attachment" "tembo_view_only" { role = aws_iam_role.tembo.name policy_arn = "arn:aws:iam::aws:policy/job-function/ViewOnlyAccess" } output "tembo_role_arn" { value = aws_iam_role.tembo.arn } ``` ### AWS CLI ```bash theme={null} ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text) TEMBO_WORKSPACE_ID=org_2vyf1Ja... # from Settings → Workspace aws iam create-open-id-connect-provider \ --url https://internal.tembo.io \ --client-id-list sts.amazonaws.com \ --thumbprint-list 0000000000000000000000000000000000000000 cat > trust-policy.json < [!NOTE] > > **Self-hosted Tembo:** replace `internal.tembo.io` throughout with your instance's `TEMBO_OIDC_ISSUER` hostname, scheme stripped. Your instance must serve `/.well-known/openid-configuration` and `/.well-known/jwks.json` over public HTTPS, because AWS STS fetches the JWKS itself when a role is assumed — reachability from inside your own network is not enough. ## How authentication works Tembo never stores long-lived AWS credentials. Authentication begins only when an agent uses an AWS integration: 1. The agent lists the enabled AWS integrations in your workspace and explicitly selects one for a command. 2. Tembo configures standard AWS profiles that use a credential helper. No static access keys are written to the AWS config. 3. When the selected profile needs credentials, Tembo mints a short-lived RS256 JWT (5-minute TTL) signed with its OIDC private key. It carries an `iss` of the Tembo issuer, an `aud` of `sts.amazonaws.com`, and a `sub` of `org:`. 4. Tembo calls `sts:AssumeRoleWithWebIdentity` against the selected role. This call carries no AWS credentials of its own — the token is the identity. 5. STS finds the OIDC provider in your account, verifies the JWT with Tembo's public JWKS, evaluates your trust policy, and returns temporary credentials with a 1-hour TTL. 6. The credential helper caches those temporary credentials in the sandbox and refreshes them when needed while the sandbox or authorized runtime remains active and the integration remains enabled. The selected profile is scoped to the child process and does not become the sandbox's default AWS identity. Because the OIDC token is the identity, nothing about this depends on which AWS account Tembo runs in. ## Troubleshooting > [accordion] "Access Denied" when opening the CloudFormation link > > The one-click URL fetches the template from an S3 bucket. If the bucket policy has not been updated, the AWS console returns an access denied error. Download the template from the connect modal and upload it manually instead — it creates identical resources. > [accordion] AssumeRoleWithWebIdentity fails after deploy > > Work through these in order: > > 1. **Provider URL exact match.** It must be `https://internal.tembo.io` — correct scheme, no trailing slash, no typos. STS matches the token's `iss` claim against the registered provider URL exactly. > 2. **Provider is in the same account as the role.** A provider in a different account is not usable. > 3. **`sub` includes the `org:` prefix.** The value is `org:org_2vyf1Ja...`, not `org_2vyf1Ja...`. > 4. **Condition keys have no scheme.** `internal.tembo.io:sub`, not `https://internal.tembo.io:sub`. > 5. **Workspace ID matches.** Compare against the value under **Workspace ID** in **Settings → Workspace**. > [accordion] No AWS integrations are available > > The workspace does not have an enabled AWS integration. Connect one from **Settings → Integrations**, then retry the command. Sessions and automations that do not use AWS continue to work normally. > [accordion] An AWS profile selector is ambiguous or not found > > List the enabled profiles again and use the generated profile name or integration ID. Environment labels and AWS account IDs are convenient selectors, but they may match more than one integration. > [accordion] Credentials stop refreshing during a long-running command > > Credentials refresh while the sandbox or authorized runtime remains active and the integration remains enabled. Refresh fails closed if the runtime is no longer authorized or the AWS integration is disabled, removed, or no longer belongs to the workspace. > [accordion] Agent can't reach AWS APIs > > During authentication, the sandbox credential helper contacts the Tembo API, and the Tembo API calls AWS STS. On self-hosted deployments in a private network, confirm that: > > * The Tembo API or control plane has outbound HTTPS access to AWS STS. > * The agent sandbox has outbound HTTPS access to the AWS service endpoints used by the child command. > * The agent sandbox only needs access to AWS STS when the child command itself calls STS. > [accordion] Agent hits permission errors on AWS calls > > The role's policies decide what agents can do, and `ViewOnlyAccess` grants access to view resources and basic metadata. To allow additional data access or writes, attach scoped policies to the role. > [accordion] Performance Insights or other encrypted data returns access denied > > Some AWS features encrypt data with a customer-managed KMS key and require the caller to hold `kms:Decrypt` on that key. `ViewOnlyAccess` does not grant `kms:Decrypt`. Add a scoped statement to the role for the specific key, ideally conditioned on `kms:ViaService` so it is only usable through the owning service. # BigQuery Source: https://docs.tembo.io/integrations/bigquery Query BigQuery datasets from Tembo agents. ![BigQuery](https://mintcdn.com/test-8862363a/7UX5lMnbRhT_kzvs/images/integrations/bigquery.png?fit=max\&auto=format\&n=7UX5lMnbRhT_kzvs\&q=85\&s=69ec33f9005c62aa3c4ab492d4295a85) ## Features * MCP server for querying BigQuery datasets during sessions ## Installation **1. Add your project and credentials** Go to **Settings > Integrations** and click **Connect** next to BigQuery, then enter your Google Cloud **Project ID** and a service account JSON key with access to your BigQuery datasets. ## Usage After connecting, Tembo can query your BigQuery datasets during sessions through a dedicated MCP server for that project. ## Advanced > [accordion] MCP server > > The BigQuery MCP can run queries against your project during sessions when querying would help complete the work. > [accordion] Service account > > Use a dedicated service account scoped to only the datasets Tembo needs to query. # Bitbucket Source: https://docs.tembo.io/integrations/bitbucket Pull requests and code changes in your Bitbucket workspace. ![Bitbucket](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/bitbucket.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=f896a54d9084c2a881370d690dbc0eab) ## Features * Open pull requests with code changes * Respond to PR feedback and iterate * Draft PR support with automatic branch cleanup * Multi-workspace repository sync ## Installation **1. Create service user** Create a dedicated Bitbucket account for Tembo using an email alias (`you+tembo@company.com`) or dedicated email. Invite it to your workspace. **2. Install** Go to **Settings > Integrations** and click **Install** next to Bitbucket. Log in as the Tembo service account. **3. Activate** Select which repositories Tembo should work with. ## Usage ### PR comments Add `/tembo` in any pull request comment to request changes. Tembo reads the feedback, updates the code, and pushes new commits. ``` /tembo Please add error handling to this function ``` Works on PRs created by Tembo and PRs created by your team. ## Automations See [Automations](/features/automations) for available Bitbucket event triggers. ## Advanced > [accordion] Repositories not appearing > > Wait 2-5 minutes for initial sync. Click the sync button to refresh. Verify the service user has workspace access. > [accordion] PRs not being created > > Check that the repository is activated and branch protection rules allow Tembo to create branches. > [accordion] Authentication errors > > Ensure the service user has proper permissions and workspace membership. Try disconnecting and reconnecting. # Chrome extension Source: https://docs.tembo.io/integrations/chrome-extension Open GitHub, GitLab, and Bitbucket pull requests in Tembo review. ![Tembo and Chrome logos](https://mintcdn.com/test-8862363a/O2zrX7mrDeulE_16/images/integrations/chrome.png?fit=max\&auto=format\&n=O2zrX7mrDeulE_16\&q=85\&s=82e3e53d49d6f185faae03c4838c140b) The Tembo Chrome extension redirects supported pull request pages to the matching [Tembo review](/features/reviews), so you can review code in Tembo instead of staying in the git provider. ## Features * Redirect GitHub pull requests to Tembo review * Redirect GitLab merge requests to Tembo review * Redirect Bitbucket pull requests to Tembo review * Toggle redirects on or off from the extension popup * Configure the redirect base URL for self-hosted Tembo deployments ## Installation **1. Install** Install [Tembo from the Chrome Web Store](https://chromewebstore.google.com/detail/tembo/ndddjkpleekhdmmnnlpoofojjhapekbi?authuser=0\&hl=en). **2. Sign in** Sign in to [Tembo](https://app.tembo.io) with the workspace that has access to the repository. **3. Open a pull request** Open a supported GitHub, GitLab, or Bitbucket pull request. The extension redirects the page to the matching Tembo review. ## Supported pull request URLs The extension supports pull requests and merge requests on the hosted git providers: | Provider | Supported URL pattern | | - | - | | GitHub | `https://github.com/{owner}/{repo}/pull/{number}` | | GitLab | `https://gitlab.com/{group}/{project}/-/merge_requests/{number}` | | Bitbucket | `https://bitbucket.org/{workspace}/{repo}/pull-requests/{number}` | ## Usage When you visit a supported pull request URL, the extension sends you to Tembo's review redirect page. Tembo resolves the provider URL inside your active organization and opens the matching review. The repository must be connected to Tembo through [GitHub](/integrations/github), [GitLab](/integrations/gitlab), or [Bitbucket](/integrations/bitbucket). ## Advanced > [accordion] Disable redirects > > Click the Tembo extension icon and turn redirects off. Turn them back on when you want provider pull request pages to open in Tembo again. > [accordion] Use a custom Tembo URL > > Click the Tembo extension icon and change **Base URL** if you use self-hosted Tembo. The extension uses this as the redirect base URL. The default is `https://app.tembo.io`. > [accordion] Pull request does not redirect > > Confirm redirects are enabled, you are using a supported hosted provider URL, and the repository is connected to Tembo. Self-hosted git provider domains are not supported by the extension. # Clerk Source: https://docs.tembo.io/integrations/clerk Work with Clerk users, organizations, and authentication data through MCP. Work with Clerk users, organizations, and authentication data through MCP. ## Prerequisites You need access to your Tembo organization and access to the intended Clerk application. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Clerk** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.clerk.com/mcp`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to inspect a development application without changing users. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Use a development instance for verification; user and organization actions may affect authentication access. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Cloudflare Source: https://docs.tembo.io/integrations/cloudflare Manage Cloudflare Workers, DNS, R2, D1, KV, and more through the Cloudflare MCP server. ![Tembo and Cloudflare logos](https://mintcdn.com/test-8862363a/2nVeZqcndZsViyhw/images/integrations/cloudflare.png?fit=max\&auto=format\&n=2nVeZqcndZsViyhw\&q=85\&s=8a63163a4fb06413840b56d3da544279) ## Features * Access to the full Cloudflare API through Cloudflare's official MCP server (`https://mcp.cloudflare.com/mcp`) * Coverage across Workers, DNS, R2, D1, KV, Zero Trust, and other Cloudflare products * Permissions you choose on Cloudflare's authorization screen, so agents only get the access you grant ## Prerequisites You need access to your Tembo organization and a Cloudflare account with access to the accounts and zones you want Tembo to work with. ## Installation **1. Open Integrations** In the Tembo app, go to **Settings → Integrations**. **2. Install Cloudflare** Scroll to the **Developer Tools** group and click **Install** next to Cloudflare. **3. Sign in to Cloudflare and choose permissions** Sign in with the Cloudflare account you want to connect. On the **Authorize Tembo** screen, review the base scopes. Open **Advanced** to edit them, then click **Continue**. > [!NOTE] > > You can narrow the scopes further later in Cloudflare's authorization flow. Grant only the access your agents need. **4. Confirm install** After authorizing, you'll be redirected back to the Tembo Integrations page and Cloudflare will switch from uninstalled to installed. ## Usage Once installed, Tembo agents automatically have access to the Cloudflare MCP server during sessions. No further configuration is needed in Tembo. Start a new session and ask Tembo to list the Workers in your account, or to show the DNS records for a zone. Confirm that the returned data belongs to the account you intended to connect before asking Tembo to make changes. ## Advanced > [accordion] MCP server > > Cloudflare's MCP server exposes two tools, `search()` and `execute()`. Agents search a typed representation of the Cloudflare API, then run code against it in a sandbox on Cloudflare. This gives agents access to the whole Cloudflare API without loading every endpoint as a separate tool. See [Cloudflare's MCP server documentation](https://developers.cloudflare.com/agents/model-context-protocol/mcp-servers-for-cloudflare/). > [accordion] Permissions > > Tembo requests Cloudflare's default base scopes (`user:read` and `account:read`). On the authorization screen you can switch to a different scope template or edit the scopes under **Advanced**. To change permissions later, uninstall Cloudflare in **Settings → Integrations** and install it again. > [accordion] Troubleshooting > > If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. If a request fails with a permissions error, reinstall Cloudflare and grant the scopes the task needs. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Context.dev Source: https://docs.tembo.io/integrations/context-dev Search, scrape, and crawl the web, retrieve brand data, and manage batches and monitors through Context.dev MCP. Search, scrape, and crawl the web, retrieve brand data, and manage batches and monitors through Context.dev MCP. ## Prerequisites You need access to your Tembo organization and access to a Context.dev account. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Context.dev** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.context.dev/mcp`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to search for or scrape a non-sensitive public page. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Do not put internal secrets in search queries. Review the scope before asking the agent to crawl sites or create batches and monitors. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Context7 Source: https://docs.tembo.io/integrations/context7 Retrieve library documentation and version-specific code examples through Context7 MCP. Retrieve library documentation and version-specific code examples through Context7 MCP. ## Prerequisites You need access to your Tembo organization and access to Context7 and the library name you want to look up. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Context7** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.context7.com/mcp/oauth`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to retrieve documentation for a known library and version. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Include the intended library version in your request so the returned documentation matches your project. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Datadog Source: https://docs.tembo.io/integrations/datadog Query Datadog metrics, logs, traces, monitors, and incidents through MCP. Query Datadog metrics, logs, traces, monitors, and incidents through MCP. ## Prerequisites You need access to your Tembo organization and a Datadog account and the Datadog site that hosts your data. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Datadog**, click **Install**, and choose the Datadog site that hosts your data. 3. Copy the **OAuth callback URL** from the dialog and add it under **Organization Settings → MCP OAuth Redirect URLs** in Datadog. Datadog only completes OAuth for redirect URLs your organization has approved. 4. Choose toolsets. Only Datadog's default `core` toolset is enabled unless you select **Enable all generally available toolsets**. To add more, enter a comma-separated list under **Additional toolsets**, such as `apm, ddsql, dashboards`. Preview toolsets must be named there even when all generally available toolsets are enabled. See [Datadog's toolset list](https://docs.datadoghq.com/bits_ai/mcp_server/setup/). 5. Click **Connect Datadog** and complete the provider authorization. Review the requested access and select the intended account or workspace. 6. Confirm the connection is ready before starting a new session. The catalog server defaults to US1 at `https://mcp.datadoghq.com/v1/mcp`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to read a test monitor or a small set of recent metrics. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Select the Datadog site matching your account during installation. Connecting to the wrong regional endpoint does not grant access to data in your actual site. If authorization fails, confirm the callback URL from the connection dialog is listed under **Organization Settings → MCP OAuth Redirect URLs** in Datadog. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Fathom Source: https://docs.tembo.io/integrations/fathom Bring your Fathom meeting recordings, transcripts, summaries, and action items into Tembo sessions. ![Fathom](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/fathom.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=73c5ad112bc7a2dcb174d940efa7770a) ## Features * Read access to your Fathom meeting recordings, transcripts, summaries, and action items * Search meetings by title, host, or attendee name/email * Surface meeting context to Tembo agents during sessions for follow-up tasks, summaries, and action-item triage ## Installation **1. Open Integrations** In the Tembo app, go to **Settings → Integrations**. **2. Install Fathom** Scroll to the **Productivity** group and click **Install** next to Fathom. \[!WARNING] If you have to create an account at this step, you will have to go back into Tembo and restart the install process. **3. Sign in to Fathom & Authorize Tembo** A popup opens at `fathom.video`. Sign in with the Fathom account you want to connect. > [!NOTE] > > The popup host is `fathom.video`, not `api.fathom.ai`. This is expected — Fathom routes the OAuth consent screen through their main app domain. Fathom will then ask you to grant the `mcp` scope. Click **Authorize**. **4. Confirm install** After authorizing, you'll be redirected back to the Tembo Integrations page and Fathom will switch from uninstalled to installed. ## Usage Once installed, Tembo agents automatically have access to the Fathom MCP server during sessions. No further configuration is needed — agents can search your meetings, read transcripts and summaries, and reference action items to inform the changes they propose. ## Advanced > [accordion] OAuth scope > > Tembo's Fathom integration requests a single OAuth scope, `mcp`, which grants the agent **read-only** access to Fathom resources exposed through the official Fathom MCP server (`https://api.fathom.ai/mcp`): meetings, recordings, transcripts, summaries, action items, teams, and members. Tembo cannot create, modify, or delete meetings or any other Fathom data. > [accordion] Per-user installation > > Each Tembo user connects their own Fathom account. Your token only sees meetings you recorded plus any meetings shared with your team in Fathom. To give Tembo broader visibility, have additional teammates install the integration with their own Fathom accounts. > [accordion] Authorization popup host > > During install, the OAuth popup opens at `fathom.video/mcp/oauth/authorize` rather than `api.fathom.ai`. This is how Fathom's published OAuth discovery document directs clients — the consent screen lives on the main app domain, the token endpoint lives on the API domain. > [accordion] Reconnecting after token expiry > > Fathom access tokens are short-lived. Tembo refreshes them automatically using the rotating refresh token issued during install. If a refresh fails (for example, if you revoked access in Fathom), the integration will surface a reconnect prompt — go to **Settings → Integrations** and click **Install** on the Fathom card to re-authorize. # GitHub Source: https://docs.tembo.io/integrations/github Pull requests, code review, and automated workflows. ![GitHub](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/github.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=16eb158bfa52a1dc0deaf0463bd57760) ## Features * Open pull requests with code changes * Review PRs with inline comments * Respond to PR feedback and iterate * Start work from GitHub issues * Auto-fix failed GitHub Actions workflows * Signed and verified commits on all Tembo PRs ## Installation **1. Install** Go to **Settings > Integrations** and click **Install** next to GitHub. **2. Authorize** Choose **All repositories** or **Selected repositories** and authorize. **3. Activate** Select which repositories Tembo should work with under "Active Repositories". ## Usage ### PR comments Comment `@tembo` on any pull request to request changes. Works in the main thread or as inline review comments on specific lines. Tembo reads the feedback, updates the code, and pushes new commits. ``` @tembo Please add error handling to this function ``` Works on PRs created by Tembo and PRs created by your team. ### Issues Comment `@tembo` on any issue to start implementation. Tembo reads the issue title and description, then opens a PR. ``` @tembo Implement the API endpoint described in this issue ``` Tembo only responds to `@tembo` mentions from members of your Tembo workspace who have connected their GitHub account in **Settings > Connected accounts**. If someone else tags Tembo, it replies once with a link to connect their account and doesn't start a session. ## Automations See [Automations](/features/automations#event-driven) for available GitHub event triggers. GitHub triggers for PRs opened, closed, merged, marked ready for review, or updated with new commits include Tembo-created PRs by default. To exclude them, disable the `temboPrs` filter on the trigger. Explicitly disabled filters stay disabled, and other trigger filters still apply. ### PR reviews Reviews pull requests for bugs, security issues, and code quality. Leaves inline comments automatically when a PR is opened. ### Enrich issues Adds codebase context to new GitHub issues, helping agents and teammates understand the relevant code before starting work. ### Failed workflows Detects GitHub Actions failures and opens fix PRs automatically. ## Advanced > [accordion] Attribution > > By default, PRs and commits are made under the Tembo bot account. To attribute them to your GitHub user instead, connect your personal GitHub account in **Settings > Connected accounts**. > > Org admins can require this: turn on **Require personal GitHub accounts** under **Session requirements** in **Settings > Workspace** to block members from starting sessions until they connect a personal GitHub account. > [accordion] Require personal GitHub accounts > > Workspace admins can require every member to connect their personal GitHub account before starting sessions. Enable **Require personal GitHub accounts** under **Session requirements** in **Settings > Workspace**. > [accordion] Signed commits > > All commits in Tembo PRs are automatically signed and verified with a "Verified" badge in GitHub. > No configuration needed. > [accordion] Merge or close actions > > Tembo can merge or close a pull request through GitHub tool calls. If a merge or close action is requested while another Tembo job is already running on that pull request, the agent rejects the request. Wait for the active job to finish, then try again. > [accordion] Repositories not appearing > > Wait 2-5 minutes for initial sync. If they still don't show, click the sync button on the GitHub > integration card. Check that you granted Tembo access during installation and that you have > permission to install GitHub Apps for your organization. > [accordion] @tembo not responding > > Make sure you're using `@tembo` (lowercase), that the repository is activated in Integrations, and that your GitHub account is connected to your Tembo account in **Settings > Connected accounts**. > [accordion] PRs not being created > > Check that the repository is activated and there isn't already an open PR for the same issue. # GitLab Source: https://docs.tembo.io/integrations/gitlab Merge requests, code scanning, and pipeline monitoring. ![GitLab](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/gitlab.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=e7a3f7422711e55a11d7d7b886f66983) ## Features * Open merge requests with code changes * Respond to MR feedback and iterate * Auto-fix failed CI/CD pipelines * Scan for TODOs, security issues, and tech debt ## Installation Tembo supports a shared GitLab service account or a personal account connected through OAuth. We recommend a service account so the integration does not depend on an individual team member. ### Connect a service account You must be a Tembo organization admin. On GitLab.com, you must also be an Owner of the top-level group and may need to verify your identity. For GitLab Self-Managed or Dedicated, you must be an instance administrator or an Owner who is allowed to create service accounts. **1. Create a GitLab service account** In GitLab, open your top-level group and go to **Settings → Service accounts**. Select **Add service account**, name the account, and select **Create service account**. See [GitLab's service account instructions](https://docs.gitlab.com/user/profile/service_accounts/#create-a-service-account) for GitLab.com and self-managed prerequisites. **2. Grant repository access** Add the service account as a member of the top-level group or each project that Tembo should access. Assign the **Maintainer** role so Tembo can create project webhooks as well as branches and merge requests. GitLab requires the Maintainer or Owner role to [create project webhooks](https://docs.gitlab.com/user/project/integrations/webhooks/#create-a-webhook). **3. Create an access token** On **Settings → Service accounts**, open the service account's menu and select **Manage access tokens → Add new token**. Enter a name and expiration date, select only the `api` scope, and select **Create personal access token**. Copy the generated token. GitLab documents token creation, expiration limits, rotation, and revocation under [Create a personal access token for a service account](https://docs.gitlab.com/user/profile/service_accounts/#create-a-personal-access-token-for-a-service-account). **4. Connect Tembo** In Tembo, go to **Settings > Integrations** and select **Install** next to GitLab. Paste the token into **Service account access token**, then select **Connect with access token**. **5. Activate repositories** Select which repositories Tembo should work with under **Active Repositories**. > [!NOTE] > > Tembo rejects tokens owned by regular personal user accounts. When the service account token expires, is rotated, or is revoked, open the GitLab integration in **Settings > Integrations**, select **Reinstall**, paste the new token, and select **Update access token**. Your repositories and projects stay connected. ### Connect with OAuth Go to **Settings > Integrations**, select **Install** next to GitLab, and select **Continue with OAuth**. Authorize access, then select which repositories Tembo should work with under **Active Repositories**. ## Usage ### MR comments Comment `@tembo` on any merge request to request changes. Works in the main thread or as inline review comments. ``` @tembo Please add error handling to this function ``` Works on MRs created by Tembo, MRs created by your team, and merge requests from outside contributors on activated repositories. ## Automations See [Automations](/features/automations) for available GitLab event triggers. ### Failed pipelines Tembo can detect CI/CD pipeline failures and open fix MRs automatically. Set up an [automation](/features/automations) with a pipeline failure trigger. ## Advanced > [accordion] Repositories not appearing > > Wait 2-5 minutes for initial sync. Click the sync button on the GitLab integration card to refresh. Check that you granted access during installation. > [accordion] @tembo not responding > > Make sure you're using `@tembo` (lowercase) and that the repository is activated in Integrations. > [accordion] MRs not being created > > Check that the repository is activated and there isn't already an open MR for the same issue. # Google Docs Source: https://docs.tembo.io/integrations/google-docs Read and update Google Docs documents through MCP. Read and update Google Docs documents through Google's remote MCP server. ## Prerequisites You need access to your Tembo organization and a Google Cloud project where you can create OAuth clients. Google's Workspace MCP servers are in Google's Developer Preview, and they don't support dynamic client registration, so each organization connects with its own OAuth client. ## Installation 1. In Google Cloud, enable the Google Docs API and the `docsmcp.googleapis.com` MCP service. See Google's [MCP server setup guide](https://developers.google.com/workspace/guides/configure-mcp-servers). 2. Configure the OAuth consent screen and create a **Web application** OAuth client. 3. Open **Settings → Integrations** in Tembo, find **Google Docs** in the **Productivity** group, and click **Install**. The connection dialog opens with the server URL filled in and **Pre-registered** OAuth selected. 4. Copy the callback URL shown in the dialog and add it as an authorized redirect URI on your Google OAuth client. 5. Enter the **Client ID** and **Client Secret**, then save and authorize with the Google account you want to connect. The catalog server endpoint is `https://docsmcp.googleapis.com/mcp/v1`. If you leave **Scope** blank, Tembo requests the scopes the server advertises. Enter a space-separated scope to narrow access. See the [MCP authentication instructions](/integrations/mcp#advanced) for details on pre-registered OAuth clients. ## Usage and verification Start a new session and ask Tembo to read one of your Google Docs documents. Confirm the tools are available and that any returned data belongs to the Google account you intended to connect. ## Access and troubleshooting A shared connection uses the Google account of whoever authorized it. Workspace admins can check **Personal MCP** to keep the connection to their own sessions; connections created by non-admins are always personal. Confirm the document before allowing Tembo to update it. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Google Drive Source: https://docs.tembo.io/integrations/google-drive Search, read, create, and copy files in Google Drive through MCP. Search, read, create, and copy files in Google Drive through Google's remote MCP server. ## Prerequisites You need access to your Tembo organization and a Google Cloud project where you can create OAuth clients. Google's Workspace MCP servers are in Google's Developer Preview, and they don't support dynamic client registration, so each organization connects with its own OAuth client. ## Installation 1. In Google Cloud, enable the Google Drive API and the `drivemcp.googleapis.com` MCP service. See Google's [MCP server setup guide](https://developers.google.com/workspace/guides/configure-mcp-servers). 2. Configure the OAuth consent screen and create a **Web application** OAuth client. 3. Open **Settings → Integrations** in Tembo, find **Google Drive** in the **Productivity** group, and click **Install**. The connection dialog opens with the server URL filled in and **Pre-registered** OAuth selected. 4. Copy the callback URL shown in the dialog and add it as an authorized redirect URI on your Google OAuth client. 5. Enter the **Client ID** and **Client Secret**, then save and authorize with the Google account you want to connect. The catalog server endpoint is `https://drivemcp.googleapis.com/mcp/v1`. If you leave **Scope** blank, Tembo requests the scopes the server advertises. Enter a space-separated scope to narrow access. See the [MCP authentication instructions](/integrations/mcp#advanced) for details on pre-registered OAuth clients. ## Usage and verification Start a new session and ask Tembo to search your Google Drive for a file. Confirm the tools are available and that any returned data belongs to the Google account you intended to connect. ## Access and troubleshooting A shared connection uses the Google account of whoever authorized it. Workspace admins can check **Personal MCP** to keep the connection to their own sessions; connections created by non-admins are always personal. Confirm the file and destination before allowing Tembo to create or copy files. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Google Sheets Source: https://docs.tembo.io/integrations/google-sheets Read, write, and update values and formulas in Google Sheets spreadsheets through MCP. Read, write, and update values and formulas in Google Sheets spreadsheets through Google's remote MCP server. ## Prerequisites You need access to your Tembo organization and a Google Cloud project where you can create OAuth clients. Google's Workspace MCP servers are in Google's Developer Preview, and they don't support dynamic client registration, so each organization connects with its own OAuth client. ## Installation 1. In Google Cloud, enable the Google Sheets API and the `sheetsmcp.googleapis.com` MCP service. See Google's [MCP server setup guide](https://developers.google.com/workspace/guides/configure-mcp-servers). 2. Configure the OAuth consent screen and create a **Web application** OAuth client. 3. Open **Settings → Integrations** in Tembo, find **Google Sheets** in the **Productivity** group, and click **Install**. The connection dialog opens with the server URL filled in and **Pre-registered** OAuth selected. 4. Copy the callback URL shown in the dialog and add it as an authorized redirect URI on your Google OAuth client. 5. Enter the **Client ID** and **Client Secret**, then save and authorize with the Google account you want to connect. The catalog server endpoint is `https://sheetsmcp.googleapis.com/mcp/v1`. If you leave **Scope** blank, Tembo requests the scopes the server advertises. Enter a space-separated scope to narrow access. See the [MCP authentication instructions](/integrations/mcp#advanced) for details on pre-registered OAuth clients. ## Usage and verification Start a new session and ask Tembo to read the values from one of your spreadsheets. Confirm the tools are available and that any returned data belongs to the Google account you intended to connect. ## Access and troubleshooting A shared connection uses the Google account of whoever authorized it. Workspace admins can check **Personal MCP** to keep the connection to their own sessions; connections created by non-admins are always personal. Confirm the spreadsheet and range before allowing Tembo to write or update values. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Granola Source: https://docs.tembo.io/integrations/granola Bring Granola meeting notes, summaries, and insights into Tembo sessions. Bring Granola meeting notes, summaries, and insights into Tembo sessions. ## Prerequisites You need access to your Tembo organization and a Granola account with access to a test meeting note. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Granola** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.granola.ai/mcp`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to summarize a non-sensitive meeting note. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Meeting notes may contain confidential information. Authorize only the account whose notes the session should access. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Hamster Source: https://docs.tembo.io/integrations/hamster Work with Hamster briefs, plans, context, and delivery updates through MCP. Work with Hamster briefs, plans, context, and delivery updates through MCP. ## Prerequisites You need access to your Tembo organization and access to the intended Hamster workspace. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Hamster** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://tryhamster.com/mcp`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to read a test brief or plan. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Confirm the workspace before allowing updates to plans or delivery status. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # HubSpot Source: https://docs.tembo.io/integrations/hubspot Trigger Tembo sessions from HubSpot CRM events and query HubSpot data live during sessions. ![HubSpot](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/hubspot.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=b44ab6dedcb8715126c90980efc74628) HubSpot connects to Tembo as **two separate apps** that you can install independently or together: * **HubSpot Triggers** — webhook-driven CRM events that start Tembo sessions * **HubSpot MCP** — an MCP server agents use to query HubSpot data during sessions You install each from **Settings > Integrations**. ## Features * 14 webhook triggers across contacts, companies, deals, tickets, and tasks * HubSpot MCP server for in-session CRM queries * Workflow templates for common CRM patterns * Signed webhooks with HubSpot's v3 signature scheme ## Installation **1. Install HubSpot Triggers** Go to **Settings > Integrations** and click **Install** next to HubSpot Triggers. Authorize Tembo in the HubSpot OAuth flow. **2. Install HubSpot MCP** From the same page, install HubSpot MCP. This is a separate authorization for the MCP server agents use during sessions. **3. Configure automations** On the [Automations](/features/automations) page, pick which HubSpot trigger events should start sessions. ## Usage 1. An event happens in HubSpot — a new ticket, a deal stage change, a contact deletion. 2. HubSpot sends a signed webhook to Tembo. 3. Tembo verifies the signature, matches the portal to your workspace, and evaluates triggers. 4. Matching triggers start sessions according to your automation configuration. During a session, agents can also reach into HubSpot directly through the MCP server to look up additional context — related deals, contact history, engagement records. ## Triggers Three event families across four CRM objects, plus two specialized events: ### Creation * `contact.creation`, `company.creation`, `deal.creation`, `ticket.creation`, `task.creation` ### Property change * `contact.propertyChange`, `company.propertyChange`, `deal.propertyChange`, `ticket.propertyChange` ### Deletion * `contact.deletion`, `company.deletion`, `deal.deletion`, `ticket.deletion` ### Specialized * `deal.associationChange` — fires when a deal's associations to other objects change See [Automations](/features/automations) for trigger-to-automation configuration. ## Workflow templates Three HubSpot-centric templates ship with Tembo: * **HubSpot Call Task Coach** (Productivity) — on a new CALL task, posts a pre-call brief to Slack with context pulled from the related contact, deal, and recent engagements. * **HubSpot Email Task Drafter** (Productivity) — on a new EMAIL task, drafts a personalized outreach email and saves it as a draft. Never sends automatically. * **HubSpot Ticket → Linear Bug** (Management) — triages new HubSpot tickets and files Linear bugs with customer context when engineering action is needed. ## Advanced > [accordion] HubSpot Triggers vs HubSpot MCP > > HubSpot exposes triggers and MCP as two separate apps in their marketplace, so Tembo installs them separately too. Triggers deliver CRM events into Tembo as session starts. MCP lets agents query HubSpot live during a running session. Install both for full coverage. > [accordion] Triggers not firing > > Verify the HubSpot portal is connected in **Settings > Integrations**. Triggers fire per workspace automation config — double-check your [Automations](/features/automations) settings. > [accordion] Signature verification failures > > Tembo validates `X-HubSpot-Signature-v3` with a 5-minute timestamp window. If events are silently dropped, check that your system clock and HubSpot's are in sync. > [accordion] Asymmetric trigger coverage > > Not every object has every event. Tasks only emit creation; only deals emit association change. If you need a trigger that isn't listed, let us know. # incident.io Source: https://docs.tembo.io/integrations/incident-io Investigate incidents, alerts, on-call schedules, and follow-ups in incident.io through MCP. Investigate incidents, alerts, on-call schedules, and follow-ups in incident.io through MCP. ## Prerequisites You need access to your Tembo organization and access to the intended incident.io organization. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **incident.io** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.incident.io/mcp`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to list recent incidents in your incident.io organization. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Verify with read-only requests, such as listing incidents or on-call schedules, before asking Tembo to update incidents or follow-ups. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Infisical Source: https://docs.tembo.io/integrations/infisical Inject secrets into Tembo-powered runs without committing .env files. ![Infisical](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/infisical.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=d277182b931d4314cd7dd275ae4ea0c4) ## Features * Works out of the box in Tembo sandboxes (Infisical CLI is already installed) * Injects secrets at runtime without committing `.env` files * Supports optional env var overrides for project/environment/path/domain defaults ## Installation **1. Open Sandbox settings** In Tembo, go to **Settings** -> **Sandbox**. **2. Add environment variable** Add `INFISICAL_TOKEN` to your sandbox environment variables and save. **3. Start a new session** Start a new Tembo session. That's it. ## Usage In Tembo sandbox sessions, this will automatically work once `INFISICAL_TOKEN` is set. Run commands with `infisical run --`: ```bash theme={null} infisical run -- bun run --watch index.ts infisical run -- next dev --turbopack --port 3000 ``` If your script cannot infer the Infisical project automatically, add `--projectId` before the command separator: ```bash theme={null} infisical run --projectId -- bun run --watch index.ts ``` ## Optional overrides If you want to override defaults for `infisical run`, add these in **Settings -> Sandbox**: * `INFISICAL_PROJECT_ID` * `INFISICAL_ENV` * `INFISICAL_SECRET_PATH` * `INFISICAL_API_URL` Explicit CLI flags still win over env-var defaults. # Intercom Source: https://docs.tembo.io/integrations/intercom Connect Intercom conversations, contacts, companies, and Help Center articles using an access token. Connect Intercom so Tembo can search conversations, look up contacts and companies, and read or update Help Center articles during sessions. ## Prerequisites * You have access to your organization in Tembo. * Your Intercom workspace is hosted in the US or EU. Intercom's MCP server does not support AU-hosted workspaces. * You have an Intercom access token. Find it under **Configure → Authentication** for your app in the [Intercom Developer Hub](https://app.intercom.io/a/apps/_/developer-hub/app-packages). The token's app needs permission to read users and companies, read conversations, read and write articles, read audiences, and read admins. Add write access to conversations if you want Tembo to add internal notes. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Intercom** and click **Install**. 3. Set the **Authorization** header to `Bearer ` in the connection dialog. 4. If your workspace is hosted in the EU, change the server URL to `https://mcp.eu.intercom.com/mcp`. 5. Click **Add MCP** and confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.intercom.com/mcp`. ## Usage and verification Start a new session and ask Tembo to search recent Intercom conversations about a topic, or to look up a contact by email. Confirm the results come from the workspace you intended to connect. ## Access and troubleshooting Store the access token in the connection, not in a committed file. Tembo can only reach the data and actions the token's permissions allow. If tools do not appear, confirm the header value starts with `Bearer ` and that you used the endpoint for your workspace's hosted region, then start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Jam Source: https://docs.tembo.io/integrations/jam Read Jam bug reports, recordings, and reproduction steps through MCP. Read Jam bug reports, recordings, and reproduction steps through MCP. ## Prerequisites You need access to your Tembo organization and access to a Jam workspace and a test recording. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Jam** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.jam.dev/mcp`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to read a test bug report and summarize its reproduction steps. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Recordings can contain sensitive screen content. Connect only the workspace whose recordings agents should access. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Atlassian Source: https://docs.tembo.io/integrations/jira Connect Jira and Confluence to Tembo for issues, pages, and automation triggers. ![Jira](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/jira.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=582fb44d215832ec37b4778e0f308d73) The Atlassian integration connects both Jira and Confluence. Jira issues trigger implementation work; Confluence pages can trigger automations on page and comment activity. ## Jira ### Features * Add the `Tembo` label to trigger implementation * Use `tembo/{repo-name}` labels to target specific repositories * Status updates and PR links posted as comments ### Installation > [!NOTE] > > **We recommend giving Tembo its own Atlassian service account.** Install the integration with OAuth first, then connect a service account for Tembo. Jira comments and issue actions then come from a dedicated Tembo bot instead of the person who installed the integration. **1. Connect Atlassian** Go to **Settings > Integrations**, click **Install** next to Atlassian, and authorize your Atlassian site. Tembo uses this OAuth connection for webhooks, trigger configuration, and Confluence, so authorize with an account that can see the projects you want Tembo to work in. **2. Connect a Tembo service account (recommended)** Create a service account for Tembo in Atlassian and connect it to the integration. Follow [Set up a Tembo service account](#set-up-a-tembo-service-account) below. **3. Add labels** Create a `Tembo` label in your Jira project (recommended). Add it to any issue you want Tembo to work on. ### Service account A service account is a non-human Atlassian account that exists only for Tembo. Once connected, Tembo uses it to work on Jira issues and post comments. The OAuth connection from installation stays in place and is still required. > [card] Without a service account > > Tembo's comments and Jira actions show up under the personal account of the person who installed the integration. > [card] With a service account > > Tembo's comments and Jira actions show up under a dedicated Tembo account that you manage in Atlassian Administration. #### Prerequisites * The Atlassian integration is installed through OAuth (see [Installation](#installation)) * Permission to manage integrations in your Tembo organization * Access to Atlassian Administration for the organization that owns your Jira site #### Set up a Tembo service account **1. Create the service account** In Atlassian Administration, go to **Directory → Service accounts** and create a service account with an OAuth 2.0 credential. See Atlassian's guide to [creating OAuth 2.0 credentials for service accounts](https://support.atlassian.com/user-management/docs/create-oauth-2-0-credential-for-service-accounts/). Give the credential these **classic** scopes: * `read:me` * `read:jira-user` * `read:jira-work` * `write:jira-work` Name the service account `Tembo` (or anything that contains `Tembo`). That name appears on every comment Tembo posts, and it's needed for @-mentions of the account to trigger Tembo (see [Mentions and comments](#mentions-and-comments)). **2. Grant Jira access** Give the service account the **Jira User** role on your site, plus access to every project you want Tembo to work in. **3. Connect it in Tembo** Go to **Settings > Integrations** and open your Atlassian integration. Under **Jira service account**, click **Connect service account** and enter the **Client ID** and **Client Secret**. When you connect, Tembo checks the credentials before saving them. The credential must: * Exchange successfully for an access token * Include all four required scopes * Belong to an active Jira user * Have access to at least one project on the connected site If any check fails, nothing is saved. When it succeeds, the settings page shows **Connected as** followed by the service account's display name. Tembo stores the client secret as an integration credential and never returns it in the settings page or API responses. #### Which identity Tembo uses | Service account | OAuth connection | | - | - | | Reading Jira issues and comments | Jira webhook registration and event delivery | | Posting status, reply, and completion comments | Trigger configuration and evaluation (projects, statuses, users, labels, boards) | | Jira tools used by agents during sessions | Syncing the installation | | Recognizing Tembo's own comments and @-mentions | Confluence | If the service account can't get a token or is refused access, the Jira action fails. Tembo never falls back to the OAuth user for that action. #### Agent tools in bot mode With a service account connected, agents can use only these core Jira tools: * **Read:** search, get issue, list projects, list project issues, get worklogs, get transitions, search fields, list issue link types, get user profile, list project versions, list project components * **Write:** create issue, batch create issues, update issue, add comment, transition issue, add worklog, create issue link, remove issue link Board, sprint, and administration tools are unavailable in bot mode. Confluence tools keep working through the OAuth connection. New agent sessions start using the service account immediately. Existing sessions pick up the change the next time their credentials refresh. #### Mentions and comments Once a service account is connected, Tembo treats the service account as its own Jira user: * Tembo ignores comments written by the service account, so it doesn't respond to its own comments. * @-mentioning the service account triggers Tembo only if the account's display name contains `Tembo`. Writing `@tembo` or `/tembo` in a comment still works whatever the account is named. If Jira refuses to let Tembo edit a status comment it posted earlier, for example one posted before you connected the service account, Tembo posts the completion update as a new comment. #### Replace or disconnect * **Replace credentials** runs the same checks on the new Client ID and Client Secret, then swaps them in. * **Disconnect service account** deletes the stored service account credentials. Jira actions and comments go back to the OAuth user. The Atlassian integration and its webhooks stay connected. Reconnecting through OAuth keeps an existing service account. If the reconnect would switch to a different Jira site than the service account belongs to, Tembo rejects it and leaves your existing integration settings unchanged. #### Limitations * A service account can't replace the OAuth installation. Webhooks and the other features that use the OAuth connection still need it. * Jira and Confluence must use the same Atlassian site. If your integration uses Confluence on a different site from Jira, you can't connect a service account. ### Usage Add the `Tembo` label to any issue. Tembo reads the description, creates a coding session, and opens a PR. If you add a `tembo/{repo-name}` label, that also triggers Tembo and routes the task to the selected repository. #### Target a specific repository Add a label in the format `tembo/{repo-name}` (for example, `tembo/monorepo`). This label also triggers processing on its own, so you do not need a separate `Tembo` label. * `{repo-name}` must match the repository name as it appears in Tembo (the `name` field on the connected repository). * The `tembo/` prefix is case-sensitive: use lowercase `tembo/`. * Valid characters in `{repo-name}` are letters, numbers, `_`, `.`, and `-`. When multiple `tembo/{repo-name}` labels are present, Tembo uses the first one that matches a connected, enabled repository. #### Fallback behavior If no `tembo/{repo-name}` label matches a connected, enabled repository, Tembo falls back to the default repository configured for your Jira integration in Tembo. ### Automations See [Automations](/features/automations) for available Jira event triggers. ### Advanced > [accordion] Tembo not responding to labels > > Verify the issue has the `Tembo` label or a `tembo/{repo-name}` label (for example, `tembo/monorepo`). If you connected a service account, confirm it can access the issue's project. Check integration status in **Settings > Integrations**. > [accordion] Issues not being processed > > Ensure GitHub/GitLab/Bitbucket is connected. Include clear descriptions with acceptance criteria. > [accordion] Service account connection fails > > * **Missing required scopes:** add the listed scopes to the service account's OAuth 2.0 credential. They must be classic scopes. > * **Check the service account credentials, scopes, Jira User role, and access to this site:** confirm the Client ID and Client Secret are correct and the account has the Jira User role on the connected site. > * **Give the service account the Jira User role and access to at least one project:** the account can't see any projects on the site yet. Grant it project access. > * **Require Jira and Confluence to use the same connected site:** your integration uses Confluence on a different site from Jira. Service accounts don't support that setup. > * **Atlassian is unavailable** or **validation timed out:** wait, then try connecting again. > [accordion] Tembo can't comment or update issues after connecting a service account > > Tembo doesn't fall back to the OAuth user when the service account fails. Check that the service account can access the project the issue is in. If the account was deleted or its credential revoked, replace the credentials or disconnect the service account. ## Confluence Confluence page and comment activity can trigger automations once Confluence triggers are enabled on your Atlassian integration. ### Setup **1. Enable Confluence triggers** In **Settings > Integrations**, click **Enable Confluence triggers**. This installs Tembo's companion Forge app; a site admin must approve the installation. ### Triggers | Trigger | Description | | - | - | | Confluence Page Created | When a page is created in Confluence | | Confluence Page Updated | When a page is updated in Confluence | | Confluence Page Moved | When a page is moved in Confluence | | Confluence Comment Created | When a comment is created on a Confluence page | | Confluence Page Label Added | When a label is added to a Confluence page | | Confluence Page Label Removed | When a label is removed from a Confluence page | See [Automations](/features/automations) for how to use these as automation triggers. ### Filters Each Confluence trigger supports optional filters so an automation only fires for the pages, spaces, or content you care about. Configure filters when you add the trigger to an automation. | Filter | Available on | Description | | - | - | - | | Spaces | All triggers | Only trigger if the page is in a space with one of these names or IDs | | Title contains | All triggers | Only trigger if the page title contains one of these substrings | | Previous spaces | Page Moved | Only trigger if the page was moved from a space with one of these names or IDs | | Locations | Comment Created | Only trigger for footer comments, inline comments, or both | | Labels | Page Label Added, Page Label Removed | Only trigger if the added or removed label has one of these values | | Comment contains | Page Label Added, Page Label Removed | Only trigger if the comment on the label event contains one of these substrings | Leave a filter empty to match every event for that trigger. # KERNEL Source: https://docs.tembo.io/integrations/kernel Use KERNEL cloud browsers for automation and web interactions through MCP. Use KERNEL cloud browsers for automation and web interactions through MCP. ## Prerequisites You need access to your Tembo organization and a KERNEL account with browser access. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **KERNEL** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.onkernel.com/mcp`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to create a disposable browser session and open a non-sensitive test page. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Browser sessions may incur provider usage charges. Do not use production credentials for your initial test. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Linear Source: https://docs.tembo.io/integrations/linear Assign issues to Tembo and get PRs back. ![Linear](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/linear.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=68ed61e5fc2094530dd071fa2ab37cba) ## Features * Assign issues to Tembo to trigger implementation * Multi-repository support for full-stack features * Status updates and PR links posted to issues * MCP server for real-time issue data access during sessions ## Installation **1. Install** Go to **Settings > Integrations** and click **Install** next to Linear. **2. Authorize** Authorize Tembo to access your Linear workspace. **3. Configure** Connect your repositories (GitHub, GitLab, or Bitbucket) so Tembo can work in them. ## Usage Assign a Linear issue to Tembo. Select one or more repositories when prompted. Tembo reads the issue, writes the code, and opens PRs. For multi-repo sessions, select multiple repositories and Tembo coordinates changes across all of them. It can also handle repositories across different git providers when needed. ## Automations See [Automations](/features/automations) for available Linear event triggers. ## Advanced > [accordion] MCP server > > When connected, a Linear MCP server is automatically available to agents. They can query issues, access project details, and read comments in real-time. > [accordion] Tembo not responding > > Verify the issue is assigned to the Tembo bot user. Check integration status in **Settings > Integrations**. > [accordion] Repository selection not appearing > > Ensure you've connected a code hosting provider (GitHub/GitLab/Bitbucket) and repositories are visible in your dashboard. # MCP Source: https://docs.tembo.io/integrations/mcp Connect built-in and custom MCP servers for agent tool access. ![MCP](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/mcp.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=b3652c9ed6aac788dd45264a36f1fe43) MCP (Model Context Protocol) servers let agents use external tools and data during sessions. To connect an external MCP client to the Tembo API, see the [Tembo MCP server](/api#mcp-server). ## Features * Install MCP servers from **Settings > Integrations** * Add your own MCP servers with `stdio`, `http`, or `sse` transport * Connect OAuth-based remote MCP servers * Enable MCP servers from existing integrations automatically (GitHub, Linear, Sentry, Postgres) * Scope a custom MCP server to yourself or share it with your workspace * Reach private MCP servers on your tailnet through the [Tailscale integration](/integrations/tailscale) ## Installation **1. Open Integrations** Go to **Settings > Integrations**. **2. Use built-in MCP servers** Install any listed MCP integration (for example, Notion or Stripe). Once connected, the server is available in new sessions. **3. Add a custom server** Click **Custom MCP**, paste your JSON config, then save. ## Built-in MCP integrations Use these guides to connect the remote MCP services available in Tembo's catalog. These connections provide tools during sessions; they do not by themselves configure event-triggered automations. | Integration | Tools and data | | - | - | | [Apify](/integrations/apify) | Actors for scraping, browser automation, and extraction | | [Attio](/integrations/attio) | CRM records, lists, and workspace data | | [Clerk](/integrations/clerk) | Users, organizations, and authentication data | | [Cloudflare](/integrations/cloudflare) | Workers, DNS, R2, D1, KV, and the full Cloudflare API | | [Context.dev](/integrations/context-dev) | Web search, scraping, crawling, and brand data | | [Context7](/integrations/context7) | Library documentation and version-specific examples | | [Datadog](/integrations/datadog) | Metrics, logs, traces, monitors, and incidents | | [Fathom](/integrations/fathom) | Meeting recordings, transcripts, and summaries | | [Google Docs](/integrations/google-docs) | Google Docs documents | | [Google Drive](/integrations/google-drive) | Google Drive files | | [Google Sheets](/integrations/google-sheets) | Spreadsheet values and formulas | | [Granola](/integrations/granola) | Meeting notes, summaries, and insights | | [Hamster](/integrations/hamster) | Briefs, plans, context, and delivery updates | | [HubSpot](/integrations/hubspot) | CRM contacts, deals, companies, and pipeline data | | [incident.io](/integrations/incident-io) | Incidents, alerts, on-call schedules, and follow-ups | | [Intercom](/integrations/intercom) | Conversations, contacts, companies, and Help Center articles | | [Jam](/integrations/jam) | Bug reports, recordings, and reproduction steps | | [KERNEL](/integrations/kernel) | Cloud browsers and web automation | | [Mobbin](/integrations/mobbin) | Mobile and web app design patterns | | [Neon](/integrations/neon) | Postgres projects and databases | | [Notte](/integrations/notte) | Cloud browser sessions and automation | | [Paper](/integrations/paper) | Design files, layouts, and design-to-code | | [Photon](/integrations/photon) | Projects, messaging channels, messages, and billing usage | | [PlanetScale](/integrations/planetscale) | Database access and management | | [PostHog](/integrations/posthog) | Analytics, feature flags, experiments, and insights | | [Pylon](/integrations/pylon) | Customer accounts and support data | | [Railway](/integrations/railway) | Projects, service deployments, and environments | | [Sazabi](/integrations/sazabi) | Production logs, issues, and root-cause investigations | | [Stripe](/integrations/stripe) | Customers, payments, subscriptions, and products | | [Supabase](/integrations/supabase) | Supabase projects and databases | | [Supermemory](/integrations/supermemory) | Persistent memory and context | | [Tavily](/integrations/tavily) | Web search, extraction, mapping, and crawling | | [TinyFish](/integrations/tinyfish) | Web agents for navigation and extraction | | [Vercel](/integrations/vercel) | Projects, deployments, build logs, and documentation | Review the selected provider account and requested permissions before connecting. Remote MCP tools send requests to the provider's service, even when Tembo is self-hosted. Your installed release and organization settings can affect catalog availability. ## Usage ### Prerequisites * You have access to your organization in Tembo * You have the server URL or command needed to start your MCP server * You have any required credentials (API key, OAuth app, or environment variables) ### Custom server transport types #### HTTP Use this for hosted MCP endpoints. ```json theme={null} { "mcpServers": { "api-server": { "type": "http", "url": "https://example.com/mcp", "headers": { "Authorization": "Bearer token" } } } } ``` #### SSE Use this for hosted MCP servers that expose an SSE endpoint. ```json theme={null} { "mcpServers": { "events-server": { "type": "sse", "url": "https://example.com/sse" } } } ``` #### Stdio Use this when the MCP server runs as a local command. ```json theme={null} { "mcpServers": { "github-mcp": { "type": "stdio", "command": "npx", "args": ["-y", "@modelcontextprotocol/server-github"], "env": { "GITHUB_TOKEN": "your-github-token" } } } } ``` ### Personal and shared custom servers When adding a custom server, workspace admins can check **Personal MCP** to make the server available only in sessions they create. Leave it unchecked to share the server with the rest of the workspace. Non-admins always create personal custom servers, and this cannot be changed after the server is created. ### Private servers on your tailnet If an `http` or `sse` MCP server is only reachable on your [Tailscale](https://tailscale.com) network, sessions can connect to it through the [Tailscale integration](/integrations/tailscale). You don't need to expose it to the public internet. Before you start: * Install and enable the [Tailscale integration](/integrations/tailscale) * Allow your session tag to reach the server's host and port in your tailnet policy. For example, with sessions tagged `tag:tembo-session` and the server tagged `tag:mcp`: ```jsonc theme={null} "acls": [ { "action": "accept", "src": ["tag:tembo-session"], "dst": ["tag:mcp:443"], }, ], ``` **1. Add a custom remote server** Go to **Settings > Integrations**, click **Install** on the **Custom MCP** card, and choose the **Remote** connection type. ![Integrations settings with Tailscale installed and the Custom MCP card's Install button](https://mintcdn.com/test-8862363a/umtnYSJKYfrhmEAk/images/mcp/custom-mcp-card.png?fit=max\&auto=format\&n=umtnYSJKYfrhmEAk\&q=85\&s=ed48638b2d6a3da653ad85b1ca66fc48) **2. Enter the tailnet URL** Enter a name and the server's URL on your tailnet. MagicDNS names work, for example `https://mcp.your-tailnet.ts.net/mcp`. **3. Turn on Reach via Tailscale** Turn on **Reach via Tailscale**. The toggle is disabled until the Tailscale integration is installed. **4. Add headers if needed** Your tailnet ACLs control which sessions can reach the server. If the server also expects a token, add it as a header (for example `Authorization`). OAuth and client credentials aren't available for tailnet servers. ![Add an MCP dialog with a tailnet server URL, Reach via Tailscale turned on, and an Authorization header](https://mintcdn.com/test-8862363a/umtnYSJKYfrhmEAk/images/mcp/reach-via-tailscale.png?fit=max\&auto=format\&n=umtnYSJKYfrhmEAk\&q=85\&s=bacff9148271d3354955223bd48a4e76) Click **Add MCP** to save the server. When a session connects to the server, it first joins your tailnet with a single-use, ephemeral key, then sends only that server's requests through the tailnet. Public MCP servers in the same session are unaffected. Tembo's API never contacts tailnet servers. That means: * The server shows as connected as soon as you add it, without a connection check. Start a session to confirm Tembo can reach it. * Connection testing isn't available for tailnet servers. * You can only turn on **Reach via Tailscale** when you add a server. To switch an existing server, remove it and add it again. ### Configuration formats Tembo accepts both of these formats: * Object format (recommended): `mcpServers` is an object keyed by server name * Array format: `mcpServers` is an array with explicit `name` values ```json theme={null} { "mcpServers": [ { "name": "api-server", "type": "http", "url": "https://example.com/mcp" } ] } ``` ## Advanced > [accordion] OAuth-based servers > > If a remote server requires OAuth, choose how the OAuth client is registered when adding the custom server: > > * **Automatic**: Tembo registers an OAuth client with servers that support dynamic client registration, then prompts you to authorize during setup and completes the connection after you approve access. > * **Pre-registered**: Use credentials from an OAuth client you already registered with the MCP provider. Register the callback URL shown in the dialog as the provider's OAuth redirect URL, then enter the **Client ID** (required), **Client Secret** (optional for public clients, but required by some providers such as Slack), and an optional space-separated **Scope**. > [accordion] Server not showing up in sessions > > Check that the JSON is valid, required fields are present, and the integration is saved successfully. Start a new session after saving to pick up updated MCP config. > [accordion] Authentication or connection errors > > Verify API keys, headers, or environment variables. For `http` and `sse` servers, confirm the URL is reachable from your server environment. > > For tailnet servers, confirm the Tailscale integration is still enabled and that your ACLs allow your session tag to reach the server's host and port. Connections that time out usually mean the ACL policy doesn't allow the traffic. # Mobbin Source: https://docs.tembo.io/integrations/mobbin Reference mobile and web app design patterns from Mobbin through MCP. Reference mobile and web app design patterns from Mobbin through MCP. ## Prerequisites You need access to your Tembo organization and an account entitled to access the intended Mobbin content. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Mobbin** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://api.mobbin.com/mcp`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to find a design example for a test research task. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Provider access and licensing still apply. Connecting the server does not grant additional content rights. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Neon Source: https://docs.tembo.io/integrations/neon Work with Neon Postgres projects and databases through MCP. Work with Neon Postgres projects and databases through MCP. ## Prerequisites You need access to your Tembo organization and access to the intended Neon projects. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Neon** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.neon.tech/mcp`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to list the branches of a test project. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Use a non-production branch before allowing schema or data changes. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Notion Source: https://docs.tembo.io/integrations/notion Access workspace content and documentation. ![Notion](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/notion.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=2b94330f12cf5f675a86d90cf8e0eabd) ## Features * MCP server access to pages, databases, and workspace content * Agents can reference documentation during sessions * OAuth authentication with workspace-scoped access ## Installation **1. Install** Go to **Settings > Integrations** and click **Install** next to Notion. **2. Authorize** Authorize Tembo and select which pages it can access. ## Usage Once connected, the Notion MCP server is automatically available to agents. They can read pages, query databases, and navigate your workspace to pull context during sessions. ## Advanced > [accordion] Workspace not appearing > > Verify you completed the OAuth flow and granted access to the correct workspace. Check that you selected pages during authorization. > [accordion] Agents can't find content > > During authorization, you must explicitly select which pages Tembo can access. Nested pages inherit parent permissions. # Notte Source: https://docs.tembo.io/integrations/notte Connect Notte cloud browser tools using an API credential. Connect Notte cloud browser tools using an API credential. ## Prerequisites You need access to your Tembo organization and a Notte API credential approved for agent use. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Notte** and start the installation. 3. Set the **Authorization** header to `Bearer ` in the connection dialog, then save. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://api.notte.cc/mcp/`. This catalog entry uses authentication headers rather than assuming a browser OAuth flow. ## Usage and verification Start a new session and ask Tembo to inspect a disposable browser session. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Enter the API credential in the connection dialog as an Authorization header using the Bearer scheme. Store it in the connection, not in a committed file. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # OpenConnect Source: https://docs.tembo.io/integrations/openconnect Connect sandboxes to private networks via OpenConnect VPN. > [!NOTE] > > The OpenConnect integration is currently in preview. Contact > [support](/support) if you'd like it enabled for your organization. ## Features * Connect agent sandboxes to private networks so they can reach internal databases and services * The agent connects on demand — only when a task actually needs the private network — instead of on every session * Works alongside the Postgres integration to access databases that aren't publicly reachable ## Supported VPNs The VPN integration uses [OpenConnect](https://www.infradead.org/openconnect/), an open-source VPN client that is compatible with several enterprise VPN servers: | Protocol | Compatible with | | - | - | | Fortinet SSL VPN | FortiClient, FortiGate | | Cisco AnyConnect | Cisco Secure Client, ASA, IOS | | Palo Alto GlobalProtect | GlobalProtect client, PAN-OS | | Juniper Network Connect | Juniper/Pulse Secure, Ivanti Connect Secure | If your organization uses any of these VPN products, Tembo can connect to it directly — no changes to your VPN infrastructure required. ## Installation **1. Go to Integrations** Open **Settings > Integrations** and click **Install** next to OpenConnect under the **Developer Tools** category. **2. Enter your VPN details** Fill in the connection form: * **Connection Name** — a label for this VPN (e.g. "Production VPN") * **Protocol** — select your VPN type * **VPN Gateway** — the hostname or IP of your VPN concentrator (e.g. `vpn.example.com`) * **Username** and **Password** — credentials that the sandbox will use to authenticate **3. Connect your database** Once the VPN is configured, add a [Postgres integration](/integrations/postgres) using the **private** connection string of your database. When the agent needs to reach the database, it connects the VPN first, then reaches it through the tunnel. ## Usage Once configured, the agent gains a **connect** tool. It brings up the VPN on demand — when a task requires reaching a host that's only available on your private network — rather than on every session. You can also just ask the agent to connect. The tunnel then stays active for the rest of the session. This is useful when your database or internal services are behind a firewall and not reachable from the public internet. Instead of exposing your database publicly or setting up a bastion host, you provide the same VPN credentials your team already uses. ### Example workflow 1. Configure the VPN integration with your gateway credentials 2. Add a Postgres integration with your private connection string (e.g. `postgresql://user:pass@10.0.1.50:5432/mydb`) 3. In a session, the agent connects to the VPN when it needs the database (or when you ask it to), then queries your database as if it were on your network ## Advanced > [accordion] How it works > > The connect tool runs OpenConnect inside the sandbox VM to establish a VPN tunnel. This creates a virtual network interface (`tun0`) that routes traffic to your private network through the encrypted tunnel. The connection is on demand — nothing happens until the agent invokes the tool — and does not persist across sessions, so a new session starts without a tunnel until it's needed again. > [accordion] MFA / two-factor authentication > > OpenConnect supports some forms of MFA (e.g. TOTP tokens appended to the password field), but interactive MFA prompts are not supported. If your VPN requires interactive two-factor authentication, consider creating a dedicated service account with a static password or certificate-based authentication for Tembo access. > [accordion] Security considerations > > VPN credentials are never exposed to the agent. When the connect tool runs, the system fetches the credentials over an authenticated channel only for the moment of connecting, hands the password directly to OpenConnect, and discards it — it is not written to disk or placed in the agent's context. Even so, consider using a dedicated VPN account with limited network access scoped to only the resources Tembo needs. # Paper Source: https://docs.tembo.io/integrations/paper Read and write Paper designs, generate layouts, and turn frames into code through MCP. Read and write Paper designs, generate layouts, and turn frames into code through Paper's remote MCP server. Paper Desktop doesn't need to be open. ## Prerequisites You need access to your Tembo organization and access to the intended Paper account. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Paper** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.paper.design`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to read a test Paper file. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Confirm the file before allowing Tembo to edit designs. Paper meters MCP usage on your Paper plan, so check [Paper pricing](https://paper.design/pricing) for current limits. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Photon Source: https://docs.tembo.io/integrations/photon Manage Photon projects, messaging channels, messages, and billing usage through MCP. Manage Photon projects, connect messaging channels, send and read messages, and check billing usage through MCP. ## Prerequisites You need access to your Tembo organization and access to the intended Photon account. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Photon** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.photon.codes/mcp`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to list your Photon projects. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Confirm the project and channel before allowing Tembo to send messages. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # PlanetScale Source: https://docs.tembo.io/integrations/planetscale Access and manage PlanetScale databases through MCP. Access and manage PlanetScale databases through MCP. ## Prerequisites You need access to your Tembo organization and access to the intended PlanetScale organization and database. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **PlanetScale** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.pscale.dev/mcp/planetscale`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to inspect a test database without changing its schema. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Review the target organization and branch before allowing database changes. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Postgres Source: https://docs.tembo.io/integrations/postgres Performance monitoring, slow query detection, and optimization. ![Postgres](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/postgres.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=c5d0e684b53ff97275113750ab6e551a) ## Features * Monitor slow queries and suggest optimizations * Detect missing and unused indexes * Open PRs with migration scripts * MCP server for read-only database access during sessions ## Installation **1. Add your connection string** Go to **Settings > Integrations** and click **Connect** next to Postgres, then enter your database connection string. ## Usage After connecting, Tembo can use Postgres tools to run queries against your database during sessions. Tembo also monitors your database using `pg_stat_statements`. When it finds slow queries or missing indexes, it opens a PR with migration scripts and expected improvement metrics. Requires `pg_stat_statements` extension: `CREATE EXTENSION IF NOT EXISTS pg_stat_statements;` ## Advanced > [accordion] MCP server > > The Postgres MCP can access your database during sessions when querying would help complete the work. > [accordion] Best practices > > You only need to provide a valid connection string. Always review migration PRs before merging, especially for large tables. # PostHog Source: https://docs.tembo.io/integrations/posthog Access PostHog analytics, feature flags, experiments, and insights through MCP. Access PostHog analytics, feature flags, experiments, and insights through MCP. ## Prerequisites You need access to your Tembo organization and PostHog project access. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **PostHog** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.posthog.com/mcp`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to read a test insight or feature flag. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Limit access to the projects you need; review changes to feature flags or experiments before allowing them. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Pylon Source: https://docs.tembo.io/integrations/pylon Access Pylon customer accounts, sessions, and support data through MCP. Access Pylon customer accounts, sessions, and support data through MCP. ## Prerequisites You need access to your Tembo organization and permission to connect the intended Pylon account. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Pylon** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.usepylon.com`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to read a test support record. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Start with a non-sensitive record and review proposed changes to customer support data. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Railway Source: https://docs.tembo.io/integrations/railway Create projects, deploy services, and manage environments on Railway through MCP. Create projects, deploy services, and manage environments on Railway through MCP. ## Prerequisites You need access to your Tembo organization and access to the intended Railway workspace and projects. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Railway** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.railway.com`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to list the projects in your Railway workspace. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Verify with read-only requests, such as listing projects or environments, before asking Tembo to deploy services or change environments. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Raycast Source: https://docs.tembo.io/integrations/raycast Quick commands and menubar access for Tembo sessions. ![Raycast](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/raycast.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=6e429289ccc639e5cd7884f45c5aafe2) ## Features * Create sessions from Raycast * View and filter sessions with search * Menubar integration for quick access * Raycast AI natural language support ## Installation **1. Install** Install the Tembo extension from the [Raycast Store](https://www.raycast.com/store) or search "Tembo" in the command palette. **2. API key** Generate an API key from **Settings > API Keys** in the [dashboard](https://app.tembo.io). **3. Configure** Open Raycast preferences, go to Extensions > Tembo, and enter your API key. ## Usage **Create Session** - Enter a description, select a repository, and set priority. **View Sessions** - Filter by repository, status, or assignee. Search through descriptions. **Menubar** - See active sessions at a glance with status indicators. **Raycast AI** - Use natural language: "Create a session to fix the login bug" or "Show my in-progress sessions". ## Advanced > [accordion] Keyboard shortcuts > > `⌘+K` open command palette, `⌘+Enter` create session, `⌘+R` refresh session list, `⌘+,` extension settings. > [accordion] Sessions not appearing > > Verify your API key is correct in extension settings. Try refreshing with `⌘+R`. # Sazabi Source: https://docs.tembo.io/integrations/sazabi Search production logs, investigate issues, and trace errors back to code with Sazabi. ![Tembo and Sazabi logos](https://mintcdn.com/test-8862363a/aUWrCvaXGRail8Pk/images/integrations/sazabi.png?fit=max\&auto=format\&n=aUWrCvaXGRail8Pk\&q=85\&s=caff6c160174505295578b925a289de3) ## Features * Plain-language search across your production logs through Sazabi's official MCP server (`https://mcp.sazabi.com/mcp`) * Issues Sazabi has detected, with the context agents need to trace an error back to the code that caused it * Investigations with the Sazabi agent, started from a Tembo session * Log checks after a change ships, so Tembo can confirm a production problem is actually fixed * Automation triggers for Sazabi issue events, such as a new, reopened, or resolved issue * Access limited to the Sazabi organization and projects you choose when you sign in ## Prerequisites You need access to your Tembo organization and a Sazabi account with at least one project that is receiving logs. ## Installation **1. Open Integrations** In the Tembo app, go to **Settings → Integrations**. **2. Install Sazabi** Scroll to the **Monitoring** group and click **Install** next to Sazabi. **3. Sign in to Sazabi and choose access** Sign in with the Sazabi account you want to connect. On the **Authorize MCP connection** page, choose the organization the connection may act in. Under **Project access**, choose **All projects** or a single project, then click **Authorize**. > [!NOTE] > > Each authorization covers one Sazabi organization. Choose a single project if Tembo only needs one service's logs. **4. Confirm install** After authorizing, you'll be redirected back to the Tembo Integrations page and Sazabi will switch from uninstalled to installed. ## Usage Once installed, Tembo agents automatically have access to the Sazabi MCP server during sessions. No further configuration is needed in Tembo. Start a new session and ask Tembo what errors a service threw in production over the last hour, or to look up a Sazabi issue and find the code that caused it. Confirm that the returned data belongs to the project you intended to connect before asking Tembo to make changes in Sazabi. ## Trigger automations from Sazabi issues Sazabi issue triggers start an automation when Sazabi opens, updates, reopens, or resolves an issue. Sazabi sends each issue event to Tembo through a [webhook](https://docs.sazabi.com/manage/webhooks), and the run receives the full event as its payload. The **Monitoring** group has two Sazabi cards. The card with the **MCP** badge installs the MCP server described above. The other card connects issue triggers, and you install it separately. You need owner or admin access in Sazabi. **1. Open the Sazabi trigger dialog** In the Tembo app, go to **Settings → Integrations**. In the **Monitoring** group, click **Install** on the Sazabi card without the **MCP** badge. Copy the webhook URL the dialog shows, and leave the dialog open. **2. Add a webhook endpoint in Sazabi** In Sazabi, go to **Settings > Webhooks** and add an endpoint with the webhook URL you copied. Copy the signing secret Sazabi shows for the endpoint. **3. Connect Sazabi** Back in Tembo, paste the signing secret into the dialog and click **Connect Sazabi**. **4. Route issue events to the endpoint** In the Sazabi project's **Settings > Notifications**, click **Add delivery rule**. Choose the events to send, such as **Issue triggered**, and select the webhook endpoint as the destination. See [Route notifications](https://docs.sazabi.com/triage/notifications#delivery-rules). **5. Add a trigger to an automation** Open an [automation](/features/automations#creating-an-automation), click **Add trigger**, and choose **From integration**. Select **Sazabi** and an event, such as **Issue Triggered**. Write instructions that use the event payload, for example: *"Investigate the Sazabi issue in the event payload. Start from `issue.agentPrompt`, find the code that caused it, and open a pull request with a fix."* Type `@` and mention Sazabi in the instructions so the agent can also search logs through the Sazabi MCP server. **6. Verify** On the endpoint in Sazabi, click **Send test**. Sazabi shows the delivery as successful. Test deliveries don't start automations, so the first run appears under **Recent runs** after Sazabi sends a real issue event. | Trigger | Starts when | | - | - | | Issue Triggered | Sazabi opens a new issue | | Issue Updated | An open issue's severity rises or it affects another component | | Issue Reopened | A resolved or ignored issue is reopened | | Issue Still Open | Sazabi reminds you that an issue is still open | | Issue Resolved | An issue is resolved | | Issue Ignored | An issue is ignored | | Issue Rejected | An issue is rejected after review | Each trigger can filter by **Severities**, **Projects** (name or ID), and **Components** (name or ID). Leave a filter empty to match every value. A trigger only fires for events that a Sazabi delivery rule sends to the endpoint. Later events for the same Sazabi issue continue the automation's existing session for that issue instead of starting a new one. For example, an automation with both **Issue Triggered** and **Issue Resolved** triggers sees the resolution in the session that investigated the issue. The payload is Sazabi's webhook envelope. The fields most useful in instructions are `type`, `project`, and `issue`, which includes `severity`, `url`, `rootCause`, `summary`, the investigation `report`, and, on `issue_triggered`, an `agentPrompt` written for coding agents. See Sazabi's [webhook payload reference](https://docs.sazabi.com/reference/api/webhooks/payload) for every field. ## Advanced > [accordion] MCP server > > Every Sazabi API operation is available as an MCP tool, covering logs, issues, threads with the Sazabi agent, and dashboards. Depending on the client, the server lists each operation as its own tool or a compact `search` and `execute` pair. Every operation stays callable either way. See [Sazabi's MCP server reference](https://docs.sazabi.com/reference/mcp-server). > [accordion] Permissions > > The connection acts as the Sazabi user who authorized it, limited to the organization and project access chosen on the authorization page. To switch organizations or change project access, uninstall Sazabi in **Settings → Integrations** and install it again. > [accordion] Trigger security > > Sazabi signs every delivery with the endpoint's signing secret. Tembo rejects deliveries whose `X-Sazabi-Signature` doesn't match the secret of a connected Sazabi trigger integration. If you rotate the signing secret in Sazabi, uninstall the Sazabi trigger integration in **Settings → Integrations** and connect it again with the new secret. > [accordion] Troubleshooting > > If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. If Tembo cannot find logs you expect, confirm the connection has access to the project that receives them. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Sentry Source: https://docs.tembo.io/integrations/sentry Automatic error detection and fix PRs. ![Sentry](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/sentry.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=51440ddfc96e715e7de75ff71eda3caa) ## Features * Detect errors as they occur in production * Analyze stack traces, breadcrumbs, and error context * Open fix PRs automatically * MCP server for real-time error data access during sessions ## Installation **1. Connect** Go to **Settings > Integrations** and click **Connect** next to Sentry. **2. Authorize** Authorize Tembo to read error data and receive webhook events. **3. Map projects** Map Sentry projects to the repositories where errors occur. Only mapped projects generate fix PRs. ## Usage 1. Sentry captures an error and sends a webhook to Tembo 2. Tembo retrieves the full error context (stack traces, breadcrumbs, environment) 3. Tembo analyzes the codebase and opens a fix PR 4. [Mention Tembo](/features/mentioning-tembo) to iterate ## Automations See [Automations](/features/automations) for available Sentry event triggers. ## Advanced > [accordion] MCP server > > When connected, a Sentry MCP server is automatically available to agents. They can query error data, retrieve stack traces, and analyze trends in real-time. > [accordion] Errors not triggering fixes > > Check project mapping on the Integrations page. Ensure Sentry captures sufficient stack trace info. Tembo deduplicates fixes for already-addressed errors. > [accordion] Project mapping issues > > Use the sync button to refresh projects. Verify Tembo has access and the Sentry organization is connected. # Slack Source: https://docs.tembo.io/integrations/slack Trigger sessions by mentioning @tembo in any channel. ![Slack](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/slack.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=8e3491dd6064efd09404ca3e2ec02ebb) ## Features * Create sessions by mentioning `@tembo` in any channel or DM * Specify repos, branches, and agents inline * Thread context is automatically read * Status reactions and PR notifications in Slack ## Installation **1. Install** Go to **Settings > Integrations** and click **Install** next to Slack. **2. Authorize** Authorize Tembo to access your Slack workspace. **3. Configure** Connect your repositories (GitHub, GitLab, or Bitbucket). To target a specific repository, name it in your message (for example: `owner/repo`). ## Usage ### Basic ``` @tembo Fix the authentication bug in the login flow ``` ### With options ``` @tembo In owner/webapp on branch dev, add password strength validation ``` **You can specify:** repository, branch, and agent in plain text (for example: `owner/webapp`, `branch dev`, `agent gpt-5.4`). ### Multiple repositories ``` @tembo Add user authentication in owner/frontend and owner/backend ``` Tembo creates separate PRs for each repo and coordinates changes. ### Thread context Mention `@tembo` in a thread and it reads the full conversation history for context. ### Iterate in Slack After Tembo opens a PR, you can keep mentioning `@tembo` in the same Slack thread to give feedback and iterate. No need to leave comments on the PR itself. ### Cancel sessions Click the options on Tembo's message in Slack to stop a running session without leaving Slack. ### Status indicators * ⌛️ Working * ✅ Complete * ❌ Failed When done, Tembo posts PR links back to the thread. ## Automations See [Automations](/features/automations) for available Slack event triggers. ## Advanced > [accordion] Tembo not responding > > Verify Tembo is installed in **Settings > Integrations**. Invite the bot to the channel with `/invite @tembo`. > [accordion] Wrong repository targeted > > Specify the repository directly in your message (for example: `owner/repo`). > [accordion] Feedback loop > > When you leave feedback on a PR created from Slack, Tembo posts a notification back to the original Slack thread with a summary of changes. > [accordion] Link PRs to Tembo instead of the source provider > > By default, the completion button on a Slack PR notification reads **View PR** and opens the pull request on its source provider (GitHub, GitLab, or Bitbucket). In **Settings > Review**, under **Pull request defaults**, enable **Open Slack review links in Tembo** to change the button to **Review on Tembo** and open the PR in Tembo's review experience instead. # Snowflake Source: https://docs.tembo.io/integrations/snowflake Call Tembo from Snowflake Cortex Agents via the Model Context Protocol. ![Snowflake](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/snowflake.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=9aef3e1bd62cac7a6cd6e79d2eb5ed7a) ## Overview This integration is the inverse of most Tembo integrations: Snowflake is the **MCP client** and Tembo is the **MCP server**. Once configured, your Snowflake users can ask a Cortex Agent things like *"list my Tembo sessions"* or *"trigger a Tembo agent on issue X"* directly from **Snowflake Intelligence** chat — the same surface they already use for Cortex Analyst and Cortex Search. The integration is implemented as a Snowflake-managed MCP server that exposes Tembo's public REST API as a set of `GENERIC` tools. The API token lives in Snowflake's secret store; agents call the tools through a Python UDF that handles auth and routing. | Component | Purpose | | - | - | | Snowflake `SECRET` | Stores the Tembo API token | | `NETWORK RULE` + `EXTERNAL ACCESS INTEGRATION` | Allows egress to `api.tembo.io` | | Python UDF (`tembo_call`) | Makes authenticated HTTPS requests to the Tembo REST API | | Snowflake-managed `MCP SERVER` | Exposes the UDF as named `GENERIC` tools | | Cortex Agent | Routes user prompts to the right Tembo tool | > [!NOTE] > > An alternative OAuth2-based path using `CREATE EXTERNAL MCP SERVER` is documented in the **Advanced** section, but requires OAuth2 support that the Tembo MCP server does not yet expose. Use the steps below for any current deployment. *** ## Prerequisites * A Snowflake account with **Cortex Agents** and **Snowflake Intelligence** enabled * A Snowflake role with: * `CREATE INTEGRATION ON ACCOUNT` * `CREATE MCP SERVER` on the target schema * `CREATE AGENT` on the target schema * `USAGE` on a warehouse the agent will run with * A Tembo API token — generate one from your Tembo account settings * The Tembo REST API base URL: `https://api.tembo.io` For self-hosted Tembo installs, substitute your deployment's base URL throughout. See [Self-Hosted Overview](/features/self-hosted/overview) for details. *** ## Step 1: Store the Tembo API Token as a Snowflake Secret ```sql theme={null} CREATE OR REPLACE SECRET tembo_api_token TYPE = GENERIC_STRING SECRET_STRING = ''; ``` > [!WARNING] > > Never paste the token directly into a UDF body or stored procedure. Always reference it through the `SECRET` object and the `_snowflake.get_generic_secret_string` API. To rotate later, regenerate the token in Tembo and run: ```sql theme={null} ALTER SECRET tembo_api_token SET SECRET_STRING = ''; ``` *** ## Step 2: Allow Egress to api.tembo.io ```sql theme={null} CREATE OR REPLACE NETWORK RULE tembo_api_network_rule MODE = EGRESS TYPE = HOST_PORT VALUE_LIST = ('api.tembo.io:443'); CREATE OR REPLACE EXTERNAL ACCESS INTEGRATION tembo_api_access_integration ALLOWED_NETWORK_RULES = (tembo_api_network_rule) ALLOWED_AUTHENTICATION_SECRETS = (tembo_api_token) ENABLED = TRUE; ``` The external access integration binds the network rule and the secret together so the UDF can use both. *** ## Step 3: Create the Python UDF that Calls Tembo This UDF is the dispatch layer — each tool name maps to a Tembo REST endpoint. ```sql theme={null} CREATE OR REPLACE FUNCTION tembo_call(tool STRING, args VARIANT) RETURNS VARIANT LANGUAGE PYTHON RUNTIME_VERSION = '3.11' HANDLER = 'handler' EXTERNAL_ACCESS_INTEGRATIONS = (tembo_api_access_integration) SECRETS = ('token' = tembo_api_token) PACKAGES = ('requests') AS $$ import _snowflake, json, requests BASE = "https://api.tembo.io" ROUTES = { "list_sessions": ("GET", "/session/list"), "search_sessions": ("GET", "/session/search"), "list_repositories": ("GET", "/repository/list"), "create_session": ("POST", "/session/create"), "trigger_agent": ("POST", "/agent/{keyOrId}/trigger"), } def handler(tool, args): if tool not in ROUTES: return {"error": f"unknown tool: {tool}"} method, path_template = ROUTES[tool] args = dict(args or {}) if "{keyOrId}" in path_template: key_or_id = args.pop("keyOrId", None) if not key_or_id: return {"error": "missing required arg: keyOrId"} path = path_template.replace("{keyOrId}", key_or_id) else: path = path_template token = _snowflake.get_generic_secret_string("token") headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json", } if method == "GET": r = requests.get(BASE + path, headers=headers, params=args, timeout=30) else: r = requests.post(BASE + path, headers=headers, data=json.dumps(args), timeout=30) try: return r.json() except Exception: return {"status": r.status_code, "body": r.text} $$; ``` > [!TIP] > > Smoke-test the UDF before continuing: `SELECT tembo_call('list_repositories', OBJECT_CONSTRUCT());`. You should get back the JSON list of repos enabled in your Tembo org. *** ## Step 4: Create the Snowflake-Managed MCP Server Expose each route as a named `GENERIC` tool. `input_constants` pins the first UDF argument per tool so the agent only has to supply the `args` VARIANT. ```sql theme={null} CREATE OR REPLACE MCP SERVER tembo_mcp_server FROM SPECIFICATION $$ tools: - name: "list_sessions" type: "GENERIC" identifier: "..tembo_call" description: "List recent Tembo sessions for the current organization." title: "List Tembo Sessions" input_constants: tool: "list_sessions" - name: "search_sessions" type: "GENERIC" identifier: "..tembo_call" description: "Search Tembo sessions by query string. Pass { q: '' } in args." title: "Search Tembo Sessions" input_constants: tool: "search_sessions" - name: "list_repositories" type: "GENERIC" identifier: "..tembo_call" description: "List repositories enabled for Tembo in this organization." title: "List Tembo Repos" input_constants: tool: "list_repositories" - name: "create_session" type: "GENERIC" identifier: "..tembo_call" description: "Start a new Tembo background session. Pass the issue URL or prompt in args." title: "Create Tembo Session" input_constants: tool: "create_session" - name: "trigger_agent" type: "GENERIC" identifier: "..tembo_call" description: "Trigger a Tembo agent. Pass { keyOrId: '', ...payload } in args." title: "Trigger Tembo Agent" input_constants: tool: "trigger_agent" $$; ``` Replace `.` with the database and schema where you created `tembo_call`. *** ## Step 5: Attach the MCP Server to a Cortex Agent ```sql theme={null} CREATE OR REPLACE AGENT my_tembo_agent WITH PROFILE = $$ { "display_name": "Tembo Assistant" } $$ COMMENT = 'Chat with Tembo from inside Snowflake' FROM SPECIFICATION $$ instructions: orchestration: "When the user asks about Tembo sessions, repos, or agents, use the Tembo MCP tools." mcp_servers: - server_spec: name: "..tembo_mcp_server" $$; ``` If the agent already exists, use `ALTER AGENT ... MODIFY LIVE VERSION SET SPECIFICATION` instead of `CREATE OR REPLACE AGENT`. *** ## Step 6: Grant Access Grant the role(s) that will use the agent access to the external access integration, the MCP server, the UDF, and the agent itself: ```sql theme={null} GRANT USAGE ON INTEGRATION tembo_api_access_integration TO ROLE ; GRANT USAGE ON MCP SERVER tembo_mcp_server TO ROLE ; GRANT USAGE ON FUNCTION tembo_call(STRING, VARIANT) TO ROLE ; GRANT USAGE ON AGENT my_tembo_agent TO ROLE ; ``` > [!WARNING] > > Anyone with `USAGE` on `tembo_api_access_integration` can call the Tembo API as your token. Scope this role narrowly. *** ## Step 7: Chat with Tembo from Snowflake Intelligence 1. In Snowsight, open **AI & ML → Snowflake Intelligence** 2. Pick **Tembo Assistant** 3. Try one of: * *"Show me my five most recent Tembo sessions."* * *"Which repositories are enabled for Tembo?"* * *"Trigger the Tembo agent `daily-triage` with `{ priority: 'high' }`."* The agent calls `tools/list` against `tembo_mcp_server`, picks the right `GENERIC` tool, which routes through `tembo_call` → Tembo REST API → response. *** ## Troubleshooting ### `tools/list` returns nothing **Symptom:** The agent doesn't know about any Tembo tools. **Cause:** The role used by the chat session lacks `USAGE` on the MCP server, or the server was created in a different schema than the one the agent resolves to. **Fix:** Confirm the server exists and the grant is in place: ```sql theme={null} SHOW MCP SERVERS IN SCHEMA .; GRANT USAGE ON MCP SERVER tembo_mcp_server TO ROLE ; ``` ### UDF returns 401 or 403 **Symptom:** Tools execute but return `{ "status": 401, ... }` or `{ "status": 403, ... }`. **Cause:** The secret is wrong or expired, or the executing role lacks `USAGE` on `tembo_api_access_integration`. **Fix:** Smoke-test the UDF directly: ```sql theme={null} SELECT tembo_call('list_repositories', OBJECT_CONSTRUCT()); ``` If that errors, rotate the Tembo token, update the secret with `ALTER SECRET tembo_api_token SET SECRET_STRING = ''`, and grant `USAGE` on the access integration to the role. ### Agent doesn't pick a Tembo tool when asked **Symptom:** The agent answers from general knowledge instead of calling a tool. **Cause:** Tool descriptions are too vague. Cortex Agents route on tool descriptions, and ambiguous ones get skipped. **Fix:** Tighten each tool's `description` to mention Tembo explicitly and what the tool returns. Re-run the `CREATE OR REPLACE MCP SERVER` block with sharper descriptions. ### `EXTERNAL ACCESS INTEGRATION` egress blocked **Symptom:** UDF errors with a network-related exception. **Cause:** The network rule or the access integration is missing, disabled, or doesn't include `api.tembo.io:443`. **Fix:** Confirm both objects exist and are enabled: ```sql theme={null} SHOW NETWORK RULES LIKE 'tembo_api_network_rule'; SHOW EXTERNAL ACCESS INTEGRATIONS LIKE 'tembo_api_access_integration'; ``` *** ## Advanced > [accordion] Path A: External MCP Connector (OAuth2) — not yet supported > > Snowflake also supports `CREATE EXTERNAL MCP SERVER`, which is the cleaner long-term shape because it lets Snowflake speak MCP directly to the remote server with OAuth2 auth. > > Today the Tembo MCP server authenticates with a bearer token, and `CREATE EXTERNAL MCP SERVER` requires `API_USER_AUTHENTICATION` with `TYPE = OAUTH2`. Until the Tembo MCP exposes an OAuth2 endpoint, this path requires you to operate an OAuth2-fronting shim that forwards to the Tembo MCP. > > For reference, the SQL looks like: > > ```sql theme={null} > CREATE OR REPLACE API INTEGRATION tembo_mcp_api_integration > API_PROVIDER = external_mcp > API_ALLOWED_PREFIXES = ('https://api.tembo.io/public-api/mcp') > API_USER_AUTHENTICATION = ( > TYPE = OAUTH2 > OAUTH_CLIENT_ID = '' > OAUTH_CLIENT_SECRET = '' > OAUTH_AUTHORIZATION_ENDPOINT = '/authorize' > OAUTH_TOKEN_ENDPOINT = '/token' > OAUTH_CLIENT_AUTH_METHOD = CLIENT_SECRET_BASIC > OAUTH_REFRESH_TOKEN_VALIDITY = 86400 > ) > ENABLED = TRUE; > > CREATE EXTERNAL MCP SERVER tembo_mcp_server > WITH DISPLAY_NAME = 'Tembo' > API_INTEGRATION = tembo_mcp_api_integration; > ``` > > When the Tembo MCP gains native OAuth2 support this section will become the recommended path. > [accordion] Extending the tool set > > To add a new tool, add an entry to `ROUTES` in the Python UDF and a matching entry to the `tools:` list in the MCP server specification. Re-run both `CREATE OR REPLACE` statements; the agent picks up the new tool on its next request. > [accordion] Self-hosted Tembo > > For self-hosted Tembo, replace `https://api.tembo.io` with your deployment's base URL in both the network rule (`VALUE_LIST`) and the Python UDF (`BASE`). The rest of the flow is identical. > [accordion] Rotating the API token > > Generate a new token in Tembo, then update the secret in place: > > ```sql theme={null} > ALTER SECRET tembo_api_token SET SECRET_STRING = ''; > ``` > > No other objects need to change — the UDF reads the secret fresh on every invocation. *** ## References * Snowflake — [Cortex Agents MCP](https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-agents-mcp) * Snowflake — [Cortex Agents MCP Connectors](https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-agents-mcp-connectors) * Tembo — [MCP integration](/integrations/mcp) * Tembo — [Public API reference](/api) # Snyk Source: https://docs.tembo.io/integrations/snyk Vulnerability scanning and auto-fix PRs for your dependencies. ![Snyk](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/snyk.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=cb530caa84deecfc965f75ea3ec8738d) ## Features * Scan repositories for known vulnerabilities in dependencies (Snyk Open Source) * Surface Snyk-detected issues to Tembo agents during sessions * Open PRs that bump vulnerable packages to fixed versions ## Installation **1. Open Integrations** In the Tembo app, go to **Settings → Integrations**. **2. Install Snyk** Scroll to the **Monitoring** group and click **Install** next to Snyk. **3. Sign in to Snyk** Sign in with your organization email using an approved auth method. > [!NOTE] > > If you don't have a Snyk account yet, you'll be guided through Snyk's account setup after the initial sign-in. Once your account is ready, return to **Settings → Integrations** in Tembo and click **Install** again to complete the connection. > [!TIP] > > If you're already signed in to Snyk, click **Authorize** and confirm you've selected the correct Snyk organization before continuing. **4. Authorize Tembo** Snyk will request access to your organization. Click **Authorize**. > [!WARNING] > > The install must be authorized by a **Snyk organization admin**. If you're not an admin on the Snyk org, ask one to complete this step for you. **5. Confirm install** After authorizing, you'll be redirected to the Tembo Integrations page. Snyk will switch from uninstalled to installed. ## Usage Once installed, Tembo monitors your Snyk-connected repositories for known vulnerabilities and opens fix PRs that bump affected dependencies to safe versions. Tembo agents can reference Snyk-detected issues during sessions to inform the changes they propose. ## Advanced > [accordion] Snyk organization scope > > The integration connects to a single Snyk **organization**, not a Snyk user. All scanning and issue access happens within that org. To monitor projects across multiple Snyk orgs, install the integration once per org. > [accordion] Permissions > > > [!WARNING] > > > > Tembo's Snyk integration grants both read and write access to your connected Snyk organization, including the ability to create, edit, and delete ignore rules (which suppress vulnerability findings). **Read and review this list before installing** to be sure what information and data you are sharing. > > At install time, Tembo's Snyk App requests the following 11 OAuth scopes on your Snyk organization: > > **Read access** > > * `org.read` — your Snyk organization's metadata (name, slug, settings) > * `org.project.read` — the list of projects in your org and their details > * `org.project.snapshot.read` — historical scan snapshots (vulnerability findings over time) > * `org.report.read` — org-level reports (aggregated vulnerability and compliance data) > * `org.project.ignore.read` — which vulnerabilities you've configured Snyk to ignore > > **Write access** > > * `org.project.test` — trigger Snyk to re-test (re-scan) a project on demand > * `org.project.attributes.edit` — edit project attributes (e.g., business criticality, environment, lifecycle) > * `org.project.tag.edit` — add, modify, or remove tags on projects > * `org.project.ignore.create` — create new ignore rules (suppress specific vulnerability findings) > * `org.project.ignore.edit` — modify existing ignore rules > * `org.project.ignore.delete` — delete ignore rules > > Tembo cannot modify Snyk organization membership, change billing settings, or create or delete Snyk projects. > [accordion] Install not completing > > If you're redirected back to Tembo but the integration still shows as uninstalled, the most common cause is the OAuth flow being cancelled or rejected on Snyk's side. Try the install again and make sure you click **Authorize** on the Snyk consent screen. # Stripe Source: https://docs.tembo.io/integrations/stripe Payments, billing, and customer operations via Stripe MCP. ![Stripe](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/stripe.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=399e555bc83055bd8d8f503061eaef8e) ## Features * Read/write access to your connected Stripe account through the Stripe MCP server * Coverage across accounts, customers, products, pricing, payments, invoicing, subscriptions, payment links, and disputes * Search and lookup any Stripe object by ID or query syntax * Generic Stripe API escape hatch — execute any Stripe API call * Built-in Stripe documentation search and integration recommender ## Installation **1. Open Integrations** In the Tembo app, go to **Settings → Integrations**. **2. Install Stripe** Scroll to the **Business Operations** group and click **Install** next to Stripe. **3. Sign in to Stripe** Sign in with your organization email using an approved auth method. > [!NOTE] > > If you don't have a Stripe account yet, you'll be guided through business setup with Stripe. After creating the account, return to **Settings → Integrations** in Tembo and click **Install** again to complete the connection. **4. Authorize Tembo** Stripe will request information from your account. Click **Authorize**. > [!WARNING] > > If you see **"Enable MCP Access"** below your account name, [MCP access must be enabled on the Stripe account](https://docs.stripe.com/mcp?mcp-client=other#access) before the integration will work. Enable it as a Stripe administrator, or ask an admin to enable it for you. **5. Confirm install** After authorizing, you'll be redirected to the Tembo Integrations page. Stripe will switch from uninstalled to installed. ## Usage Once installed, Tembo agents automatically have access to the Stripe MCP server during sessions. No further configuration is needed inside Tembo — agents can read account data, manage customers and products, query payments and invoices, and call any Stripe API operation on your behalf. ## Advanced > [accordion] MCP server > > When connected, a Stripe MCP server is automatically available to agents. They can query account info, search customers and charges, manage products and subscriptions, handle disputes, and fall back to the generic Stripe API for anything not covered by a dedicated tool. > [accordion] Enable MCP Access blocker > > If MCP access is not enabled on the Stripe account, the integration will not function. This is a Stripe-side setting and is admin-only. See [Stripe's MCP access documentation](https://docs.stripe.com/mcp?mcp-client=other#access). > [accordion] Install state stuck after creating a new Stripe account > > If you created a new Stripe business during the install flow, the install state in Tembo may not auto-complete. Return to **Settings → Integrations** in Tembo and click **Install** again to finish the connection. # Supabase Source: https://docs.tembo.io/integrations/supabase Access and manage your Supabase projects and databases through MCP. Access and manage your Supabase projects and databases through MCP. ## Prerequisites You need access to your Tembo organization and access to the intended Supabase projects. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Supabase** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or organization. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.supabase.com/mcp`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to list your Supabase projects. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Use a non-production project before allowing schema or data changes. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Supermemory Source: https://docs.tembo.io/integrations/supermemory Store, search, and retrieve persistent context through Supermemory MCP. Store, search, and retrieve persistent context through Supermemory MCP. ## Prerequisites You need access to your Tembo organization and access to the intended Supermemory account. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Supermemory** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.supermemory.ai/mcp`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to search for a non-sensitive test memory. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Check what content will be stored before asking the agent to write persistent memories. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Tailscale Source: https://docs.tembo.io/integrations/tailscale Connect Tembo sandbox sessions to your private network (tailnet) with on-demand, single-use ephemeral keys. ![Tembo and Tailscale logos](https://mintcdn.com/test-8862363a/ELdizPTMKoP0wlbL/images/integrations/tailscale.png?fit=max\&auto=format\&n=ELdizPTMKoP0wlbL\&q=85\&s=606c3f04579435922e2a8a922c1a9708) ## Overview The Tailscale integration lets Tembo agent sessions join your [tailnet](https://tailscale.com/kb/1136/tailnet) so they can reach private resources — internal databases, staging hosts, admin APIs — that aren't exposed to the public internet. It is designed to be safe by default: * **Joins only when needed** — sessions don't join your tailnet by default. A session connects when an agent needs private-network access for a task, using the managed `/tailscale` skill the integration installs, or when it connects to an [MCP server you've set to reach via Tailscale](#private-mcp-servers). * **Single-use, ephemeral keys** — each join uses a short-lived, single-use auth key minted on demand. Your Tailscale OAuth credentials never enter a sandbox, and ephemeral nodes remove themselves from your tailnet when the session ends. * **Your ACLs decide access** — a joined session is just a tagged device on your tailnet. What it can reach is governed entirely by your Tailscale ACL policy for the tag you assign. No inbound access to the session is required or expected. * **Unprivileged** — inside the sandbox, Tailscale runs in userspace networking mode with no root access and no kernel networking changes. ## Prerequisites You need admin access to your Tailscale organization to complete the setup: **1. Choose a device tag** Sessions join your tailnet as tagged devices. We recommend a dedicated tag such as `tag:tembo-session` so you can scope access rules to Tembo sessions only. **2. Add the tag to your tailnet policy** In the [Tailscale admin console](https://login.tailscale.com/admin/acls), declare the tag in `tagOwners`: ```jsonc theme={null} "tagOwners": { "tag:tembo-session": [], }, ``` **3. Grant the tag access in your ACLs** Add ACL rules for what Tembo sessions may reach. This is entirely your choice — start narrow. For example, to allow sessions to reach a staging database subnet and hosts tagged `tag:staging`: ```jsonc theme={null} "acls": [ { "action": "accept", "src": ["tag:tembo-session"], "dst": ["tag:staging:*", "10.20.0.0/16:5432"], }, ], ``` If you want agents to SSH into hosts via [Tailscale SSH](https://tailscale.com/kb/1193/tailscale-ssh), add an `ssh` rule as well: ```jsonc theme={null} "ssh": [ { "action": "accept", "src": ["tag:tembo-session"], "dst": ["tag:staging"], "users": ["ubuntu"], }, ], ``` **4. Create an OAuth client** In [**Settings → Trust credentials**](https://console.tailscale.com/admin/settings/trust-credentials), click **+ Credential**, select **OAuth**, and continue. Under **Keys → Auth keys**, select the **Write** scope — read access is not enough, because Tembo has to create keys. Then assign the client the tag you created (`tag:tembo-session`). Tembo uses this client to mint short-lived auth keys — it can only create keys for the tags it owns. Copy the **client ID** and **client secret**; you'll enter them in Tembo next. ## Installation **1. Open Integrations** In the Tembo app, go to **Settings → Integrations**. **2. Install Tailscale** Find **Tailscale** in the **Developer Tools** group and click **Install**. **3. Enter your OAuth client credentials** Fill in a connection name, the OAuth **client ID** and **client secret**, and the device tag(s) sessions should advertise (for example `tag:tembo-session`). Tembo validates the credentials against the Tailscale API before saving — if the client ID or secret is wrong, you'll see an error immediately. Installing the integration also creates a managed **`/tailscale`** skill for your organization. This skill teaches agents how to join the tailnet and how to reach hosts through it; you don't need to configure anything else. ## Usage Ask an agent to do something that requires your private network, and mention the tailnet or Tailscale if you want to be explicit: * "Use tailscale to query the staging database and summarize yesterday's failed jobs." * "SSH into the metrics host on our tailnet and check disk usage." * "Hit the internal admin API and pull the feature-flag config." The agent invokes the `/tailscale` skill, requests a one-time key from the Tembo API, joins your tailnet as `tembo-session-`, and does the work. Sessions appear in your Tailscale admin console as tagged devices while active and remove themselves when the session ends. ### Private MCP servers Sessions can also use MCP servers that are only reachable on your tailnet. Add the server as a custom remote MCP server with **Reach via Tailscale** turned on, and allow your session tag to reach its port in your ACLs. See [Private servers on your tailnet](/integrations/mcp#private-servers-on-your-tailnet). ## Advanced > [accordion] Security model > > * Your OAuth client credentials are stored encrypted with the integration > and used only server-side by the Tembo API. They are never sent to a > sandbox. > * When a session joins, the Tembo API mints a **single-use, ephemeral, > pre-authorized** auth key restricted to your configured tags, with an > expiry of minutes. That key is the only credential the sandbox ever > sees. > * Sessions are outbound-only participants on your tailnet. Nothing on > your tailnet needs to (or should) connect into a session. > * Removing the integration deletes the managed skill; you can also revoke > the OAuth client in Tailscale at any time to cut off all key minting. > [accordion] How sessions connect > > Sandboxes run `tailscaled` in userspace networking mode (no root, no TUN > device). Traffic to your tailnet flows through Tailscale's encrypted > WireGuard tunnel, typically relayed over HTTPS (DERP) since sandboxes > don't accept inbound UDP. Agents reach your hosts via Tailscale SSH, a > local SOCKS5/HTTP proxy, or TCP tunneling — the managed skill covers all > of this so agents handle it automatically. > [accordion] Multiple tags or tailnets > > You can list multiple tags when installing (all must be owned by the > OAuth client). The integration connects to the OAuth client's tailnet; > to serve multiple tailnets, install the integration once per tailnet. > [accordion] Troubleshooting > > * **Install fails with "Invalid Tailscale credentials"** — the client ID > or secret is wrong, or the OAuth client lacks the **Keys → Auth keys** > **Write** scope. > * **Agent reports `requested tags are invalid or not permitted`** — the > tag you configured in Tembo isn't assigned to the OAuth client in > Tailscale (check both `tagOwners` and the client's tag assignment). > * **Agent reports connections to a host time out** — your ACL policy > doesn't allow `tag:tembo-session` to reach that host and port. This is > Tailscale working as intended; extend your ACLs if the access is > wanted. > * **A skill named `tailscale` already exists** — the integration installs > a managed `/tailscale` skill and won't overwrite a skill you authored > with the same name. Rename or delete yours and install again. # Tavily Source: https://docs.tembo.io/integrations/tavily Search, extract, map, and crawl public web content through Tavily MCP. Search, extract, map, and crawl public web content through Tavily MCP. ## Prerequisites You need access to your Tembo organization and access to Tavily search tools. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Tavily** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.tavily.com/mcp`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to search for a non-sensitive public topic. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Do not put internal secrets in search queries. Review the scope before asking the agent to crawl sites. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Microsoft Teams Source: https://docs.tembo.io/integrations/teams Trigger sessions by mentioning @Tembo in any Microsoft Teams chat or channel. ![Microsoft Teams](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/teams.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=d41b25f38ba11750c62b63b9bb931268) > [!WARNING] > > Tembo for Microsoft Teams is currently in **sideload pilot**. The app is not yet published to the Microsoft Teams Store — partner organizations install it directly via a `.zip` package. A full marketplace listing is in progress. ## Features * Create sessions by mentioning `@Tembo` in any chat or channel * Specify repos, branches, and agents inline * Thread context is automatically read * PR notifications posted back to the originating Microsoft Teams thread * Works in personal chats, group chats, and team channels ## Installation > [!TIP] > > The Microsoft Teams integration is currently available on a limited basis. To get started, [please reach out to the team at Tembo.io](https://book.avoma.com/tembo/tembo-demo/) to schedule setup for your organization. ## Usage ### Basic ``` @Tembo Fix the authentication bug in the login flow ``` ### With options ``` @Tembo In owner/webapp on branch dev, add password strength validation ``` **You can specify:** repository, branch, and agent in plain text (for example: `owner/webapp`, `branch dev`, `agent gpt-5.4`). ### Multiple repositories ``` @Tembo Add user authentication in owner/frontend and owner/backend ``` Tembo creates separate PRs for each repo and coordinates changes. ### Thread context Mention `@Tembo` in a thread reply and it reads the full conversation history for context. ### Iterate in Microsoft Teams After Tembo opens a PR, you can keep mentioning `@Tembo` in the same Microsoft Teams thread to give feedback and iterate. No need to leave comments on the PR itself. ### Help ``` @Tembo help ``` Shows the available commands and supported options. ## Automations See [Automations](/features/automations) for available Microsoft Teams event triggers. ## Supported environments | Cloud | Supported | | - | - | | Microsoft 365 Commercial | Yes | | GCC | Yes | | GCC High | No | | DoD | No | | 21Vianet (China) | No | ## Advanced > [accordion] Tembo not responding > > Verify the app is installed in your Microsoft Teams scope (personal / team / chat). If you installed it for **personal** only and are trying to use it in a team channel, install it again with the **team** scope. > > Also confirm the bot is allowed in your channel — some org policies restrict bot interactions in specific channels. > [accordion] "Custom app upload" button is missing > > Your Microsoft Teams admin has not enabled custom app uploads for your tenant. Send them the link to the [Microsoft Teams admin center setup policies](https://admin.teams.microsoft.com/policies/manage-app-setup-policies) and ask them to enable **Upload custom apps** on your setup policy. Changes may take up to 24 hours to take effect. \ > \ > Also be sure to check that the button is toggled to 'on' in your settings once it is located by your admin. > [accordion] Wrong repository targeted > > Specify the repository directly in your message (for example: `owner/repo`). > [accordion] Updating to a new version > > When a new version of the Tembo Microsoft Teams package is released, download the latest `.zip` and repeat the upload steps. Microsoft Teams will detect it as an update rather than a new install as long as the app ID is unchanged. > [accordion] Need a different cloud (GCC High, DoD) > > Tembo for Microsoft Teams is not currently certified for GCC High, DoD, or 21Vianet clouds. If your organization needs Tembo in one of these environments, [contact us](https://tembo.io/contact). # TinyFish Source: https://docs.tembo.io/integrations/tinyfish Use TinyFish web agents to navigate and extract information through MCP. Use TinyFish web agents to navigate and extract information through MCP. ## Prerequisites You need access to your Tembo organization and access to TinyFish web agents. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **TinyFish** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or workspace. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://agent.tinyfish.ai/mcp`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to inspect a public test page. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Keep the first task read-only and confirm the destination before allowing form submissions or other browser actions. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Vercel Source: https://docs.tembo.io/integrations/vercel Manage Vercel projects and deployments, inspect logs, and search Vercel documentation through MCP. ![Vercel](https://mintcdn.com/test-8862363a/b5pGRfnVltq1qZ4y/images/integrations/vercel.png?fit=max\&auto=format\&n=b5pGRfnVltq1qZ4y\&q=85\&s=01aeb11cd211464a0b79099c1cf13b10) Manage Vercel projects and deployments, inspect logs, and search Vercel documentation through MCP. ## Prerequisites You need access to your Tembo organization and access to the intended Vercel team and projects. Review the provider permissions before granting access to your data. ## Installation 1. Open **Settings → Integrations** in Tembo. 2. Select **Vercel** and start the installation. 3. Complete the provider authorization if prompted. Review the requested access and select the intended account or team. 4. Confirm the connection is ready before starting a new session. The catalog server endpoint is `https://mcp.vercel.com`. If authorization requires a pre-registered OAuth client, follow the [MCP authentication instructions](/integrations/mcp#advanced) and register the callback shown in the connection dialog. ## Usage and verification Start a new session and ask Tembo to list the projects in your Vercel team, or to summarize the build logs of a recent failed deployment. Confirm the tools are available and that any returned account data belongs to the account you intended to connect. ## Access and troubleshooting Verify with read-only requests, such as listing projects or deployments, before asking Tembo to deploy or change project settings. If the connection remains pending, return to **Settings → Integrations** and finish authorization. If tools do not appear, confirm the connection was saved and start a new session. See [MCP troubleshooting](/integrations/mcp#advanced) for authentication and connectivity checks. # Fix bugs Source: https://docs.tembo.io/learn/fix-production-bugs Detect errors from Sentry, analyze the root cause, and open fix PRs automatically. Tembo monitors your error tracking tools and automatically generates [pull requests](/features/pull-requests) to fix bugs as they happen in production. ## How it works **1. Error detected** Sentry captures an error in your application and sends a webhook to Tembo. **2. Analysis** Tembo retrieves the full error context (stack traces, breadcrumbs, environment details) and analyzes your codebase to understand the root cause. **3. Fix generated** A coding agent writes the fix in an isolated [sandbox](/features/sandbox/overview), runs tests, and opens a PR with the change and full context. **4. Review and merge** You review the PR and [mention Tembo](/features/mentioning-tembo) to iterate if needed. Merge when ready. ## Set up automatic bug fixes ### 1. Connect Sentry Open **Settings > Integrations** and connect your Sentry account. Map your Sentry projects to the repositories where errors occur. See the full [Sentry integration guide](/integrations/sentry) for details. ### 2. Create an automation Go to **Automations** in your dashboard and create a new automation with a Sentry event trigger. **Trigger**: `sentry.issue.created` or `sentry.issue.regression` **[MCP Servers](/integrations/mcp)**: GitHub + Sentry Example instructions: ```text theme={null} When a new Sentry error is detected: 1. Retrieve the full stack trace and error context 2. Identify the root cause in the codebase 3. Write a fix and add tests 4. Open a PR with a clear description of what went wrong and how it's fixed ``` > [!TIP] > > Use the **Auto Fix Sentry Errors** template to automatically diagnose new errors, identify the root cause, and open a fix PR. ### 3. Fine-tune with rule files Add [rule files](/features/rule-files) to your repo so the agent follows your coding standards, test patterns, and PR conventions when generating fixes. ## Best practices * **Map projects accurately**: Connect [Sentry](/integrations/sentry) projects to the correct repos, especially for monorepos. * **Enable rich context**: Turn on source maps, breadcrumbs, and custom tags in Sentry so the agent has more to work with. * **Review before merging**: Always review the PR. [Mention Tembo](/features/mentioning-tembo) to refine the fix. * **Test in staging first**: Validate fixes in a staging environment before merging to production. # Implement issues Source: https://docs.tembo.io/learn/implement-from-issues Assign issues from Linear, Jira, or GitHub and get code written for you. Tembo picks up issues from your project management tools and writes code to solve them, whether it's a bug, a feature, or a refactor. ## How it works **1. Issue assigned** Create or assign an issue in [Linear](/integrations/linear), [Jira](/integrations/jira), [GitHub](/integrations/github), or mention it in [Slack](/integrations/slack). Tembo picks it up via webhook or [automation](/features/automations) trigger. **2. Context gathered** Tembo reads the issue description, pulls in related code, linked docs, and conversation history to understand the full picture. **3. Code written** A [agent harness](/features/automations#agent-harness) works in an isolated [sandbox](/features/sandbox/overview), implements the solution, and opens a [PR](/features/pull-requests) linked back to the original issue. **4. Review and iterate** Review the PR. [Mention Tembo](/features/mentioning-tembo) to request changes. The agent iterates until the solution is right. ## Set up issue-to-PR workflows ### Connect your issue tracker Open **Settings > Integrations** and connect one or more of: * [Linear](/integrations/linear) * [Jira](/integrations/jira) * [GitHub Issues](/integrations/github) * [Slack](/integrations/slack) * [Notion](/integrations/notion) ### Create an automation **Trigger**: Issue created, issue assigned, or label added **[MCP Servers](/integrations/mcp)**: GitHub + your issue tracker Example instructions: ```text theme={null} When a new issue is assigned to Tembo: 1. Read the issue description and any linked context 2. Identify the relevant files in the codebase 3. Implement the solution following our coding standards 4. Write tests for the changes 5. Open a PR and link it to the original issue ``` ## Your team stays in control Tembo generates solutions autonomously, but your team decides what gets deployed: * Review PRs using your standard review process * Mention `@tembo` in PR comments to request changes. It iterates on the feedback * Approve and merge when you're satisfied ## Best practices * **Write clear issue descriptions**: The more context in the issue, the better the implementation. * **Use labels**: Trigger [automations](/features/automations) only on specific labels (e.g., `tembo`, `auto-implement`) to control which issues get picked up. * **Start with small sessions**: Begin with well-scoped bugs and small features before tackling larger work. # Import chats Source: https://docs.tembo.io/learn/import-chats Bring local Conductor, Codex, Claude Code, and Devin conversations into Tembo. Import local chats from the Tembo desktop app. Each chat becomes a private session. The import copies the conversation, not the repository, branch, or files. Running it again does not create duplicates. If you are leaving Conductor Cloud, follow [Migrate from Conductor](/migrate-from-conductor) first so your branches and setup are saved. This page covers the chat import for every supported app. ## Prerequisites * The [Tembo desktop app](https://tembo.io/download) is installed on the computer that has the chats. * You are signed in to the workspace where the sessions should land. ## Import 1. Open the desktop app. 2. Go to **Settings > Import**. 3. Choose **Conductor**, **ChatGPT**, **Claude**, or **Devin**. 4. Click **Import from** that source, then confirm the import. Tembo titles each session **From Conductor:**, **From ChatGPT:**, **From Claude:**, or **From Devin:**, followed by the original title. ## What each source reads | Source | Where the chats are | | - | - | | Conductor | The Conductor Mac app. Transfer a Conductor Cloud chat to local before importing it. | | ChatGPT | Local Codex app and CLI sessions in `~/.codex/sessions` and `~/.codex/archived_sessions`. | | Claude | Local Claude Code conversations in `~/.claude/projects`. | | Devin | Local Devin CLI and Desktop history on this computer. | If the list is empty, open the desktop app on the computer that has those files. Tembo cannot read chats that only exist on another machine. ## Keep working An imported session has the earlier conversation as context. It does not check out the old branch. To continue on a branch, mention `@tembo` on that branch's pull request, or send a follow-up that names the branch. See [Mentioning Tembo](/features/mentioning-tembo). # Update docs Source: https://docs.tembo.io/learn/keep-docs-in-sync Keep documentation in sync with your codebase as code changes. Tembo monitors your codebase for changes and automatically updates your documentation repo to keep features well-documented. ## How it works **1. Code changes detected** A PR is merged or code is pushed to your main branch. Tembo detects the change via webhook. **2. Docs analyzed** The agent compares the code changes against your existing documentation to identify gaps, outdated sections, or missing pages. **3. Docs updated** A [PR](/features/pull-requests) is opened in your docs repo with updated content that reflects the code changes. ## Set up a docs automation ### On PR merge **Trigger**: PR merged to main **[MCP Servers](/integrations/mcp)**: [GitHub](/integrations/github) ```text theme={null} When a PR is merged: 1. Analyze the changes for user-facing impact 2. Check if existing docs cover the changed functionality 3. If docs are outdated or missing, open a PR in the docs repo with updates 4. Match the existing docs style and formatting ``` ### Weekly docs review **Trigger**: Weekly **[MCP Servers](/integrations/mcp)**: [GitHub](/integrations/github), [Notion](/integrations/notion), [Slack](/integrations/slack) ```text theme={null} Compare the codebase against the docs repo: 1. Find new features or API changes that aren't documented 2. Identify docs pages that reference removed or renamed functionality 3. Open a PR with updates for the most impactful gaps 4. Post a summary to #engineering in Slack ``` ## Best practices * **Use a separate docs repo**: Tembo can open PRs across repositories, so keep docs in their own repo for clean separation. * **Add [rule files](/features/rule-files)**: Include a rule file in your docs repo with style guidelines, formatting conventions, and tone. * **Start with API docs**: API documentation is the easiest to keep in sync since changes are mechanical and well-scoped. # Reduce tech debt Source: https://docs.tembo.io/learn/reduce-technical-debt Scan for vulnerabilities, stale TODOs, and refactoring opportunities on a schedule. Tembo periodically analyzes your codebase to find technical debt, security vulnerabilities, and refactoring opportunities, then submits [PRs](/features/pull-requests) for quick wins. ## How it works **1. Scheduled scan** An [automation](/features/automations) runs on a schedule (daily, weekly, or monthly) and scans your codebase for issues. **2. Issues identified** The agent finds stale TODOs, security vulnerabilities, outdated dependencies, duplicated code, and other debt. **3. PRs submitted** For quick wins, the agent opens PRs with fixes. For larger issues, it creates tickets in [Linear](/integrations/linear) or [Jira](/integrations/jira) with implementation plans. ## Set up a tech debt automation ### Security vulnerability scan **Trigger**: Daily or weekly **[MCP Servers](/integrations/mcp)**: [GitHub](/integrations/github), [Linear](/integrations/linear) ```text theme={null} Scan the codebase for: - SQL injection vulnerabilities - XSS vulnerabilities - Hardcoded secrets or credentials - Authentication and authorization flaws Create Linear tickets for each finding with severity ratings. Generate fix PRs for critical issues. ``` [Browse all templates →](https://tembo.io/for) ### Stale TODO cleanup **Trigger**: Weekly **[MCP Servers](/integrations/mcp)**: [GitHub](/integrations/github) ```text theme={null} Find all TODO, FIXME, and HACK comments in the codebase. For each one that's older than 30 days: 1. Determine if it's still relevant 2. If it's a quick fix, open a PR to resolve it 3. If it needs discussion, create an issue ``` ### Dependency updates **Trigger**: Monthly **[MCP Servers](/integrations/mcp)**: [GitHub](/integrations/github) ```text theme={null} Check for outdated dependencies. For each outdated package: 1. Check the changelog for breaking changes 2. Update the dependency 3. Run tests to verify compatibility 4. Open a PR with a summary of changes ``` ## Best practices * **Start weekly**: Run scans weekly to build a habit of reviewing and merging debt-reduction PRs. * **Prioritize security**: Set security scans to run more frequently than cosmetic cleanup. * **Scope by directory**: Focus on one area of your codebase at a time rather than scanning everything at once. # Review changes Source: https://docs.tembo.io/learn/review-changes Run an automation that reviews pull requests and leaves inline comments. This page is the automated reviewer: an [automation](/features/automations) that comments on pull requests. To read pull requests yourself, use [Review](/features/reviews). The agent checks for bugs, security issues, and style guide compliance, then leaves inline comments on specific lines. ## How it works **1. PR opened** A pull request is opened or updated in your repository. Tembo picks it up via webhook. **2. Code analyzed** The agent reads the diff, understands the context of the changes, and evaluates them against your coding standards. **3. Review posted** Inline comments are added to specific lines in the PR. If no issues are found, the PR can be auto-approved. ## Set up automated PR reviews ### 1. Connect your source control Open the [dashboard](https://app.tembo.io), go to **Settings > Integrations**, and connect [GitHub](/integrations/github), [GitLab](/integrations/gitlab), or [Bitbucket](/integrations/bitbucket). ### 2. Create an automation Go to [Automations](/features/automations) in your dashboard and use the **PR Review** template, or create one from scratch. **Trigger**: PR opened / PR updated (webhook from [GitHub](/integrations/github), [GitLab](/integrations/gitlab), or [Bitbucket](/integrations/bitbucket)) Example instructions: ```text theme={null} Review this PR for: - Bugs and logic errors - Security vulnerabilities - Performance issues - Style guide compliance Leave inline comments on specific lines. Auto-approve if no issues found. ``` [Browse all templates →](https://tembo.io/for) ### 3. Customize with rule files Add [rule files](/features/rule-files) to your repo so the reviewer knows your team's conventions: naming patterns, test requirements, forbidden patterns, and more. ## What gets checked (depends on your instructions) | Category | Examples | | - | - | | **Correctness** | Logic errors, off-by-one bugs, null handling | | **Security** | SQL injection, XSS, hardcoded secrets | | **Performance** | N+1 queries, unnecessary allocations, missing indexes | | **Style** | Naming conventions, formatting, import order | | **Testing** | Missing tests, untested edge cases | ## Best practices * **Add [rule files](/features/rule-files)**: The more context the reviewer has about your standards, the better the review. * **Start with one repo**: Test the review quality on a single repo before rolling out to all. * **Combine with human review**: Use automated reviews to catch the obvious stuff so human reviewers can focus on architecture and design. # Migrate from Conductor Cloud Source: https://docs.tembo.io/migrate-from-conductor Move your Conductor Cloud branches, setup, and chats to Tembo before Conductor Cloud shuts down. Conductor Cloud goes read-only on **November 13, 2026** and shuts down on **November 20, 2026**. This guide moves your work and your chats to Tembo, where agents also run in isolated cloud sandboxes with Claude Code, Codex, Cursor, or OpenCode. ## 1. Save your work in Conductor Do this before November 13 if you can. * **Push every branch** you want to keep, including new files. * **Move your chats to your Mac.** Right-click each cloud workspace and choose **Transfer to local**. * **Copy your setup.** Save your setup scripts, environment variable values, and gitignored files such as `.env`. > [!NOTE] > > Using the local Conductor app? It keeps working until early 2027. Push your branches, then start at step 2. ## 2. Set up Tembo 1. **Connect GitHub.** In the [dashboard](https://app.tembo.io), open **Settings > Integrations**, install GitHub, and select your repositories. 2. **Add environment variables** in **Settings** > **Sandbox**. See [Environment variables](/features/sandbox/environment-variables). 3. **Create a project** in **Settings** > **Projects** to replace your Cloud Computer. Select your repositories and add your setup script, replacing `CONDUCTOR_*` variables with paths under `/workspace`. Sandboxes run NixOS, so install packages with [`tembo.nix`](/features/sandbox/custom-dependencies) instead of `dnf`. See [Projects](/features/projects). To use your Claude or ChatGPT subscription, connect it in **Settings** > **Connected accounts**. ## 3. Import your chats In the Tembo [desktop app](https://tembo.io/download), open **Settings** > **Import**, click **Import from Conductor**, then click the import button, such as **Import 6 chats**. Codex, Claude Code, and Devin use the same screen. See [Import chats](/learn/import-chats). ![The Import from Conductor dialog, listing six Conductor chats newest first, with an Import 6 chats button](https://mintcdn.com/test-8862363a/Hf8WyerjUSYd4K-V/images/conductor-import-light.png?fit=max\&auto=format\&n=Hf8WyerjUSYd4K-V\&q=85\&s=0276d4ea1404172b264b1bdd8c469174) Each chat becomes a private session titled **From Conductor:** followed by the chat's title. It brings over the conversation from any Conductor agent, but not the repository, branch, or files. Running the import again doesn't create duplicates. ## 4. Keep working * **On a branch:** comment `@tembo` on the branch's pull request, such as "@tembo finish the remaining work on this branch." See [Mentioning Tembo](/features/mentioning-tembo). * **In an imported chat:** send a follow-up that names the branch. The agent, whichever you pick, gets the earlier conversation as context. * **Routines:** recreate them as [automations](/features/automations) with schedules or triggers. # Quickstart Source: https://docs.tembo.io/quickstart Get up and running with Tembo in minutes. **1. Connect a repository** Open the [dashboard](https://app.tembo.io) and go to **Settings > Integrations**. Connect GitHub, GitLab, or Bitbucket, then select the repositories you want Tembo to access. **2. Create a session** Open the [Tembo Dashboard](https://app.tembo.io) and click **New Session**. Pick one or more repositories, choose your [agent harness](/features/automations#agent-harness), and describe the work. Tembo can also use connected integrations and [MCP servers](/integrations/mcp) for extra context during the session. **3. Review the PR** Tembo works in a [sandbox](/features/sandbox/overview) and writes the code. Review the diff in the session's **Changes** tab, then click **Open PR** when you're ready, or ask Tembo to open one for you. Read the open pull request in [Review](/features/reviews), or mention `@tembo` in PR comments to request changes. **4. Set up automations** Open **Automations** in the dashboard and pick a template or create your own with custom triggers and schedules. See [Automations](/features/automations). *** ## Where to tag @tembo **Tag required:** PR comments, GitHub issues, Slack messages. **No tag needed:** Dashboard sessions, Linear/Jira issues assigned to Tembo. ## Writing good prompts Include: **what** needs to change, **where** (file paths), **why**, and **how you'll know it's done**. ```text theme={null} Fix memory leak in workers/job-processor.ts Heap grows from 512MB to 4GB and crashes after ~6 hours. Likely in cleanup logic around line 156. See Sentry #12345. Done when: memory stable over 24+ hours, no queued jobs lost. ``` **Avoid:** "Fix the bug", "Make it faster", "Update the app and add new features". Be specific, scope to one session, and include acceptance criteria. | Type | What to include | | - | - | | **Bug** | Steps to reproduce, expected vs actual, error messages, Sentry link | | **Feature** | Requirements, file locations, edge cases, dependencies | | **Refactor** | Current problems, desired state, constraints, specific files | ## Next steps > [card] [Agent harness](/features/automations#agent-harness) > > Choose the right harness and model. > [card] [Rule Files](/features/rule-files) > > Define coding standards for agents to follow. # Pricing Source: https://docs.tembo.io/resources/pricing Understand Tembo plans, model and compute rates, usage allowances, prepaid balance, and overages. Tembo gives your workspace a dollar-denominated usage allowance. Tembo Gateway usage and cloud VM compute draw from the same balance. ## Plans [Projects](/features/projects) are unlimited during your free trial and on paid plans. * **Free trial**: included usage allowance, up to 10 users, and priority support * **Pro (\$60/month)**: \$90 monthly usage allowance, up to 5 users, with overage billing * **Max (\$200/month)**: \$400 monthly usage allowance, up to 10 users, with overage billing Every plan uses [automatic sandbox sizing](/features/sandbox/overview#sandbox-sizes) with the same resource limits. Pro and Max can use overage billing so your work can continue after you use your monthly allowance and prepaid balance. You can set a maximum overage limit to control spend. When your free trial ends or its allowance runs out, upgrade to a paid plan to continue running sessions. Standard BYOK (Anthropic, OpenAI, xAI), cloud BYOK (AWS Bedrock, GCP Vertex AI), agent keys (Cursor), and ChatGPT/Codex and [Claude subscription access](/features/models#connect-a-claude-subscription) are available during your free trial and on paid plans. ## How the usage allowance works Two usage categories draw from the same balance: * **Tembo Gateway**: model input, output, and cache usage is charged at the rates in [Tembo Gateway pricing](#tembo-gateway-pricing). * **Cloud VM compute**: metered from the vCPU, memory, and disk allocated to each sandbox while it runs. [Cloud devices](/features/cloud-devices) on the Max plan, such as iOS simulators, Android emulators, and cloud Macs, also draw from this balance and count toward compute. See [Cloud device rates](#cloud-device-rates). BYOK, ChatGPT/Codex, and Claude subscription inference cost \$0 through Tembo because you provide the model access. The cloud VM running the session continues to draw from your usage allowance. Included monthly allowance expires at the end of each billing cycle and does not roll over. Prepaid balance does not expire. ## Cloud VM compute rates VM compute is a separate usage category from Tembo Gateway. It draws from the same dollar-denominated allowance, based on the resources allocated to each sandbox: | Resource | Rate | | - | -: | | vCPU | \$0.0378 per vCPU-hour | | Memory | \$0.0130 per GiB RAM-hour | | Disk | \$0.0001 per GB-hour | Your hourly compute cost is: **(vCPU × \$0.0378) + (GiB RAM × \$0.0130) + (GB disk × \$0.0001)** Sandboxes size themselves automatically. Each sandbox grows its CPU and memory as the work needs more, within your project's limits. You pay for the allocated vCPU and memory, not instantaneous utilization or your project's maximums. When the allocation changes, the new rate applies from that moment; earlier running time keeps its rate. Disk is charged for its configured capacity, not the data written. Disks default to 50 GB and can be set from 50 to 200 GB. These familiar configurations show what the formula costs per hour: | Size | Resources | Price per hour | | - | - | -: | | Nano | 2 vCPU · 2 GiB · 50 GB | \$0.1066 | | Micro | 2 vCPU · 4 GiB · 50 GB | \$0.1326 | | Medium | 4 vCPU · 8 GiB · 50 GB | \$0.2602 | | Large | 8 vCPU · 16 GiB · 100 GB | \$0.5204 | | XL | 16 vCPU · 32 GiB · 200 GB | \$1.0408 | | XXL | 16 vCPU · 64 GiB · 200 GB | \$1.4568 | | Ultra | 32 vCPU · 128 GiB · 200 GB | \$2.8936 | For example, a sandbox with a 50 GB disk that runs for 30 minutes at 2 vCPU and 4 GiB, then grows to 4 vCPU and 8 GiB for another 30 minutes, costs \$0.0663 + \$0.1301 = **\$0.1964** for that hour. > [!NOTE] > > **Need more than 16 vCPU and 32 GiB?** Sandboxes grow up to 16 vCPU and 32 GiB by default, and larger limits are available upon request. Contact [support@tembo.io](mailto:support@tembo.io) to discuss your requirements. Tembo measures each running VM in seconds and bills its running time at the per-second equivalent of the hourly rate. Running time includes keep-alive time after an agent finishes and VMs kept ready for a project. Stopped, snapshotted, and otherwise non-running VMs do not accrue compute, and saved snapshots have no separate storage charge. See [Sandboxes](/features/sandbox/overview) for more about the execution environment. ## Cloud device rates [Cloud devices](/features/cloud-devices) are available on the Max plan. They're billed per second while each device runs, separately from the sandbox running the session. | Device | Per minute | Per hour | | - | -: | -: | | iOS simulator | \$0.20 | \$12.00 | | Android emulator | \$0.15 | \$9.00 | | Cloud Mac (macOS with Xcode) | \$0.07 | \$4.20 | Simulators running on a cloud Mac are included in the Mac's price. ## Tembo Gateway pricing Pricing is shown in USD per 1M tokens. | Provider | Model | Input | Output | Cache create | Cache read | | - | - | -: | -: | -: | -: | | Anthropic | `claude-fable-5` | \$11.50 | \$57.50 | \$14.375 | \$1.15 | | Anthropic | `claude-opus-4-8` | \$5.75 | \$28.75 | n/a | n/a | | Anthropic | `claude-opus-4-7` | \$5.75 | \$28.75 | \$7.1875 | \$0.575 | | Anthropic | `claude-opus-4-6` | \$5.75 | \$28.75 | \$7.1875 | \$0.575 | | Anthropic | `claude-opus-4-5` | \$5.75 | \$28.75 | \$7.1875 | \$0.575 | | Anthropic | `claude-4-5-haiku` | \$1.15 | \$5.75 | \$1.4375 | \$0.115 | | OpenAI | `gpt-6.2-astra` | \$9.20 | \$46.00 | \$11.50 | \$0.46 | | OpenAI | `gpt-6.2-sol` | \$2.30 | \$11.50 | \$2.875 | \$0.115 | | OpenAI | `gpt-6.1-sol` | \$2.30 | \$11.50 | \$2.875 | \$0.115 | | OpenAI | `gpt-6.1-terra` | \$1.15 | \$5.75 | \$1.4375 | \$0.0575 | | OpenAI | `gpt-6-astra` | \$11.50 | \$57.50 | \$14.375 | \$1.15 | | OpenAI | `gpt-5.6-sol` | \$4.60 | \$23.00 | n/a | \$0.46 | | OpenAI | `gpt-5.5` | \$5.75 | \$34.50 | n/a | \$0.575 | | OpenAI | `gpt-5.4` | \$2.875 | \$17.25 | n/a | \$0.2875 | | OpenAI | `gpt-5.4-mini` | \$0.2875 | \$2.30 | n/a | \$0.02875 | | OpenAI | `gpt-5.4-nano` | \$0.0575 | \$0.46 | n/a | \$0.00575 | | OpenAI | `gpt-5.3-codex` | \$2.0125 | \$16.10 | n/a | \$0.20125 | | OpenAI | `gpt-5.3-codex-spark` | Missing | Missing | Missing | Missing | | OpenAI | `gpt-5.2-codex` | \$2.0125 | \$16.10 | n/a | \$0.20125 | | OpenAI | `gpt-5.2` | \$2.0125 | \$16.10 | n/a | \$0.20125 | | Tembo | `kimi-k3` | \$3.45 | \$17.25 | n/a | \$0.345 | | Tembo | `glm-5p3` | \$1.61 | \$5.06 | n/a | \$0.299 | | Tembo | `glm-5p3-flash` | \$0.1725 | \$0.575 | n/a | \$0.03335 | | Tembo | `minimax-m2p7` | \$0.345 | \$1.38 | n/a | \$0.0345 | | Tembo | `minimax-m3` | \$0.345 | \$1.38 | n/a | \$0.0345 | | Tembo | `deepseek-v4-pro` | \$2.001 | \$4.002 | n/a | \$0.16675 | | Tembo | `deepseek-v4p1-flash` | \$0.253 | \$0.759 | n/a | \$0.00805 | | Tembo | `nvidia-nemotron-3-ultra-nvfp4` | \$0.69 | \$2.76 | n/a | \$0.138 | ## What consumes the allowance Tembo Gateway and VM compute are metered while Tembo runs work such as: * Creating pull requests from assigned issues (Linear, Jira, Slack) * Fixing production errors from Sentry * Optimizing database queries and indexes * Processing pull request feedback through [Mentioning Tembo](/features/mentioning-tembo) ## When the allowance runs out What happens when your balance reaches zero depends on your plan and overage setting: * **Free trial**: sessions stop when the trial ends or its allowance runs out. Upgrade to a paid plan to continue; overage billing is not available during the trial. * **Pro or Max with overages enabled**: sessions continue and are billed as overage after the included allowance and prepaid balance are used, up to the maximum overage limit you set. Once that limit is reached, new sessions are blocked. * **Pro or Max with overages disabled**: new sessions are blocked as soon as the included allowance and prepaid balance are exhausted. When work is blocked, the request is rejected immediately rather than queued. On Pro and Max, work that has already started can continue its current session so its compute and inference are accounted for correctly. ## Usage bursts Some integrations can create a large batch of work at once — for example, a repository or integration sync, or a token refresh that triggers a backlog of issues. Tembo does not cap or rate-limit how much work an integration enqueues; the batch is processed as worker capacity becomes available, and each resulting session records dollar usage when it runs. The same allowance and overage limits above apply, so a burst cannot spend beyond your available balance plus your overage limit. To absorb large bursts without interruption, enable overages with an appropriate limit. ## Usage refunds Tembo Gateway usage may be refunded automatically in some cases: * **Failed sessions**: if Tembo cannot complete a session because of an internal error * **Duplicate issues**: if the same issue is queued more than once * **Invalid inputs**: if a session fails due to missing access or configuration problems ## Usage and monitoring You can track Tembo Gateway usage, compute, total usage, VM resource-hours, and daily spend in **Settings > Billing**. Overage invoices list Tembo Gateway and compute separately. ## Prepaid balance and on-demand usage * **Free trial**: upgrade to Pro or Max to continue after your trial ends or its allowance runs out * **Pro and Max**: enable overage billing and set a monthly spend limit * **Prepaid balance**: does not expire To change plans, open **Settings > Billing**. ## Troubleshooting **Payment failed**: confirm the card is valid and has available funds. **Prepaid balance did not appear immediately**: billing updates can take a few minutes. Need help? Contact [hi@tembo.io](mailto:hi@tembo.io). ## Enterprise pricing If you need custom pricing, reach out to [support@tembo.io](mailto:support@tembo.io) for: * Custom usage allowances * Custom or unlimited sandbox sizing * Volume pricing * Custom inference configuration * Dedicated support * Flexible billing options # PWA Source: https://docs.tembo.io/resources/pwa Install Tembo as a Progressive Web App for quick access from your home screen. Install Tembo as a Progressive Web App (PWA) for quick access from your home screen with an app-like experience. PWAs combine the best of web and native apps, giving you instant access without app store downloads. ## Installation 1. Open [app.tembo.io](https://app.tembo.io) in your browser 2. Access the share or install menu (look for an install icon in the address bar or use the browser menu) 3. Select "Add to Home Screen" or "Install" and confirm the installation Once installed, Tembo appears on your home screen or app launcher just like a native application. ## Benefits * **Quick access:** Launch directly from your home screen or dock * **Full-screen mode:** Distraction-free experience without browser UI * **Offline resilience:** Core functionality remains available with spotty connectivity * **Notifications:** Turn on browser or desktop notifications in **Settings > Notifications** for approval requests, opened pull requests, and review requests. Alerts fire while Tembo is open. Background push after you close the installed app is not available yet. ## Troubleshooting **Install option not visible?** * **Chrome Desktop:** Look for the install icon in the address bar (computer with down arrow) * **Safari iOS:** Tap the Share button at the bottom, then scroll to "Add to Home Screen" * **Chrome Android:** Tap the three-dot menu and select "Add to Home Screen" or "Install app" * **Edge:** Tap the three-dot menu, go to "Apps," then select "Install Tembo" **Supported browsers:** Chrome and Edge on all platforms, Safari on iOS 14.3 and later, Firefox with limited support. **PWA not updating?** Remove or uninstall the app from your device, clear your browser cache if needed, then reinstall from your browser. # Support Source: https://docs.tembo.io/support Get help with Tembo through in-app chat, email, and dedicated Slack channels. All customers get access to support through in-app chat and email. Enterprise accounts also get a dedicated Slack channel for direct access to the Tembo team. ## How to reach us | Channel | Details | | - | - | | **In-App Chat** | Behind the **Help** button at the bottom of the left sidebar | | **Email** | [support@tembo.io](mailto:support@tembo.io) | | **Slack** | Dedicated channel (enterprise plans) | ## Support tiers > [accordion] Standard – Pro > > **Channels:** In-app chat, Email > \ > **Hours:** Monday–Friday, 9am–6pm ET > \ > **First Response:** Within 1 business day > [accordion] Priority – Free trial, Max, and Annual Agreements > > **Channels:** In-app chat, Email, Slack > \ > **Hours:** Monday–Friday, 9am–6pm ET > \ > **First Response:** Within 6 business hours > \ > **Extras:** Dedicated Slack channel > [accordion] + Premiere – Add-on for Enterprise plans > > Everything in Priority, plus: > \ > \ > **Channels:** + Video, Phone > \ > **Hours:** 8am-8pm ET for critical issues > \ > **First Response:** Within 1 hour (critical), 4 hours (standard) > \ > **Extras:** Named account manager, quarterly reviews, custom SLA > \ > \ > [Contact sales](mailto:sales@tembo.io) to add Premiere support. ## Response times by severity | Issue Type | Standard | Priority | Premiere | | - | - | - | - | | **Critical** — Production down | \< 8 hrs | \< 2 hrs | \< 1 hr (24/7) | | **High** — Major feature broken | \< 1 day | \< 4 hrs | \< 2 hrs | | **Medium** — Minor issue | \< 2 days | \< 8 hrs | \< 4 hrs | | **Low** — Question/guidance | \< 3 days | \< 1 day | \< 8 hrs | *Times shown are targets for first response during business hours unless noted.* ## What's a critical issue? * Production environment completely unavailable * Data loss or corruption * Security vulnerability * No workaround available ## Upgrade your support Need faster response times, a named account manager, or 24/7 critical issue coverage? [Contact us](mailto:sales@tembo.io) to learn about Premiere support.