Integrations
Connect organization-owned providers once, then choose the capabilities each project needs.
Connect organization-owned providers
Organization admins connect Braintrust, PostHog, Sentry, and Linear from Organization Settings > Integrations. Crucible verifies credentials before saving them, never returns stored secret values, and keeps connection management separate from project access.
For each provider, the organization chooses whose account Crucible uses: Ciridae's or its own. Ciridae's account needs no setup, so a customer can run projects in its own Crucible organization without opening provider accounts first. Choose Use Ciridae's account from the provider's row menu and its status shows Ciridae managed; choose Use own credentials to connect the organization's account with the credentials below. Either way the organization still owns its projects and access, and each project still chooses which integrations it uses.
Provider resources stay in the account that created them. Changing a provider's account, between Ciridae's and the organization's or to credentials for a different account, does not move existing provider projects, keys, or DSNs, and Crucible's later changes and cleanup for them can fail. Change only the credentials of the same provider account while projects use it.
- Braintrust: Create an organization-owner service token and identify the service account that should own generated project tokens.
- PostHog: Create a personal API key with Organization read and Project write scopes, scoped to the one organization where Crucible should create projects.
- Sentry: Create an internal-integration token and choose the default team slug for new projects.
- Linear: Create one private OAuth application for the organization, enable the
client credentialsgrant, and give it access to the destination team. Enter its client ID, client secret, and uppercase team key.
Updating an organization's Linear connection takes effect in Crucible without re-adding Linear Feedback to projects. If the destination team changed, first move each existing Linear project to the new team in Linear.
Targets with Linear Feedback receive only Crucible routing values (CRUCIBLE_API_URL, CRUCIBLE_FEEDBACK_ENVIRONMENT, and CRUCIBLE_API_KEY), never Linear credentials. Crucible files feedback in Linear with the organization's current connection.
Choose integrations per project
Project admins manage a project's integrations in its Settings tab, under Integrations. Select Add integration and pick from the menu; each integration can be added once. Ciridae-managed integrations need no organization credential and are always listed. Organization-owned providers are listed only while their organization connection is connected and enabled.
The Applies to column shows which deployments and development surfaces each integration reaches. Crucible defines those targets per integration; project admins choose membership, not targets. Optional integrations can be removed from the same table, while required ones, such as Linear Feedback once added, stay attached so they keep working across environments.
Modal chat sandboxes
Projects created from the Agents template receive Modal as a required integration. Crucible provisions one restricted Modal Environment per project and a scoped service token for each deployment, workspace, and local setup. Backends and workers call Modal directly, with no runtime proxy or organization credential.
Each target receives MODAL_ENVIRONMENT plus a MODAL_TOKEN_ID and MODAL_TOKEN_SECRET pair with access only to the project's Environment. Modal reveals a token secret once, so Crucible caches the pair and reuses it on retries. If Crucible's own provisioning token is rejected, new targets fail provisioning, and existing runtime tokens keep working.
Braintrust traces
Braintrust reaches every target: full and Lite deployments, workspaces, and each developer's local setup through Run Locally. Each target logs to its own Braintrust project, so traces from a workspace or a laptop never land in production's.
Each target receives BRAINTRUST_API_KEY, a service token owned by the organization's connected service account, and BRAINTRUST_PROJECT, the Braintrust project it logs to. Every target's project is <project id>-<fixed key>, lowercased. The key never changes for the target's lifetime: a full deployment's environment name, lite-<Lite deployment id>, workspace-<workspace id>, or local-<user id>-<auth environment> for Run Locally. Renaming a workspace or Lite deployment keeps its project. Run Locally mints a developer's token the first time it resolves their values. Later loads reuse that token without checking the organization's Braintrust connection, so only a load that has to mint a token can fail on it: if the connection is unavailable then, Run Locally answers 409 until an organization admin reconnects it. Adding the integration provisions the workspaces and Lite deployments that are ready, and one created afterwards gets its token as it is created. Removing the integration or deleting the project revokes every target's token; deleting a workspace or Lite deployment does not, and Braintrust projects are never deleted.
Ciridae MCP
Ciridae MCP is the project-tools gateway: agents connect to it over the Model Context Protocol and operate the project through tools instead of hand-built API plumbing. It is Ciridae-managed, and adding it is the whole setup. Crucible mints a key for each eligible environment, and the project's tooling calls the gateway without anyone creating or distributing credentials.
The gateway dispatches tool calls to the project's own backend. A deployed environment's key is pinned to the address Crucible names for it: full deployments through their domain, and lite deployments and workspaces through their subdomain. A developer's local checkout gets a key through Run Locally that lets the developer name their own backend per call, but only as https on one of the project's tunnel hosts, <project-slug>--<anything>.ciridae.cloud. The part after the slug names the local stack, such as my-app--invoice-debug.ciridae.cloud, and Run Locally shows the project's pattern. Only the project part is enforced: developers on the same project may use each other's hosts, and a username in a host is a convention, not a verified identity. The gateway refuses any other host. Adding the integration provisions the full deployments that already have a cloud account and the lite deployments and workspaces that are ready. An environment created afterwards gets its key as it is created, from its planned address. An environment still being created when the integration is added can miss its key, so add the integration before creating environments that run a template version requiring it.
For each provisionable target, Crucible mints a key in the Ciridae MCP service carrying the target's auth realm and its call destination: deployed_with_pinned_backend_url with the target's backend URL, or, for a developer's local checkout, local_development_developer_supplied alone. The gateway binds that key to its canonical project and derives the project's slug from the project ID: a plain ID of lowercase letters and digits in hyphen-separated runs, at most 40 characters and not beginning with h-, is its own slug, and any other ID becomes h-, a readable piece of at most 25 characters, -, and 12 hexadecimal digits of the ID's SHA-256 (derive_project_tunnel_host_slug in ciridae.mcp). It mounts the key as CIRIDAE_MCP_PROJECT_ENDPOINT_SCOPED_MANAGEMENT_KEY alongside CIRIDAE_MCP_ENDPOINT, the gateway endpoint. The template requires both variables and refuses to start without them. A workspace or lite deployment created without a subdomain has no backend origin and is skipped, so it cannot run a template version that requires them; none of the 91 live environments did on 2026-10-10. A full deployment with no domain to derive one from fails provisioning explicitly.
Set new-project defaults in templates
A template's project.yaml is the only source of integration defaults for projects created from it. Connecting a provider to an organization does not add it to every project, and existing projects keep their own integrations.
A new organization starts with Braintrust, PostHog, Sentry, and Linear on Ciridae's account, so its projects can add them right away. Organizations created before this default keep the connections they had.
Ownership
| Decision | Owner | Outcome |
|---|---|---|
| Connect, reconnect, enable or disable, and disconnect provider credentials, or use Ciridae's account | Organization admin | The organization controls which provider account each integration uses and its stored credentials. |
| Add an integration or remove an optional integration for one project | Project admin | The project receives only the capabilities its team selected. |
| Choose integrations for future projects | Template project.yaml | New projects inherit template.default_standard_api_integrations from the selected template. |
| Define supported provisioning targets | Crucible | Targets stay consistent and cannot be changed by frontend requests. |