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

# OpsGenie

Integrate OpsGenie with Statuspal to keep your status page in sync with your alerting workflow:

* Statuspal incidents are created automatically when OpsGenie incidents are triggered.
* Statuspal incidents are resolved automatically when OpsGenie incidents are resolved.
* Configure rules to control which OpsGenie severities and services map to which Statuspal services.

## How it works

Statuspal registers a webhook in OpsGenie. When an OpsGenie incident event occurs, OpsGenie notifies Statuspal, which then creates or resolves a status page incident according to your configured rules.

## Requirements

* **OpsGenie**: Admin role (required to create an API key).
* **Statuspal**: Admin or Owner role (required to configure the integration).

## Setup

### In OpsGenie

1. Go to **Integrations > Add Integration** and select **API**.
2. Ensure **Read Access**, **Create and Update Access**, and **Enabled** are all checked.
3. Click **Save Integration** and copy the **API Key**.\
   \
   ![OpsGenie API integration](/files/iUbgy5eCwAsvwCUoaePC)

### In Statuspal

1. From your status page's dashboard, click **Integrations** in the sidebar.
2. Click **New integration** and select **OpsGenie**.
3. Enter your OpsGenie API key and click **Create**.\
   \
   ![Statuspal OpsGenie integration — empty rules](/files/q6TiFs2DV2ZF4a93QjUb)

## Configuring rules

Rules determine which OpsGenie incidents trigger Statuspal status updates and how they map to your services. For each rule, configure:

* **OpsGenie severity** to match on.
* **Statuspal service(s)** to affect.
* **Incident type** to create in Statuspal.

![OpsGenie rule configuration](/files/fJ4GgQlx3GLnqsy3JUos)

Once one or more rules are saved, incidents will be automatically created and resolved based on your OpsGenie activity.

![Configured OpsGenie rule](/files/xQU96jguHQq6NhxOdHaw)

## Uninstalling

In your Statuspal admin, click **Integrations**, find the OpsGenie integration, click **Delete**, and confirm. The integration and its webhook in OpsGenie will be permanently removed.
