# Integration for PagerDuty

You can integrate PagerDuty with IncidentHub to get notified when incidents occur. Incidents will get both triggered and resolved in PagerDuty.

IncidentHub will send messages to PagerDuty when any of the following happens:

1. An incident or maintenance is triggered, updated, or resolved in any of your monitored services.
2. An upcoming maintenance reminder is triggered based on your chosen time interval.

<mark style="color:red;">**Important Note**</mark>: IncidentHub does not support the EU region for PagerDuty yet. This integration works only for the US region.

## In Your PagerDuty Account

1. Login to your PagerDuty account
2. Go to Services -> Service Directory
3. Click on "New Service"
4. Add Name and Description
5. Choose the Escalation Policy to apply to the service
6. Under "Integrations", choose "Events API V2" and click on Create Service
7. Once you create the service, copy the "Integration Key"

## In Your IncidentHub Account

1. Login to your IncidentHub account and click on Channels -> Add -> PagerDuty
2. Add a Name and Description
3. Under "Webhook integration key", paste the key that you copied earlier and click Save

<figure><img src="/files/j7KbJ358CMf68xnrOIpu" alt="Add a PagerDuty channel"><figcaption></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.incidenthub.cloud/incidenthub-documentation/channels/integration-for-pagerduty.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.
