Integrations›Claude Code

Claude Code

Use routing.run as the backend for Claude Code by setting environment variables before launch.

Environment variables

Set these variables in your shell profile or before launching Claude Code:

shell
export ANTHROPIC_BASE_URL=https://api.routing.runexport ANTHROPIC_API_KEY=rk_live_your_api_key

Verify connection

Launch Claude Code and send a test message. If the connection is working, responses will be routed through routing.run.