Keys and settings for all members
Give your members an AI provider's key, sign-in token, address or model once, so their agents use your values without anyone setting them up.
Who can do this:Org admin
Instead of asking each member to sign in or paste a key, give the key once for your whole organization. You can also set the address, the program path, the model and environment variables that each AI provider uses on members' computers.
Before you start
You need the organization admin role and the Swarmix Studio desktop app. The web dashboard doesn't offer these settings.
Give a key or a sign-in to your members
- Open Settings → AI providers, then click Admin.
- In the AI Provider Catalog, expand the AI provider. This works for the AI providers Swarmix offers and for your own.
- Under Settings for all members, paste an API Key, or an OAuth Token for plan billing.
- Click Save.
Studio says "Settings for all members saved". On their AI providers page, members then see "Using your organization's key" or "Signed in by your organization", and their agents use your key.
Set other values
The same form holds:
- Binary Path: where the AI provider's program sits, for providers that run a program.
- API Base URL: another address for the AI provider's API, such as a company proxy.
- Default Model: the model agents use when no other setting chooses one.
- Environment Variables: one per line, as
KEY=value. - CLI Version and SDK Version: see Installs and versions.
What members see
Members use your values and can't change them. They see which fields you set, but not the values. When you give the key or the token, Studio uses none of the member's own key, token, address, program path or environment variables for that AI provider.
Where you set an environment variable that a member also set, your value wins.
Swarmix Core keeps your values and sends them to each member's Hive. Hive passes them to the agent when it starts. Studio doesn't store them, and its window doesn't receive the key, the token or the environment variables.
Subscriptions in Web Studio
The checkbox "Members may use their subscription in their cloud Studio, where the platform allows it" decides whether members can sign in with their plan in Web Studio. Clear it, and Web Studio uses API keys only for that AI provider. The desktop app doesn't change.
Set other values for a group
A policy can give a group its own values, such as a department's own key.
- Open the policy and go to Agents → AI Providers.
- Expand the AI provider under Allowed AI providers & Models.
- Fill in its Settings and save the policy.
A field the policy sets wins over your settings for all members. Environment variables merge by name. See AI provider and model rules in policies.
Remove your values
Clear the fields and click Save. Studio says "Settings for all members removed", and members go back to their own sign-in or key. Discard undoes the changes you haven't saved.
Best practices
- Give one key per AI provider for the organization, and a policy key only where a department pays separately.
- Rotate keys in the AI provider's console, then paste the new key here. Members pick it up without doing anything.
- Leave the address empty unless your company routes AI traffic through its own proxy.
FAQ
No. Studio's window learns only that your organization sets the key. The value goes to the agent's process when the agent starts.
Your organization gives a key or token for that AI provider, so Studio uses yours. Remove your key if members should pay with their own.
No. They reach members with or without a policy, whatever your organization's mode.
Related
- AI providers, what members see
- Encryption and keys
Your own AI providers and models
Add models to the AI providers Swarmix offers, or add your organization's own AI provider, such as a model your company hosts.
AI provider and model rules in policies
Limit the AI providers and models a group may use, set its defaults and permission mode, and lock the assistant's AI provider with a policy.