How to Add, Edit, or Delete Partner Provider Keyspublic
Validated on 31 Jan 2025 • Last edited on 28 May 2025
The DigitalOcean GenAI Platform lets you work with popular foundation models and build GPU-powered AI agents with fully-managed deployment, or send direct requests using serverless inference. Create agents that incorporate guardrails, functions, agent routing, and retrieval-augmented generation (RAG) pipelines with knowledge bases.
Partner model provider keys are third-party API keys from commercial model providers like OpenAI and Anthropic. These keys let you use commercial models with your agents on the GenAI Platform.
Add your commercial model API keys to use these models with your agents. You can also test these models in the model playground without a model API key.
Currently, Anthropic models and OpenAPI models are the only commercial models available for agents.
Using commercial models requires an active commercial account, such as an Anthropic account, and an API key associated with that account. Your key is subject to your model provider’s terms of service, limits, and your account’s usage limits.
To manage model keys, open the DigitalOcean Control Panel. In the left menu, click GenAI Platform, then select the Model Keys tab.
Add a New Key
On the Model Keys page, on the right, click Add Key to open the Add Anthropic API Key window.
Copy your API key from your Anthropic account, then under the Anthropic API Key section, paste the key value.
Under the Key Name section, type a unique name, but do not use the API key itself. The name can include only lowercase letters, numbers, hyphens, and periods.
Check I agree to the Anthropic Terms, then click Verify and Save to validate the key.
Once verified, the key appears on the Model Keys page. To create an agent using this key, go to the agent creation page or on the right side of the key, click …, then click Create agent with key.
Edit a Key
On the Model Keys page, find the key you want to edit. On the right side of the key, click …, then select Edit key to open the Edit Anthropic API Key window.
On the Edit Anthropic API Key window, update the API key and key name as needed. Click Verify and Save to validate the changes.
Once verified, on the Model Keys page, the updated key is listed with the Date Modified value updated to the latest change.
Delete a Key
On the Model Keys page, find the key you want to edit. On the right side of the key, click …, then select Delete key to open the Delete Anthropic API Key window.
In the Delete Anthropic API Key window, type the key name to confirm deletion.
Click Delete API key to finalize the deletion.