
Connectors / Data and analytics · HTTP Connector
Automate CockroachDB with Tray.ai
Create a cluster and create a SQL user in CockroachDB. Connect CockroachDB to the rest of your data and analytics stack with Tray.ai.
Thanks — someone from our team will be in touch soon.
What can you do with CockroachDB on Tray.ai?
CockroachDB is a distributed SQL database from Cockroach Labs, offered as a managed cloud service with clusters you can create and manage by API. Tray.ai connects to CockroachDB through the HTTP Connector, so your workflows can call the CockroachDB API alongside the rest of your stack.
- Create a SQL user when a developer's database access request is approved in your service desk.
- Delete a SQL user when an engineer leaves, triggered from your HR system.
- List invoices monthly and send each one to your accounting system.
- Set a maintenance window that matches the change calendar your ops team keeps.
- Connects through
- HTTP Connector
- Authentication
- A bearer token
- Base URL
- https://cockroachlabs.cloud/api/v1
What the CockroachDB API covers
4 resources and 12 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow.
Clusters
- List clusters
- Create a cluster
- Get a cluster
SQL users
- List SQL users
- Create a SQL user
- Delete a SQL user
- Change a SQL user password
Maintenance windows
- Set a maintenance window
- Get a maintenance window
- Delete a maintenance window
Invoices
- List invoices
- Get an invoice
Checked against CockroachDB's own documentation on 2026-11-06
How Tray.ai makes this work
CockroachDB plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 6,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in CockroachDB — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose CockroachDB actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on CockroachDB data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More data and analytics apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every data and analytics connector →
Frequently asked questions
What can a Tray.ai workflow do in CockroachDB?
+
The CockroachDB API documents 12 actions across 4 resources (Clusters, SQL users, Maintenance windows, Invoices). For example: List clusters; List SQL users; Set a maintenance window. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with CockroachDB?
+
The CockroachDB API uses a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
See CockroachDB working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.