Managed keys setup
No Anthropic account needed. Follow the quickstart to create your gateway and API key, then point your SDK at the gateway:Bring your own key
Use your own Anthropic API key. Pass it directly—the gateway forwards it to Anthropic.Create an AI Gateway
If you don’t have one yet, follow the quickstart to create your AI Gateway endpoint.
Get an Anthropic API key
Create an account at console.anthropic.com and generate an API key. Keys start with
sk-ant-.Store key in the gateway
Instead of each client passing their own key, you can store it once in ngrok Secrets and have the gateway inject it automatically.Store your key in ngrok secrets
Explicit provider routing
Use theanthropic: prefix to force routing to Anthropic specifically:
Available models
See the model catalog for the full list of supported Claude models.Next steps
- AI Gateway API Keys: use ngrok-managed keys for the simplest setup
- Anthropic SDK guide: detailed SDK integration
- Multi-provider failover: automatic failover across providers