This feature is only available on the Enterprise tier
Ona Agents support direct integration with Anthropic’s Sonnet models. This guide shows you how to configure this integration.

Prerequisites

  • You must have an Anthropic account.
  • You must have an Ona enterprise license.

Create an API key in Anthropic

  1. Go to the Anthropic API Keys page.
  2. Click the “Create API Key” button.
  3. Enter a name for your API key.
  4. Click the “Create” button.
  5. Copy the API key.

Creating an API Key in Anthropic

Add the API key to Ona

  1. Go to the Runners settings page.
  2. Select an environment runner where you want to enable LLM integration.
  3. Scroll down to the “LLM Providers” section.
  4. Click the Configure button. You’ll see a screen like this:

Configuring an LLM Provider in Ona Agent

  1. For the endpoint URL, enter: https://api.anthropic.com/v1/messages
  2. Paste the API key into the API Key field.
  3. Click Configure.

Verify the integration

  1. Create a new environment with an enabled runner
  2. Open Ona Agent and confirm it can access Anthropic’s models
  3. Test with a simple code generation request
Your Anthropic LLM provider is now configured and ready to use with Ona Agent.