Skip to main content
Follow the steps below or watch the video.

Video walkthrough

Prerequisites:

Step 1: Create your Claude API key

  1. Go to the Anthropic Console and sign in.
  2. In the left sidebar, open Manage > API Keys.
  3. Click Create Key.
  4. When prompted:
    • Select the workspace
    • Enter a name for the key
    • Click Add
  5. Copy the generated key.
Image
Image
Claude API keys typically look like:
sk-ant-xxxx...
Keep this key private. Anyone with the key can use your Anthropic account and consume usage.

Step 2: Open your Agent 37 instance

  1. Go to the Agent 37 dashboard and sign in.
  2. Open an existing instance, or create a new one.
  3. Open Terminal.

Step 3: Configure OpenClaw to use Anthropic

In Terminal, run:
openclaw configure
When prompted, choose the following:
  1. Where will the gateway run?Local
    Image
  2. Select Section to Configure?Mode
    Image
  3. Model / Auth ProviderAnthropic
    Image
  4. Anthropic Auth ModelAnthropic API Key
    Image
  5. How do you want to provide this API key now?Paste API key now
    Image
  6. Enter Anthropic API key → paste the key you copied in Step 1
    Image
  7. Models in /models picker → choose the model you want to use, for example anthropic/claude-sonnet-4-6
    Image
  8. After selecting the model, choose Continue
Image
If you are not sure which model to choose, start with a Claude Sonnet model. It is usually a strong default for general OpenClaw workflows.

Step 4: Verify the configured model

Run:
openclaw models list
You should see the model you selected marked as the default in the output.
Image

What to do next

Once Claude is configured, you can:
  • connect a channel like WhatsApp or Telegram
  • test your bot in Web Chat
  • continue tuning prompts and provider settings

Documentation home

Browse the available channels, models, and networking guides.

OpenAI API

Compare the OpenAI setup flow with the Claude configuration flow.