> For the complete documentation index, see [llms.txt](https://docs.groundcover.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.groundcover.com/~/revisions/1mY0CQn12Klyi0QiItHv/integrations/workflow-integrations/pagerduty-integration.md).

# PagerDuty

{% hint style="info" %}
Adding notification integrations requires admin privileges in groundcover
{% 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="https://2771001740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUHgqKYgCiRKdOpWQdi52%2Fuploads%2Fgit-blob-fbbd89299c13e9e0a16ac1307906fd3f7b00968d%2Fimage.png?alt=media" alt=""><figcaption><p>Events API V2</p></figcaption></figure>
4. Copy the Integration Key.

   <figure><img src="https://2771001740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUHgqKYgCiRKdOpWQdi52%2Fuploads%2Fgit-blob-b2e38eff6723bb61967b0896e2618a28c0fffbe1%2Fimage.png?alt=media" 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="https://2771001740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUHgqKYgCiRKdOpWQdi52%2Fuploads%2Fgit-blob-b75cff9977dc1ba67be28bbe3f848e92ec2f916b%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

### Workflow Example

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.groundcover.com/~/revisions/1mY0CQn12Klyi0QiItHv/integrations/workflow-integrations/pagerduty-integration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
