# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
