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

# PagerDuty

> PagerDuty - Setup & Installation Docs | Middleware

Integrate with pagerduty to report incidents direct from Middleware alert section.

# Prerequisites

<Steps>
  <Step title="Middleware Account">
    Middleware Account with `admin` level access
  </Step>

  <Step title="PagerDuty Account">
    PagerDuty Account with `admin` level access
  </Step>
</Steps>

# Setup

Follow these steps to set up PagerDuty integration with Middleware account.

* Login to the Middleware account and navigate to the PagerDuty integration under the installation section.
     Login -> Installations -> Store in that there will be PagerDuty
* Click on the "Connect" button to begin the integration process.
* You will see a new window pop up on the right side of your screen.
* In that window, add the PagerDuty authentication token and click on the save button.
* It will integrate your PagerDuty account with Middleware.
  <img src="https://mintcdn.com/middlewareio/cgLzouXcJUXtP_sv/images/integration/pagerdutyintegration.png?fit=max&auto=format&n=cgLzouXcJUXtP_sv&q=85&s=4c30718ad52514c28096d889a8d5947c" width="1916" height="945" data-path="images/integration/pagerdutyintegration.png" />

# Assign alert to PagerDuty incident

* Navigate to alerts from the left menu.
* At right bottom corner here showed in screenshot, select Email of user you want to assign task and select service.
* Enter the Title you want to see as title in pagerDuty for incident.
* Once you have filled in all the required details, click on the "Assign" button.
* The incident will be created in PagerDuty and can be assigned to the appropriate team member.
* Here is the attached screenshot of how it will look like in PagerDuty

<img src="https://mintcdn.com/middlewareio/FRByFw9jxvH788uu/images/integration/assign.png?fit=max&auto=format&n=FRByFw9jxvH788uu&q=85&s=4ba5120c3c8216bc6c08f5e1fb6c0643" width="1437" height="951" data-path="images/integration/assign.png" />

<img src="https://mintcdn.com/middlewareio/cgLzouXcJUXtP_sv/images/integration/pdincident.png?fit=max&auto=format&n=cgLzouXcJUXtP_sv&q=85&s=fe03d71d4d9913913716fe13c88bad2c" width="1916" height="945" data-path="images/integration/pdincident.png" />

# Troubleshooting

<Accordion title="Missing Integrations Menu">
  If you do not see the Integrations Menu in Middlware, that means your account has not been granted `Installation` permissions. Contact your system administrator to add the `Installation` permission to your user role in Settings.
</Accordion>

# Next Steps

* [How to Create Alerts](https://docs.middleware.io/workflow/alerting/setup-alert)
* [Dashboard Basics & Customization](https://docs.middleware.io/workflow/custom-dashboard/dashboard-builder-overview)
* [Getting Started With Real User Monitoring (RUM)](https://docs.middleware.io/rum/rum-overview)

<Note> Need assistance or want to learn more about Middleware? Contact us at support\[at]middleware.io. </Note>
