Connecting Claude Code

Claude Code speaks the native Anthropic protocol. Point its base URL, auth token and model at this gateway; the environment variables below are the same as the Claude Code preset on the tool integration page.

Limitations

Client versions and configuration screens change; if an option name differs in your version, the equivalent setting is the one that overrides the API base URL. The API key in the examples is a placeholder.

Upstream protocol references: OpenAI API reference · Anthropic (Claude) API overview · Google Gemini API docs

  1. Set the environment variables

    Write these into your shell profile, or into env in ~/.claude/settings.json.

  2. Verify

    Start one conversation and confirm you get a reply.