# PagerDuty

{% hint style="warning" %}
PageDuty Notification Channel is getting an upgrade: meet [PagerDuty Connected App](/integrations/connected-apps/pagerduty.md)
{% endhint %}

## Generate PagerDuty API Key

1. In PagerDuty, Go to the your desired service, then click on integrations tab
2. Click on "Add an integration" or "+ Add another integration"
3. Select "Events API V2" Integration, and click on Add.

   <figure><img src="/files/XOc5hTD6CKZGeEfnvtAl" alt=""><figcaption><p>Events API V2</p></figcaption></figure>
4. Copy the Integration Key.

   <figure><img src="/files/okuHefalrHqmoDVcjrBo" alt=""><figcaption></figcaption></figure>

## Create PagerDuty Integration in groundcover

1. In groundcover, Go to **Settings → Integrations**.
2. Click on PagerDuty Integration
3. Select a name and paste your routing key
4. Save.

<figure><img src="/files/fdKV0qs6k0bjpsPSrYEv" alt=""><figcaption></figcaption></figure>

### Workflow Example

You can see a detailed workflow example to use with your integration, [here](/use-groundcover/workflows/integration-examples.md#pagerduty-integration).


---

# 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.groundcover.com/integrations/workflow-integrations/pagerduty-integration.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.
