# How to configure alerts through a webhook

A webhook can be used to integrate with an existing customer flow. However, it is important to note that the endpoint needed to activate the webhook must be provided by the customer beforehand, as it is not created by the Digibee Integration Platform.

1. At the Platform home page, click on **Monitor**.&#x20;
2. At the menu on top at the page, click on **Alerts** configuration.&#x20;
   * You can also click on **Settings** and click on **Alerts** at the menu on the left.&#x20;
3. Click **Create**.
4. Select the pipeline to which you want to assign the alert.
5. Set up the alert according to the metric you want to use.
6. Activate the **Webhook toggle**.
7. Copy the endpoint of your Webhook and place it in the **Webhook URL field**.

<figure><img src="https://content.gitbook.com/content/jvO5S91EQURCEhbZOuuZ/blobs/2BDfTzF6HFVlStwfCzUa/8.How%20to%20configure%20alerts%20through%20a%20webhook_EN.png" alt=""><figcaption></figcaption></figure>

After the configuration process is complete, the following JSON output is generated:

```json
{
    "realm": "realm",
    "environment": "env",
    "alertName": "Alert-name",
    "pipelineName": "pipeline",
    "startsAt": "0001-01-01T00:00:00Z",
    "endsAt": "0001-01-01T00:00:00Z",
    "status": "firing" // This field can be firing or resolved
}

```
