How do I connect my AI provider account?
Make an API key in your AI provider's account, then paste it in Settings > AI provider accounts with Connect an AI provider, or in the AI provider step of Deploy an agent. The dashboard keeps showing only the key's last four characters.
Make an API key
Sign in to your account at the AI provider, find the place for API keys and make a new one. Each provider's own help explains where it is. Copy the key while it's shown, since most providers show it only once.
Many providers need a payment method or a prepaid balance on your account there before a key works. Set that up with the provider first.
Connect it in your dashboard
- Open Settings > AI provider accounts.
- Select Connect an AI provider.
- Choose the provider and paste the API key.
- Select Connect. The provider shows in the list with the last four characters of its key.
To use an API of your own, choose Custom in place of a provider and give its address, model id and key.
You can also connect a provider while you deploy. In the AI provider step of Deploy an agent, pick the provider and paste its key. If that provider is already connected, the agent uses it and you don't need to paste anything.
Keep your key safe
- Paste your key only into your Rarity dashboard. Never send it in a ticket, an email or a chat.
- Many providers let you set a spending limit for a key or an account. Setting one keeps a busy agent from running up a large bill.
- If you think someone else has your key, delete it at your provider and connect a new one.