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

# PagerDuty

> The PagerDuty extension lets Hightouch notify your on-call staff about failed queries and syncs.

The PagerDuty extension lets Hightouch notify your on-call staff about failed queries and syncs.

Once you've authorized access to PagerDuty, you must [set up alerts for each sync](https://docs.hightouch.com/syncs/alerting.md#configure-alerts) that you want to send alerts through PagerDuty on.

## Setup

1. Create a PagerDuty Events API V2 extension and copy its API Key:
   * In PagerDuty, go to the **Integrations** tab in the **Services** page. Select **+ Add another Integration**.

     ![Adding an integration in PagerDuty](https://mintcdn.com/hightouch-3c037897/L_vQfA0JQEpeGUUo/images/integrations/pagerduty-add-integration.png?fit=max\&auto=format\&n=L_vQfA0JQEpeGUUo\&q=85\&s=bbddae9183ee4a8888dc8ef642e6ba4c)
   * Select **Events API V2** integration and click **Add**.

     ![Events API V2 Integration](https://mintcdn.com/hightouch-3c037897/L_vQfA0JQEpeGUUo/images/integrations/pagerduty-events-API-V2.png?fit=max\&auto=format\&n=L_vQfA0JQEpeGUUo\&q=85\&s=adb846bd94e7bb09a4cddf24d7585a9f)
   * Back in the **Integrations** tab, copy the **Integration Key**.

     ![Copying the Integration Key in PagerDuty](https://mintcdn.com/hightouch-3c037897/L_vQfA0JQEpeGUUo/images/integrations/pagerduty-integration-key.png?fit=max\&auto=format\&n=L_vQfA0JQEpeGUUo\&q=85\&s=5226416b76bf932569752e04e3792bb1)
2. In Hightouch, go to the [**Extensions** page](https://app.hightouch.com/extensions?from=docs) and select [**Alerting**](https://app.hightouch.com/extensions/alerting?from=docs). Open the [**Configuration** tab](https://app.hightouch.com/extensions/alerting/configuration?from=docs).
3. Click **Set up** under PagerDuty and paste the **PagerDuty API Key** you previously copied.
4. In the [**Configuration** tab](https://app.hightouch.com/extensions/alerting/configuration?from=docs), click **Add alert**.
5. In the modal that appears, enter a descriptive name for your alert, select **PagerDuty** as the **Platform** and select the **Credentials** you just entered.
6. Set the **Default Behaviors**, and optionally enter a **Minimum Alert Interval**.
   * The **Default Behaviors** can be **fatal error** and/or **row error**.
     * A **fatal error** is an error communicating with either a source or a destination. it's 'fatal' because the sync can't even run.
     * A **row error** means a problem with a particular row or rows. The sync works, but one or more rows failed.
   * Setting the **Minimum Alert Interval** lets you receive alerts at spaced intervals—once every hour, for instance. If you don't set this, you receive alerts every time your selected error occurs. You must enter the Minimum Alert Interval in minutes.
7. Once you've entered your alert preferences, click **Create**.
8. [Set up alerts for each sync](https://docs.hightouch.com/syncs/alerting.md#configure-alerts) that you want to send alerts through PagerDuty on.

Now when a sync attempt fails, Hightouch sends an alert to your PagerDuty service.
