How can we help?

Braintrust Integration

Netanel Hugi
Netanel Hugi
  • Updated
Torii SMP
Torii Identity

Overview

Torii integrates with Braintrust and syncs:

User Fields License Types
Name, email, creation date, profile photo Braintrust
  • You can constantly stay updated with application information from our Integrations Page >> Integration Capabilities button >> Integration Capabilities table.

Requirements

Accounts & Permissions

To connect this integration, we require the following:

  • A Braintrust account on any plan, including the free Starter plan, that is a member of the organization you want to connect.
  • Permission to read the organization's members. Being a member of the Owners group works.
  • To use the Invite and Remove actions, the credential must also hold the organization permissions Invite members and Remove members (the Owners group has both).

Required keys

  • API Key - a Braintrust service token or personal API key.
  • Organization Name - the name of your organization, as shown in Braintrust under Settings.
  • API URL (Optional) - leave empty for the US region. Required for the EU region or a self-hosted deployment.

How to Generate the Required Values

Follow these steps to generate the required values:

Step 1: Create an API key

Choose one of the following options.

Option A: Service token (not tied to a person)

  1. In Braintrust, go to Settings >> Service tokens.
  2. Click + Service token.
  3. Assign it to a permission group that holds the permissions listed under Requirements.
  4. Copy the token. Service tokens start with bt-st-.

Option B: Personal API key

  1. In Braintrust, go to Settings >> API keys.
  2. Create a new API key. You can scope it to a single organization.
  3. Copy the key. A personal key inherits the permissions of the person who created it, and stops working if that person loses access.

Important
Copy the key right away and store it safely. API keys expire after one year by default. Create a new key and update the integration before it expires.

Step 2: Find your organization name

  1. In Braintrust, go to Settings >> Organization.
  2. Copy the organization name exactly as it appears.

Step 3: Choose your API URL

Your Braintrust deployment API URL to enter
US region (default) Leave empty (or https://api.braintrust.dev)
EU region https://api-eu.braintrust.dev
Self-hosted The URL of your data plane

How to Connect the Integration

  1. Go to the Integrations page in Torii.
  2. Search for Braintrust and click Connect.
  3. Enter the API Key and Organization Name. Enter the API URL only if you are not on the US region.
  4. Click Connect.

Actions

  • Invite Braintrust member - invites a user to your Braintrust organization.
  • Remove Braintrust member - removes a user from your Braintrust organization.

If your organization manages members through SCIM, Braintrust rejects invitations and removals made through the API. Manage members from your identity provider instead.

Q&A

Q: Are user roles synced?

A: No. Torii syncs name, email, creation date and profile photo. All synced users are marked active and receive the Braintrust license.



For any further questions, please contact Torii Support.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request