# How to Add, Edit, or Delete Partner Provider Keys on DigitalOcean Gradient™ AI Platform DigitalOcean Gradient™ AI Platform lets you build fully-managed AI agents with knowledge bases for retrieval-augmented generation, multi-agent routing, guardrails, and more, or use serverless inference to make direct requests to popular foundation models. Partner model provider keys are third-party API keys from commercial model providers like [Anthropic](https://www.anthropic.com/claude) and [OpenAPI](https://platform.openai.com/docs/models). These keys let you use commercial models [with your agents](https://docs.digitalocean.com/products/gradient-ai-platform/how-to/create-agents/index.html.md), [serverless inference](https://docs.digitalocean.com/products/gradient-ai-platform/how-to/use-serverless-inference/index.html.md), or [building and deploying agents with the Agent Deployment Kit (ADK)](https://docs.digitalocean.com/products/gradient-ai-platform/how-to/build-agents-using-adk/index.html.md) on the Gradient AI Platform. You can also [test these models in the model playground](https://docs.digitalocean.com/products/gradient-ai-platform/getting-started/use-model-playground/index.html.md) without a model API key. Currently, Anthropic and OpenAPI models are the only commercial models available for agents. These models default to using DigitalOcean API keys but you can also add your model API keys. 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](https://cloud.digitalocean.com), in the left menu, click **Agent Platform**, and then select the **Model provider 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](https://docs.anthropic.com/en/api/admin-api/apikeys/get-api-key), 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](https://docs.digitalocean.com/products/gradient-ai-platform/how-to/create-agents/index.html.md) 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. **Warning**: Deleting a key removes access to it for all agents. Agents without a model cannot process requests. To avoid disruptions, change the model for any agents using the key before deleting it. In the **Delete Anthropic API Key** window, type the key name to confirm deletion. Click **Delete API key** to finalize the deletion.