Skip to main content

Download & Install

The fastest way to put anything on the internet.

Coding agentsPrompt

1

Copy this prompt into your coding agent

Install ngrok and help me get authenticatedso I can get my service online.

Your agent will inevitably ask for your authtoken—sign up for a free account to get one.

2

Get a public URL for your app

ngrok http 80

80 is an example port. Tell your agent the correct port or just ask it: “Find what port my service runs on.”

Open your ngrok URL in a browser to see it working!

You’re all set. What’s next?

Add OAuth, rate limiting, or WAF protection

Our expose-localhost agent skill will guide you through any (or all) of these with Traffic Policy. No need to write your own YAML.

npx skills add ngrok/agent-skills

Then invoke it:

/expose-localhost

or:

Make my app publicly accessible

Inspect every detail of your traffic

Watch the flow in real time, then dig into the headers, body, latency, response, and more for every request.

Configure your agent

Configure settings like multiple endpoints, load balancing, and traffic transformation with Traffic Policy.

Bring your own domain

Paid feature

Create a DNS CNAME record to use your own domain name for your endpoint URL.

ngrok http 8080 --url https://app.acme.com