# Use your own OpenAI or Anthropic key To use your own key, open Global settings, go to the AI tab, choose Bring your own key, pick OpenAI or Anthropic (Claude), paste the key and save. Capable checks the key before saving it. --- ## Before you start * You need to be a Confluence administrator. * The key must be able to use the models Capable needs: gpt-4o for OpenAI, or Claude Sonnet and Claude Haiku for Anthropic. --- ## Steps 1. Open Global settings and go to the AI tab. 2. Choose Bring your own key. 3. Under Provider, choose OpenAI or Anthropic (Claude). 4. Paste the key into Paste your API key. 5. Optionally, set a Daily token limit between 1,000 and 1,000,000,000\. Leave it empty for No limit. 6. Save. --- ## If it does not save | **Message starts with** | **What to do** | | ------------------------------------------- | ----------------------------------------------------------------------- | | The provider turned this key down | The key is wrong, revoked or out of credit. Check it with the provider. | | This key can't use the models Capable needs | Give the key's project access to the models above. | --- ## Removing a key Choose Remove and confirm Remove the API key?. The app goes back to Built-in, or has no AI if your site is hosted outside the US. --- ## A few things worth knowing * Your key is never shown again after saving. To change it, paste a new one. * The daily limit counts tokens, not money. Usage shows an estimated cost from list prices. * Each app has its own key. Set it in every app that should use it. --- ## Related ### [AI settings](https://help.gocapable.com/capable/ai-settings.html) The three choices. ### [AI usage](https://help.gocapable.com/capable/ai-usage.html) Tokens and estimated cost. ### [Administering Capable for Confluence](https://help.gocapable.com/capable/administering-capable-for-confluence.html) Other admin tasks. --- _Your key, your bill, your limit._