Deployment options

Bring your own cloud (BYOC)

Composio BYOC runs Composio in a cloud account you own. Composio deploys and operates it, and your team approves every release. Tool calls run in your account, your account stores the credentials and logs, and requests to provider APIs leave from your network.

BYOC is available to Enterprise customers on AWS, Google Cloud, and Azure. This page uses AWS service names, from the AWS reference architecture. To plan a deployment, contact Composio.

How a tool call runs

Your backend points its Composio SDK or MCP client at your deployment's private endpoint. Composio's services in your account find the user's connected account, decrypt its credential in memory, and call the provider's API. The result returns to your application the same way.

Your application sends tool calls to a private endpoint in your cloud account. Composio's API, runtime, and workers run in the same account and look up encrypted credentials and data there. A release pipeline in the account updates the services. Three connections cross the account boundary: requests carrying the user's credential to provider APIs, background jobs to Temporal Cloud, and releases and status between the account and Composio.
Tool calls and credentials stay in your cloud account. Three connections cross its boundary.

What runs in your account

ComponentWhat it does
API and authenticationServes the Composio API and MCP, manages connected accounts, and runs OAuth flows.
Tool runtimeRuns toolkit code and calls provider APIs.
WorkersRun Triggers, credential keep-alive, and other background work.
Tool catalog and searchHolds the toolkits pinned to your release and finds the right tool for each task. Search uses an LLM and an embedding model, and both can run in your cloud.
Database and cacheStore projects, connected accounts, encrypted credentials, logs, and worker state.
Object storageStores files and large results.
Release pipelineBuilds a preview that shows what each release will change, and applies the release after your approval. Your team creates the pipeline once, by installing the bootstrap stack from your onboarding package.

What's included

BYOC includes the Composio API and SDKs, connected accounts, tool execution, sessions, MCP, and files. It also includes semantic tool search and Triggers. Tool search uses an LLM and an embedding model that you choose, and Triggers use Temporal Cloud.

These parts of Composio Cloud work differently in BYOC:

  • BYOC doesn't deploy the Composio dashboard. You manage projects, API keys, and auth configs through the API.
  • Composio-managed OAuth apps aren't available. You use your own OAuth app for each provider.
  • Enterprise MCP Gateway and SSO deploy separately.
  • BYOC doesn't include Workbench or self-service custom toolkits. Composio can build custom connectors under your agreement, and shares their code with you before each deployment.

What leaves your account

BYOC isn't an air-gapped deployment. It makes these outbound connections:

DestinationWhat it receivesWhen
Provider APIsTool calls and OAuth token requests, carrying the user's credentialAlways
Composio release registryRequests for release images, plus the installed version and component healthAlways for images. You can turn off status reporting.
Temporal CloudWorkflow inputs, results, and errors for background jobs. The inputs are mostly identifiers, schedules, and retry state.When you use Triggers or scheduled credential keep-alive
Model providersTool search queriesOnly if your search models run outside your account

Composio distributes releases through Replicated, a software distribution service, so image pulls and status reports go to Replicated's registry. Workers in your cluster connect out to a Temporal Cloud namespace that Composio provides for your deployment, and Temporal never connects into your network. Trigger data and credentials stay in your database and object storage. Logs, metrics, and traces go to the monitoring system you choose.

Who does what

AreaComposioYour team
Cloud accountUses only the roles you approveOwns the account, its bill, and its organization policies
InfrastructureProvisions and updates it through the release pipelineInstalls the bootstrap stack and approves each release
NetworkDeploys into the network you provide, or creates oneControls routing, egress rules, DNS, and certificates
OperationsMonitors health, responds to incidents, configures failover and backups, and tests restoresSets availability and recovery requirements
SupportRequests a session when it needs accessApproves or declines each session
Provider appsHelps you configure themCreates OAuth apps and registers their redirect URIs

How releases work

When a new version is ready, Composio requests a specific release. The pipeline in your account builds a preview of the changes and waits. Your approver reviews the preview and approves or declines it. After approval, the pipeline applies infrastructure changes, runs database migrations, rolls out the services, and checks their health. If you decline, the pipeline stops and the installed release keeps running.

Composio requests a release. Inside your cloud account, the pipeline builds a preview, your team approves it, and the pipeline applies the change and verifies the services. If you decline, the installed release keeps running.
Composio can request a release, but only your approver can approve it.
  • The pipeline applies exactly the preview you approved, and rejects a release whose inputs changed after the preview.
  • A release can't widen its own permissions or remove the approval step. Those changes require you to update the bootstrap stack.
  • Each pipeline stage runs inside your VPC, under a role that your bootstrap stack creates.
  • Each environment, such as staging or production, is a separate installation with its own pipeline.

Security and access

Composio holds no standing credentials

Composio has no long-lived credentials for your account. It assumes two roles that your bootstrap stack creates. Each role trusts only Composio's services and requires an external ID unique to your installation. Every session gets temporary credentials.

RoleWhat it can doWhat it can't do
RequesterStart the release pipeline and watch its progress, publish the release configuration, deliver the credential that pulls Composio's images, and read build logs and verification resultsApprove a release, change the pipeline, start other builds, read your application secrets, assume other roles, or make IAM changes
Support requestRead your bootstrap stack's outputs, check the permissions of the deployment roles, and ask your approver for a support sessionApprove a request, start a build, or connect to a session itself

The requester role's policy explicitly denies each of those actions. If you remove the requester role, Composio can no longer request releases, and the installed release keeps running.

Support sessions

Support access is on by default, and every session needs your approval. You can turn it off when you install.

When an engineer needs access, they request a session for an incident. Your approver receives the request with the engineer's identity, the incident, the scope, and the duration. After approval, the session runs in a temporary container inside your VPC, with a Kubernetes token that expires. Composio engineers have no standing access to your cluster.

LevelDefaultWhat it allows
DiagnosticsAvailable, with approval for each sessionPod status, events, and logs in the Composio namespace. It can't read Kubernetes secrets or open a shell.
OperationsOffPod shells, port forwarding, and deleting individual pods so they restart. A shell can reach the credentials available to that pod.
Exact-pod escalationOffA shell in one pod that you name in advance. It can reach that pod's credentials.

Diagnostics sessions can read application logs, which can include tool request and response data. CloudWatch records each session's approval, engineer, and incident, plus a terminal transcript for shell sessions. CloudTrail and the EKS audit log record the session's AWS and Kubernetes activity. Diagnostic exports leave your account only with your approval.

Keys and credentials

  • On its first install, your deployment generates its own encryption keys and administrator token, and stores them in AWS Secrets Manager in your account. Composio doesn't supply these keys or keep a copy.
  • Your PostgreSQL database stores provider credentials encrypted. The services that call providers decrypt a credential in memory when they make the call.
  • The release pipeline reads the generated keys during an approved release, to configure the services.
  • You can supply your own KMS keys for every data store, including the database, cache, object storage, logs, and secrets.

Three parties can reach plaintext credentials: the services that call providers, your cloud account's administrators, and a Composio engineer in a shell session that you turn on and approve. If your policy doesn't allow any Composio service to decrypt credentials, ask about customer-managed keys.

Data retention

Your team and Composio agree on retention for the database, backups, diagnostic exports, and Temporal workflow history. Data retention and handling describes the controls available in each project.

Your responsibilities

  • Limit administrator access to your account, because account administrators can read the deployment's secrets.
  • Limit your approver role to the people who approve releases and support sessions.
  • Review the onboarding package before you install. It lists every role the deployment uses, with its trust policy and exact permissions.
  • Authenticate your users and map them to Composio user IDs on your server. See token custody and credential isolation.

Build on BYOC

Applications call a BYOC deployment the same way they call Composio Cloud. The deployment has its own API hostname, projects, API keys, and OAuth apps.

Point your client at your deployment

Set the base URL to your deployment's API hostname. Both SDKs and the Composio CLI also read the COMPOSIO_BASE_URL environment variable.

from composio import Composio

composio = Composio(
    api_key="your-project-api-key",
    base_url="https://composio.internal.example.com",
)

toolkits = composio.toolkits.get()

Sessions, tools, and user IDs then work as they do in Composio Cloud. See Configure sessions. Your connectivity mode decides which API routes your applications can reach.

Create your first project and API key

Your deployment stores its administrator token in AWS Secrets Manager in your account. During onboarding, your Composio engineer works with your team to create the first organization, project, and API key with that token. After that, you manage projects, API keys, and auth configs through the API.

Use your own OAuth apps

For each provider, create an OAuth app and add it to your project as an auth config with your own OAuth credentials. Register this redirect URI with the provider:

https://<your-api-hostname>/api/v3/toolkits/auth/callback

Your users' browsers must be able to reach that hostname, for example over your VPN. If you use a restricted connectivity mode, register your edge relay's public hostname instead, with the same path. The edge relay is a public HTTPS proxy that you run. Restricted modes accept only OAuth2 callbacks sent with GET, so OAuth1 providers and providers that send callbacks with POST don't work.

The callback_url you pass when you connect an account only sets where users land after they connect. It doesn't change the redirect URI.

Allowlist your deployment's IP addresses

Some providers accept requests only from trusted IP addresses. In BYOC, requests to providers come from your deployment's NAT gateways or your own egress, not from Composio Cloud's addresses. Add your deployment's addresses to those providers' allowlists.

How onboarding works

Architecture review. Your team and Composio agree on the cloud, region, network, private connectivity, providers, and recovery requirements.

Prepare your account. You set up a dedicated cloud account and the network, certificates, and approver identity the deployment needs. Architecture lists them for AWS.

Install the bootstrap. Your team reviews the onboarding package, runs its checks, and installs the bootstrap stack. The stack creates the release pipeline and its roles.

Approve the first release. Composio registers your deployment and requests the first release. Your approver reviews the preview, and the pipeline deploys and verifies the services.

Create your first project. Your team and Composio create the first project and API key, and you connect your applications. See Build on BYOC.

FAQ