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

# Create a PagerDuty Integration

> Learn how to create a PagerDuty integration in Maxim to receive notifications when your AI application's performance metrics or quality scores exceed specified thresholds.

export const MaximPlayer = ({url}) => {
  return <iframe className="border-background-highlight-secondary h-full w-full rounded-md border-2 aspect-video" src={url} allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>;
};

<Steps>
  <Step title="Prerequisites">
    Gather these requirements:

    1. A PagerDuty account with permission to create a service and integration
    2. A PagerDuty service where you want to receive notifications
    3. The **Integration Key** (also known as the **Routing Key**) for the PagerDuty service

    To find your Integration Key:

    1. In PagerDuty, navigate to **Services** → **Service Directory**
    2. Select your service
    3. Go to the **Integrations** tab
    4. Click **Add or manage integrations**
    5. Click **+ New Integration**
    6. Enter a name (e.g., "Maxim Alerts")
    7. Select "Events API v2" as the integration type
    8. Click **Add Integration**
    9. Copy the generated **Integration Key**
  </Step>

  <Step title="Open Settings">
    Navigate to the **Settings** page in Maxim.
  </Step>

  <Step title="Navigate to Integrations">
    Click on **Integrations** in the left sidebar.
  </Step>

  <Step title="Add integration">
    Click the **Add integration** button.
  </Step>

  <Step title="Select PagerDuty">
    Choose **PagerDuty** as the integration type.
  </Step>

  <Step title="Enter Integration Key">
    In the **Integration Key** field, paste the Integration Key you copied from PagerDuty.
  </Step>

  <Step title="Name your integration">
    Give your integration a descriptive name (e.g., "Production Alerts").
  </Step>

  <Step title="Save configuration">
    Click **Save** to create the integration.
  </Step>
</Steps>

<MaximPlayer url="https://drive.google.com/file/d/1o6MmU4jT1MY6u5YXer4GKcW0dJHK2lgY/preview" />
