# Connect via Webhook

{% hint style="info" %}
**Good to know:** All mempool data are sent as a JSON payload, please note that we also support Slack & Discord webhook URLs.

Slack webhooks must start with <https://hooks.slack.com/services>\
Discord webhooks must start with <https://discordapp.com/api/webhooks>

{% endhint %}

## Getting Started

### Setup API Configuration

1. Create a Mempool Node account, by clicking the "Register" button on the top right of our [Dashboard](https://dashboard.mempoolnode.com/?ref=apiDocs), and complete the registration form. &#x20;
2. Mempool Node will create an API Key named "Mempool Key 1" for your account, that you can configure to use. You can create additional API keys from your [Dashboard](https://dashboard.mempoolnode.com/?ref=apiDocs) by clicking the "+" button at the top right of Mempool Key 1.

<figure><img src="https://741570820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmCVQlrfKJPNWY2fRf5qN%2Fuploads%2FSQid8tY6fJyvJ8NIxtzw%2FAdd%20Mempool%20Key.png?alt=media&#x26;token=6f050e5c-4d8f-4713-9a9d-d49d6daf7c0f" alt="" width="75"><figcaption><p>Add API Configuration Key</p></figcaption></figure>

### Configure Webhook

Configure a new webhook for your API configuration by clicking "⋮" next to the On/Off toggle on the right, and selecting "Configure". This will open a form, in which you populate your webhook specifics: Webhook URL, Blockchain(Currently Ethereum & Binance Smart Chain are supported) & Watched Addresses. Once completed, click the green "Save" button.

<figure><img src="https://741570820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmCVQlrfKJPNWY2fRf5qN%2Fuploads%2FlrIEueUojSXZ6Ig12DvI%2FSet%20Up%20Webhook.png?alt=media&#x26;token=2d7ce57d-20e9-4563-b836-5dfd7aa3b6b7" alt=""><figcaption><p>Webhook Configuration Form for API Mempool Key</p></figcaption></figure>

### Add Address to Watch

By default there is a field available for you to enter an address to watch, however, to add an additional address to watch click the "+" on the right of "Watched Addresses" and enter the address you wish to watch. Once completed, click the green "Save" button.

{% hint style="info" %}
Ethereum & Binance Smart Chain addresses start with "0x" followed by 40 characters. Any valid ETH or BSC address will be accepted, this also includes external accounts and smart contract addresses.
{% endhint %}

To stop watching a specific address entered, you can click the trash/bin icon next to the address, and once saved, you'll no longer watch that address. Once completed, click the green "Save" button.

### Start Receiving Webhooks

Now that everything is configured, all you have to do is toggle the On/Off switch for the specific Mempool API Key you wish to start receiving data, and your mempool data will begin to fly in. Viola!

<figure><img src="https://741570820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmCVQlrfKJPNWY2fRf5qN%2Fuploads%2FVWTao7bMm229FG6E34fu%2FSet%20Up%20Webhook.png?alt=media&#x26;token=fac91302-7ca3-4a20-82dd-3017ebe1f444" alt=""><figcaption><p>Toggle On Webhook</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mempoolnode.com/mempool-tools-suite/connect-via-webhook.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
