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

# PagerDuty

### Generate PagerDuty Integration Key

Start by generating an integration key from PagerDuty.

1. Log into you PagerDuty account
2. Select **Services → Service Directory** from the top navigation
3. Click **New Service** and add the service details
   1. Service Name: **Halo Security**
   2. Integration Type: **Events API v2**
4. Click **Create Service**
5. Copy the **Integration Key**

Learn more about [Services and Integration in PagerDuty](https://support.pagerduty.com/main/docs/services-and-integrations#generate-a-new-integration-key).

### Connect PagerDuty in Halo Security

* Log into Halo Security
* Visit your *Settings → Integrations →* [Add](https://app.halosecurity.com/user/settings/integrations/add)
* Add the PageDuty integration
* Name for your integration and enter the API key you generated from PagerDuty

### Create Profiles

After connecting PagerDuty, you can create profiles to control how alerts are created. To create a profile:

1. Navigate to the **Profiles** tab
2. Click the **+** icon
3. Enter a name for the profile
4. Configure your settings
5. Click **Save**

### Create Event Rules

To receive PagerDuty events, create Event Rules and add your PagerDuty profile as an action. Visit *Events →* [Event Rules](https://app.halosecurity.com/user/settings/event-rules/) to set up rules that determine which Halo Security events create events in PagerDuty.

Learn more about configuring Event Rules at:

{% content-ref url="/pages/QVrCXwRcuy8YWA5L25VR" %}
[Event Rules](/docs/platform/events/alerts.md)
{% endcontent-ref %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.halosecurity.com/docs/integrations/workflow-integrations/pagerduty.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
