# How to get Free ngrok Static Domain

Finally, ngrok now offers free static domains, allowing developers to use a static URL to test webhooks with a live public link. Here’s how you can get a free ngrok static domain/URL.

First make sure you have an [account on ngrok.com](https://dashboard.ngrok.com/signup), once you are logged head over to [domains page](https://dashboard.ngrok.com/domains) and create your free ngrok static domain.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1734714144256/03699b7d-dc23-43c2-912d-96c44e85990e.png align="center")

### Download ngrok CLI

Click [here](https://dashboard.ngrok.com/get-started/setup) to download the ngrok CLI. Then, use the ngrok CLI to authenticate your ngrok account. You can find your authtoken [here](https://dashboard.ngrok.com/get-started/your-authtoken).

```bash
ngrok config add-authtoken paste_your_authtoken_here
```

### How to Use a Free ngrok Static Domain to Direct Traffic to Your Local App

Run the following command to direct traffic from your free ngrok static domain to your local app domain.

```bash
ngrok http --url https://your-static-domain.ngrok-free.app https://socialdash.test --host-header=socialdash.test
```

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1734715146514/34599970-f0db-4500-9695-083ad53ded9a.png align="center")
