Skip to content

Connect Claude Code

Claude Code routes through Sentinel by reading ANTHROPIC_BASE_URL from its settings. Activation sets this for you.

  1. Open Sentinel and click Activate Sentinel. This writes the following into ~/.claude/settings.json:

    {
    "env": {
    "ANTHROPIC_BASE_URL": "http://localhost:47284"
    }
    }

    (plus OTEL telemetry variables that power the Metrics tab).

  2. Restart Claude Code so it re-reads its settings.

  3. Run any command and confirm it passes through the daemon:

    Terminal window
    tail -f ~/.sentinel/daemon.log

Use the ⋯ menu → Uninstall Sentinel… (or the activation toggle) to remove the variables and send Claude Code back to calling api.anthropic.com directly. The change is written atomically and takes effect the next time Claude Code starts.