Managed keys setup
No Anthropic account needed. Follow the quickstart to create your gateway and API key, then point your SDK at the gateway:Try using this prompt on your agent to verify your managed key setup is routing correctly: 'State your exact model name and provider.'
Attach your own key
Attach your Anthropic key to your AI Gateway API Key. ngrok encrypts and stores it server-side, so clients only ever send your AI Gateway API Key.Get an Anthropic API key
Create an account at console.anthropic.com and generate an API key. Keys start with
sk-ant-.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
- Attaching Provider Keys: attach, rotate, and manage your own Anthropic keys
- Anthropic SDK guide: detailed SDK integration
- Multi-provider failover: automatic failover across providers