# Bring your own key

Connect your own model provider key and manage your keys.

Source: https://docs.trycloudforge.com/account/byok

## Supported providers


- Amazon Bedrock
- Anthropic
- OpenAI
- Groq
- Moonshot AI
- OpenRouter



## Connect a provider


1. Open the Command Palette with Ctrl+Shift+P and run **CloudForge: Connect a provider…**. You can also use the key button in the PRD, requirements or architecture prompt bar, or **Connect a provider** in the account dashboard.
2. Pick your provider.
3. Paste your API key.
4. Choose which of that provider's models you want to use.


For Amazon Bedrock you do not paste a key. Pick the AWS profile and region on your computer instead.


On the Bring your own key plan, the dashboard shows **Inference providers: Connected** when a provider is set up.



## Manage your keys


Run **Connect a provider…** again, or choose **Manage providers** in the dashboard. For each provider you can:


- **Update key**: replace the key.
- **Choose models**: change which models you use.
- **Remove this provider's key**: delete the key from CloudForge.


Choose **Clear all keys** to remove every key at once.



## Where your keys are kept


Your keys stay in your computer's secure storage. When CloudForge needs a key for a request, the app encrypts it so only the CloudForge agent making that request can read it. CloudForge does not store your keys on its servers. See [Security](https://docs.trycloudforge.com/security).



## Data retention with your provider


When you use your own key, your provider's rules decide how long it keeps your requests. Check those rules with your provider. The [zero data retention](https://docs.trycloudforge.com/account/zdr) setting applies to requests CloudForge sends through OpenRouter.
