Prerequisites
- A Braintrust organization on Braintrust’s US data plane. CloudThinker always connects to
api.braintrust.dev, so EU data plane and self-hosted Braintrust deployments are not supported. - Permission to create an API key in that organization.
- The Admin role in your CloudThinker workspace, which you need to add connections. See Roles.
Setup
1
Open API keys in Braintrust
Sign in to Braintrust with the read-only account you picked above and go to Settings → API keys.
2
Create the key
Click + API key, name it
cloudthinker, and choose an expiration. It can’t be changed later, so put a reminder in your calendar to rotate the key before that date (see Security). Click Create.3
Copy the key
Copy the key now. Braintrust shows it only once. If you lose it, create a new one.
4
Add the connection in CloudThinker
Open More → Workspace settings → Connections, stay on the Builtin Connections tab, and select Braintrust. Paste the key into BRAINTRUST_API_KEY, and click Connect.Success state: the Braintrust card shows Connected.
Connection details
There’s no data plane or URL to enter: CloudThinker always calls
api.braintrust.dev.
Required permissions
The key’s reach is its creator’s reach. Braintrust can’t scope a key below the account that made it, so the account you choose is the permission boundary.Agent capabilities
CloudThinker allows exactly six Braintrust actions on this connection. Everything else Braintrust offers is blocked.
CloudThinker reports names and counts. It shows an object ID only when you ask for one.
Verify the connection
Example prompts
Use exact names from Braintrust. CloudThinker looks up the object you name; it doesn’t guess.Troubleshooting
403 Forbidden, or a project or experiment isn't found
403 Forbidden, or a project or experiment isn't found
The key only sees what its creator’s account sees. Check that account’s access to the project or experiment in Braintrust, and check the exact name you used.
It worked for months, then every request started failing
It worked for months, then every request started failing
The key expired. Braintrust keys can’t be renewed, so create a new key and update the connection. Set a calendar reminder before the next expiration.
My organization uses the EU data plane or self-hosts Braintrust
My organization uses the EU data plane or self-hosts Braintrust
This connection only talks to
api.braintrust.dev. It can’t reach EU data plane or self-hosted deployments.CloudThinker won't run a query or change something
CloudThinker won't run a query or change something
That’s by design. The connection allows only the six reads listed in Agent capabilities.
Security
- Least privilege — grant only the permissions the agents need for your use case; start read-only and widen later.
- Read-only by default — use read-only credentials unless you want agents to make changes through this connection.
- Rotate credentials — rotate keys and tokens on your normal schedule; CloudThinker picks up the new value when you update the connection.
- Revoke on offboarding — remove the credential at the provider when you delete a connection or a teammate leaves.
- Account scope: the key acts as its creator, so create it from an account with read-only access.
- Expiration: pick an expiration you’ll track, and rotate the key before it lapses.
Related
Langfuse
Add LLM traces and prompts from Langfuse
LangSmith
Add LLM runs, datasets, and experiments from LangSmith
Commands and Prompt Syntax
Point a question at one connection with #