Skip to content

Connect Claude Code ​

Select Anthropic Messages in the dashboard and copy the site root address. Claude Code appends the Messages endpoint path, so use the root as the base URL.

Environment variableValue
ANTHROPIC_BASE_URLThe Messages root address copied from the dashboard
ANTHROPIC_API_KEYYour API key issued by this site
ANTHROPIC_MODELThe exact ID of a Messages-compatible model available to your account

Run claude in the terminal with these variables set and send a message. To switch models, enter /model MODEL_ID in the session. If the model is unavailable, check the model protocol and your account's access. For a 404 response, check that the base URL ends at the site root.

See Claude Code settings for client options.