<endpoint>) and its API key (<key>). Both are on the resource’s Keys page.
Public vs. private resourcesWherever these instructions show
<key>, what you put there depends on the resource type:- Public resource - reachable from anywhere, so the gateway checks a virtual API key. Copy it from the resource URL after login, the Resource Launcher more-info panel, or
https://app.pangolin.net/<org-id>/keys(use your self-hosted dashboard URL in place ofapp.pangolin.netif you self-host). - Private resource - only reachable from devices connected to your Pangolin network, so no key is checked. You must have the Pangolin client installed and connected. Use the literal string
noneas the key.
Fastest: Pangolin CLI
Install the Pangolin CLI if you don’t have it, then log in:~/.claude/settings.json. To skip the prompts:
Manual setup
Pick the preset that matches your provider.Default (Anthropic)
Write~/.claude/settings.json:
apiKeyHelper/ANTHROPIC_API_KEY in place and set the key to none. Claude Code only calls apiKeyHelper if it’s present, and falls back to whatever account you’re already signed into if it isn’t - so removing it sends your traffic to Anthropic instead of through the gateway.
Amazon Bedrock
Use this when the resource has a Bedrock provider attached. Write~/.claude/settings.json:
Google Vertex AI
Use this when the resource has a Vertex AI provider attached. Write~/.claude/settings.json:
<your-gcp-project-id> with your actual GCP project ID.
Kimi K2 (Moonshot AI)
Use this when the resource has a custom provider pointed at Moonshot AI’s Anthropic-compatible endpoint. Write~/.claude/settings.json:

