Connect your tools
Claude Code
Practical guidance for using NeonAPI.
Before you connect
Install Claude Code using its official instructions. Select a Claude model with the Anthropic Messages endpoint in Models & pricing. Use a dedicated NeonAPI key.
Set gateway variables
export ANTHROPIC_BASE_URL="https://neon-api.com"
export ANTHROPIC_AUTH_TOKEN="YOUR_API_KEY"
export ANTHROPIC_MODEL="YOUR_ANTHROPIC_MODEL_ID"
claudeUse the gateway root, not /v1/messages or a repeated /v1 suffix. Replace the model placeholder with the exact published ID. Restart the client after changing environment variables.
If the client fails
First verify your key and the Messages endpoint with a minimal request. Then check the client environment and any tool/model restrictions. Gateway access and a Claude subscription are separate arrangements.