Common use cases
AI Gateway
Route requests to AI providers like OpenAI, Anthropic, and Google through a single endpoint. If a provider fails, or your API key hits rate limits, the endpoint automatically tries another.
Endpoints
Create an Agent Endpoint to accept traffic from the public internet to an app or service running on your machine.
Traffic Policy
Authenticate, route, and load-balance traffic to apps and services across multiple machines using Cloud Endpoints and Traffic Policy.
Kubernetes Ingress
Use ngrok’s Kubernetes Operator to self-service endpoints to your apps and services running in Kubernetes environments.
Start building
Universal Gateway Examples
Explore our example gallery to learn how to use ngrok as a gateway for your API, database, webhooks, and more, all protecting your services from malicious actors.
Traffic Policy Examples
Use our Taffic Policy examples to get started routing, authenticating, filtering, and modifying headers on requests to your ngrok endpoints.
Guides
Follow our guides on using ngrok for site-to-site connectivity, setting up gaming servers like mincraft, managing ingress to IoT devices, and more.
Use ngrok with popular tools
SDKs
Create and manage ngrok endpoints programmatically in your Python, Go, Node, or Rust applications using an Agent SDK.
Integrations
Use ngrok with your favorite enterprise-grade auth, webhook, and observability services like Okta SSO, Microsoft Entra ID, Datadog, and more.
Pricing
Learn how ngrok’s pricing breaks down based on usage for each account plan