Developer access
Choose between personal API keys and service principals, and govern selected Project or whole-organization access.
This page explains how to choose, create, rotate, and review the credentials that give software access to the Bobsled AI API. Account Admins use it to manage service principals. Every member uses it to manage their own personal API keys. For request examples and token exchange, see API authentication.
To open the credential pages, open the user menu. Under Developer access, select Personal API Keys for your own keys, or Machine credentials for the service principals of the selected Account.
Choose a credential
Bobsled AI has two main credential models for the API. A personal API key represents a user. A service principal represents unattended software that the Account owns. Model Context Protocol (MCP) clients can also use the OAuth flow that the MCP server exposes.
The following table matches common uses to a credential:
Never use a personal key as a shared production credential. A service integration must not depend on a key that stops working when its owner leaves or changes role.
Service principal access modes
A service principal uses one access mode, which you choose when you create it and can't change later:
Every service principal remains owned by its Account. A principal isn't an Account member and has no user role. For how API credentials get permissions, see Roles and permissions.
Before you begin
- To manage service principals, you must be an Admin of the Account.
- To manage your own personal API keys, you can have any role.
- Have an approved secret manager ready. Bobsled AI shows each key and client secret only once.
Create a personal API key
Each user creates their own keys. To create a personal API key, do the following:
- Open the user menu, and then select Personal API Keys.
- Click Create API key.
- In the Name field, enter a name for the key.
- In the Expiry list, select 7, 30, 60, or 90 days. The default is 30 days.
- In the Permissions list, select Read API (
api:read), Write API (api:write), or both. - Click Create key.
- Copy the key, and then store it in your secret manager. Bobsled AI shows the plaintext key only once.
API authorization still evaluates the user's current Account and Project access and the specific route. The list shows each key's status as Active, Expired, or Revoked.
To revoke a key, click Revoke API key in its row, and then click Revoke key. The key stops working immediately, and you can't undo the revocation. Revoke a key when the work is complete, when the key might be exposed, or when its owner no longer needs access.
Create a service principal
To create a service principal, do the following:
- Open the user menu, and then select Machine credentials.
- Click Service principal.
- In the New service principal dialog, enter the Service principal name.
- Optional: Select Whole organization. Leave it clear for selected Project access.
- Optional: Select Can impersonate users. For more information, see User impersonation.
- Click Create service principal.
The list shows each principal's access mode, Impersonates users when impersonation is on, and an Active or Disabled status.
Grant Project access
A selected-Project service principal can't access a Project without an explicit grant. You can't create a credential for it until it has at least one Project grant.
To grant a Project, do the following:
- On Machine credentials, click Manage service principal for the principal.
- Under Project access, select a Project in Project to grant.
- Click Grant access.
Grant only the Projects that the service needs. To remove a grant, click Revoke project access beside the Project, and then confirm. A whole-organization principal has no Project grants, so its panel shows no Project selector.
Create a credential
A credential is the OAuth client ID and client secret that the software uses to request a token. To create a credential, do the following:
- On Machine credentials, click Manage service principal for the principal.
- Under Credentials, click New credential.
- Enter a Credential name.
- In Scopes, select Read data (
dogsled:api:read), Write data (dogsled:api:write), or both. - Click Create credential.
- In the Save this credential dialog, copy the Client ID and Client secret into your secret manager.
- Click Done. Bobsled AI doesn't show the client secret again.
Read and write scopes are separate. A credential that provisions Accounts or Projects needs both scopes. Grant only the scopes that each credential uses. To exchange the credential for a token, see Get an access token.
User impersonation
User impersonation lets a service principal send API requests as one member of its own Account. Each request then uses that member's role. Use it when one integration acts for many users, for example a partner app that keeps chats separate for each user.
To turn impersonation on or off, do one of the following:
- When you create the service principal, select Can impersonate users.
- To change it later, open the service principal and turn the User impersonation switch on or off.
Any Account Admin, or any service principal that can manage service principals, can change this setting. You can't change a disabled service principal. The principal can act only as members of its own Account. Removing a member from the Account stops impersonation of that member. For the request format, see Act as an Account member.
Rotate a service principal credential
To rotate a credential without downtime, do the following:
- On Machine credentials, open the service principal.
- Under Credentials, click Rotate credential for the credential, and then confirm. Bobsled AI creates a replacement with the same name and scopes.
- Copy the replacement client ID and client secret into the secret manager that the consumer reads.
- Get a token with the replacement and test it.
- After every consumer switches, click Revoke for the old credential, and then confirm.
Account for caches and long-running jobs that still hold the old secret.
Disable a service principal
To stop a service principal from authenticating, open it, click Disable service principal, and then click Disable. A disabled principal can't be used, even if an old secret remains stored elsewhere.
Whole-organization access
Whole organization access is off by default. A whole-organization principal can do the following:
- List Accounts and create an Account.
- List and create Projects in an Account.
- List Account members and add an existing Bobsled AI user to an Account in its organization.
- List, create, and disable selected-Project service principals.
- List, create, rotate, and revoke service principal credentials.
- Access every live Project in its organization.
A whole-organization principal can't do the following:
- Provision a new identity.
- Change a member's role, remove a member, or resend an invitation.
- List or manage another whole-organization principal, including itself.
Review credentials
On a regular schedule, review each credential's expiration, last-known owner, scope, Project grants, active consumers, and rotation date. Revoke unused credentials.
Also review the provider credentials that the Project references. Bobsled AI API access and data provider access are independent layers.
Handle credentials safely
Never put keys, client secrets, or bearer tokens in URLs, logs, screenshots, Balto chat, Blueprint files, or source control. To diagnose a problem, share the credential type, safe identifier, route, timestamp, HTTP status, and correlation details, but not the secret. For the details to record, see Troubleshoot authentication.
What's next
- Call the Bobsled AI API: send your first request with the new credential.
- Connect an MCP client: use MCP OAuth instead of a stored credential.
- Review roles and permissions: check what a personal API key's owner can reach.
