> For the complete documentation index, see [llms.txt](https://docs.groundcover.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.groundcover.com/~/revisions/1mY0CQn12Klyi0QiItHv/integrations/workflow-integrations/opsgenie-integration.md).

# OpsGenie

{% hint style="info" %}
Adding notification integrations requires admin privileges in groundcover
{% 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](/~/revisions/1mY0CQn12Klyi0QiItHv/use-groundcover/workflows/integration-examples.md#opsgenie-integration).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.groundcover.com/~/revisions/1mY0CQn12Klyi0QiItHv/integrations/workflow-integrations/opsgenie-integration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
