Connect a provider
Bring your own OpenAI or Anthropic key.


Providers are set up on the AI assistant page.
- Everyone in the organization can read the page; only an admin changes it. Members see which providers are connected, and are told to ask an admin for the rest.
- An organization key is shared: add it once and every project in the organization can use it. Each project chooses from what is connected; see choosing an assistant.
- The key is checked with the provider before it is stored, so a mistyped key is refused on the spot.
- The assistant needs the key inside the project to work, so anyone who can open a terminal in a project can read it. Use a key issued for this purpose, with its own spend limit.
Keys
Create a key that is scoped to a project or workspace at the provider, rather than a personal account key. Every project using the connection will use that key.
- OpenAI — create it under a project in OpenAI. A legacy personal key is rejected by its shape.
- Anthropic — create it under a workspace in Anthropic.
Replace or remove a key
A connected provider shows Active in every project with a list of the models the key can use. An admin can choose Replace key to paste a new one, for example when the old one has expired, or Remove to disconnect it. There is no need to remove a key first to replace it.
If the model list is empty
The model list is asked of the provider, so a new model appears without a ByteRun release. When it comes back empty, the page and the assistant dialog say why:
| Message | What it means | What to do |
|---|---|---|
| No key is saved for this organization | Nobody has connected this provider | An admin adds a key; members ask an admin |
The provider rejected the saved key (ending 1234) | The key expired or was revoked | An admin chooses Replace key |
| The provider isn't responding right now | An outage on the provider's side; your key is fine | Try again in a moment |
| We couldn't reach the model service | A problem on ByteRun's side; your key is fine | Try again in a moment |
On Team and Enterprise, an organization admin is pointed to the AI assistant page to replace the key. On Pro, the admin can replace it right in the dialog.
Personal sign-ins
Some assistants sign in with a person's own account instead of a key, so they cannot be set up for the whole organization. They are listed separately, under Each person signs in themselves.
- A member opens a project, finds the assistant panel and signs in there. Nothing is set up on this page.
- An admin can turn Allow personal sign-ins off. Members can then no longer use them, and projects that are already running keep their assistant until they restart.
- Disconnect removes your own sign-in and stops your own running projects, because they hold the token until they restart. Nobody else's projects are touched.
Responsibility
You are responsible for the usage on your key and bound by both ByteRun's acceptable use policy and the provider's own.