# OpsGenie

{% hint style="warning" %}
OpsGenie Notification Channel is getting an upgrade: meet [OpsGenie Connected App](https://docs.groundcover.com/integrations/connected-apps/opsgenie-integration)
{% endhint %}

### Generate Opsgenie API Key

1. In Opsgenie, Go to **Settings → Integrations**.
2. Run a search and select “API”.
3. On the next screen, enter a name for the integration. (We will use it later when adding the integration to groundcover)
4. *Optional*: Select a team in **Assignee team** if you want a specific team to receive alerts from the integration.
5. Select **Continue**.\
   The integration is saved at this point.
6. Select **Turn on integration**.

{% hint style="info" %}
If you're using Opsgenie's **Free** or **Essentials** plan, you can add this integration from your team dashboard only. The **Integrations** page under **Settings** is not available in your plan.
{% endhint %}

{% hint style="info" %}
Make sure you have enabled "Allow Create and Update Access"
{% endhint %}

### Get Your API Key

1. In Opsgenie, Go to **Settings → Integrations**.
2. Click on your selected integration from the list.
3. Copy API Key from the Integration settings panel.

<figure><img src="https://2771001740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUHgqKYgCiRKdOpWQdi52%2Fuploads%2Fgit-blob-125d39121e8d0066ca90556da1f2ac732f5b6df3%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Make sure Status is ON
{% endhint %}

### Create New Integration In groundcover

1. In groundcover, Go to **Settings → Integrations**.
2. Click on Opsgenie integration

   <figure><img src="https://2771001740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUHgqKYgCiRKdOpWQdi52%2Fuploads%2Fgit-blob-b78d1158bcf9a5ca01e559074b3209939511960b%2Fimage.png?alt=media" alt=""><figcaption><p>Opsgenie integration card</p></figcaption></figure>
3. Fill the form:
   1. Integration name in groundcover
   2. Original name of the integration in Opsgenie
   3. API Key
4. **Save**

![](https://2771001740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUHgqKYgCiRKdOpWQdi52%2Fuploads%2Fgit-blob-82c917f2620359af9f02ae0ff01cb51d94b7c5ff%2Fimage.png?alt=media)

### Workflow Example

You can see a detailed workflow example to use with your integration, [here](https://docs.groundcover.com/use-groundcover/workflows/integration-examples#opsgenie-integration).
