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

# Opsgenie

Firefly integrates with Opsgenie to provide robust alerting and incident management capabilities. This integration enables teams to receive and manage infrastructure alerts, policy violations, and other critical events through Opsgenie's powerful incident management platform.

## Prerequisites

* An Opsgenie account with administrative access.
* Appropriate permissions to create API integrations.
* Access to Firefly's integration settings.

## Setup Procedure

1. Generate an API key for Opsgenie:
   * Visit the [Opsgenie API Integration](https://support.atlassian.com/opsgenie/docs/create-a-default-api-integration/) documentation.
   * Follow the steps to create a default API integration.
   * Copy the generated API key.
2. In Firefly, click **Settings > Integrations**.
3. Click **Add New > Opsgenie**.
4. Enter a descriptive name in the **Nickname** field.
5. Paste the API key in the **API key** field.
6. (Optional) Create a new label for better organization.
7. Click **Next**.
8. Click **Done**.

## Features Enabled

* **Alert Management**: Centralized handling of infrastructure alerts.
* **Incident Response**: Streamlined incident management workflow.
* **Team Notifications**: Alert routing to appropriate teams.
* **Priority Management**: Critical alert prioritization.
* **Integration with Opsgenie's Features**: Leverage Opsgenie's full incident management capabilities.

> **Note:** In the integration settings page, use the notifcation test button to test the 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.firefly.ai/integrations/notifications/opsgenie.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
