Invite members
Add users to your organization:- Navigate to Settings > Organization > Members.
- Click Invite.
- Enter email addresses (one per line for multiple invites).
- Select a permission group (Owners, Engineers, or Viewers).
- Click Send invites.
Configure permission groups
Permission groups are the core of Braintrust’s access control system. They are collections of users that can be granted specific permissions to projects, experiments, and datasets.- Navigate to Settings > Organization > Permission groups.
- View existing groups or create new ones.
- Assign users to groups when inviting members.
Manage API keys
Create API keys for authentication:- Navigate to Settings > Organization > API keys.
- Click Create API key.
- Enter a name to identify the key.
- Click Create.
- Copy the key immediately (it won’t be shown again).
Store API keys securely. Anyone with an API key can access Braintrust with the permissions of the key’s creator.
Create service tokens
Service tokens enable system integrations without tying credentials to individual users:- Navigate to Settings > Organization > Service tokens.
- Click Create service account.
- Enter a name for the service account.
- Assign permission groups or grant specific permissions.
- Click Create.
- Generate a service token for the account.
- Copy the token immediately (it won’t be shown again).
bt-st- prefix. Use them anywhere API keys (sk- prefix) are accepted.
Only organization owners can manage service accounts and service tokens.
Configure AI providers
Set up API keys for AI providers used across your organization:- Navigate to Settings > Organization > AI providers.
- Click the provider you want to configure.
- Enter your API key for that provider.
- Click Save.
Add custom providers
Add custom models or endpoints:- Click + Custom provider.
- Enter provider details:
- Name: Display name for the provider.
- Model name: Identifier used in code (e.g.,
gpt-3.5-acme). - Endpoint URL: API endpoint for the model.
- Headers: Optional headers (supports Mustache templates with
{{email}}and{{model}}). - Flavor: Chat or completion.
- Format: OpenAI, Anthropic, Google, Window, or JS.
- Streaming: Whether the endpoint supports streaming.
- Multimodal: Whether the model accepts images.
- Costs: Input and output token pricing.
- Click Save.
Set environment variables
Define secrets available to all functions in your organization:- Navigate to Settings > Organization > Env variables.
- Click Add variable.
- Enter a key and value.
- Click Save.
Configure API URLs (self-hosted)
For self-hosted deployments, set custom API URLs:- Navigate to Settings > Organization > API URL.
- Enter your URLs:
- API URL: Main API endpoint.
- Proxy URL: AI Proxy endpoint.
- Realtime URL: Realtime API endpoint.
- Click Save.
Set git metadata logging
Control which git metadata fields are logged:- Navigate to Settings > Organization > Logging.
- Select fields to log:
- Commit hash.
- Branch name.
- Author.
- Commit message.
- Repository URL.
- Click Save.
Delete an organization
Only organization owners can delete organizations:- Navigate to Settings > Organization.
- Scroll to the bottom of the page.
- Click Delete organization.
- Confirm by typing the organization name.
- Click Delete.
Next steps
- Control access with permission groups
- Manage projects within your organization
- Configure the AI Proxy for centralized provider access
- Set up automations for alerts and data management