Skip to main content
ngrok is developer infrastructure that routes and secures traffic to your apps, APIs, and AI models. We give you ways to manage connectivity between all of the tools and platforms you use to put your services online, no matter where they’re deployed or what network they’re on.

Problems we solve

Share localhost

Put your local app on a public URL in seconds with the ngrok CLI.

API Gateway

Deliver and secure your production APIs with Traffic Policy.

AI Gateway

Route, secure, and transform traffic to any AI model.

Device Gateway

Control IoT devices in the field with secure remote access.

Site-to-Site Connectivity

Connect to APIs and databases in customer networks.

Kubernetes Ingress

Use the ngrok Operator for ingress to apps in any K8s cluster.

You may also need to

Handle webhooks

Secure preview URLs

SSH and RDP

Access remote K8s

Connect MCP servers

Replay HTTP requests

Start building

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 Traffic 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 Minecraft, managing ingress to IoT devices, and more.

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.

Learn about pricing

See how ngrok’s pricing breaks down based on usage for each account plan.