Add provider keys at the organization level, then control which workspaces can use them.
For background, see Provider Keys.
Add a provider key
There are two ways to get provider access:
Otari-managed keys
These are Otari's pre-provisioned keys you can use without bringing your own key material. Otari handles the upstream credential, and requests on them are billed to you and spend against your budget. To create an Otari-managed key:
From the main dashboard, click on API Keys.
Click on Create Key in the top-right corner.
Give the key a name and, if needed, set an expiration date. By default, the key inherits your existing model access, but you can limit it to specific models. To customize model access, click Advanced and select the models you want the key to use.
Copy the token right away. It is only shown once.
This is the only time the key will be shown. Copy it now if you need it later.
2. Your own keys
Bring your existing provider API keys and let Otari use them on your behalf. The upstream provider bills you directly, and Otari adds no per-token routing charge. To add your own key:
From the main dashboard, click Organization.
Select Providers.
Click Add provider key in the top-right corner.
Select the Provider from the dropdown.
Enter a Key Name to easily distinguish multiple keys for the same provider, such as
production,staging, orbackup.Paste your API key.
Click Add Provider key to save it.
Set a default key per provider
If you have multiple keys for the same provider, mark one as the default so workspaces inherit it automatically.
In the Provider tab, find the keys for the provider.
Click on the star icon to set it as the default key you want workspaces to inherit.
Workspaces inherit the organization default per provider unless you define a different key.
Control workspace access
Once a provider key has been added at the organization level, open the relevant workspace and click Edit (the pencil icon) to manage its provider access. For each provider, you can:
Select Following the organization to allow access to all providers defined at the organization level.
Select Never use this key to prevent the workspace from using a specific provider key.
Select Always use this key to ensure the workspace uses a specific provider key. You can further restrict access to specific models from that provider by selecting the model you want to make available and clicking Allow.
