> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mergent.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Localhost Dev & Webhooks

> Set up your local server with ngrok to receive Mergent tasks effectively

When using a local server to receive messages from Mergent, you need to expose your local development environment to the internet.

To do this, we recommend installing [ngrok](https://ngrok.com). ngrok is free to use.

After installing ngrok, you can expose your localhost by running `./ngrok http 3000` on the command line. 3000 is the port number your API server uses to listen for messages. You should see a response that looks something like this:

```shell
$ Forwarding    http://3j4oq7db.ngrok.io -> 127.0.0.1:3000
```

Make a note of the `*.ngrok.io` URL and send it to Mergent as your Task/Schedule's request URL.
