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