[proxy] ngrok.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

Universal Gateway Examples - ngrok documentation

Whether you need an API gateway, multicloud failover, or want to integrate ngrok with your stack, these examples help you compose endpoints and Traffic Policy to orchestrate traffic for common jobs to be done and problems to be solve. Wire it up, secure it, and ship it already.

Fundamentals

Gateway shapes

PaaS Alternative Gateway

Get the polish of managed platforms like Heroku or Vercel while maintaining full control over your infrastructure with load balancing, security, and observability.

Agent-Assisted Gateway

Transform your local development environment into a production-ready testbed with real authentication, traffic transformation, and public accessibility for AI-assisted development.

Microservices API Gateway

Coordinate ingress traffic for microservices without a full service mesh, using ngrok to handle north-south traffic patterns with authentication and routing.

Webhook Gateway

Centralize webhook validation and routing from third-party providers like Stripe, Twilio, and Slack to secure your integrations and eliminate repetitive implementation.

Database Gateway

Securely expose databases to external clients with strict authentication, rate limiting, and query transformation to prevent runaway costs and data leaks.

Ephemeral Workloads

Expose deploy previews and CI test environments on secure, short-lived URLs with dynamic routing and authentication.

Other