---
title: OpsGenie
summary: null
url: https://www.fastly.com/documentation/guides/next-gen-waf/integrations/opsgenie
---

Our OpsGenie issue integration (alert) creates an alert when the Next-Gen WAF flags an IP address.

> **HINT:** 
>
> Want to set up alerting for your CDN or Compute service? Check out our [Observability](/guides/observability/alerts/about-alerts/) guides.
>
>
>

## Setting up an OpsGenie integration (alert)

To set up an OpsGenie integration (alert), complete the following steps:

### Next Gen Waf Control Panel

1. In OpsGenie, create an [API integration](https://support.atlassian.com/opsgenie/docs/create-a-default-api-integration/).
2. Copy the provided **API Key**.
3.   Log in to the [Next-Gen WAF control panel](https://dashboard.signalsciences.net).

4.   From the **Sites** menu, select a site if you have more than one site.

5. From the **Manage** menu, select **Site Integrations**.
6. Click **Add site integration**.
7. Select the **OpsGenie Alert** integration.
8. In the **API Key** field, enter the **API Key** created in OpsGenie.
9.   Select if you want to be alerted regarding **All activity** or **Specific activity**. If you selected **Specific activity**, then in the **Activity** menu choose the activity types that you want the integration to create alerts for.

10. Click **Create site integration**.

### Fastly Control Panel

1. In OpsGenie, create an [API integration](https://support.atlassian.com/opsgenie/docs/create-a-default-api-integration/).
2. Copy the provided **API Key**.
3.   Log in to the [Fastly control panel](https://manage.fastly.com).

4.   Go to **Security** > **Next-Gen WAF** > [**Workspaces**](https://manage.fastly.com/security/ngwaf/workspaces).

5.   Click the gear <span class="inline-icons"><img src="/img/icons/gear.png" alt="Gear icon" /></span> next to the workspace that you want to modify.

6. Click **Alerts** and then **Add alert**.
7. Fill out the **Add alert** form as follows:
   - From the **Integration type** menu, select **OpsGenie**.
   - In the **API Key** field, enter the **API Key** created in OpsGenie.
   - In the **Select activities** menu, leave **Flagged IPs** checked.
8. Click **Add workspace alert**.

## Activity types

> **IMPORTANT:** This section only applies to Next-Gen WAF customers with access to the [Next-Gen WAF control panel](https://dashboard.signalsciences.net).

When setting up an OpsGenie integration in the Next-Gen WAF control panel, you can select from the following activity types:

| Activity type | Description                  |
| ------------- | ---------------------------- |
| `flag`        | An IP address was flagged    |
| `agentAlert`  | An agent alert was triggered |

## Related content

- [Using an API with the Next-Gen WAF](https://www.fastly.com/documentation/guides/next-gen-waf/developer/using-an-api-with-the-next-gen-waf)
