# Integrating Loadster with Opsgenie

> Are you using Opsgenie for incident alerting? Here's how to integrate Loadster with Opsgenie for speedy incident response and escalation.

Source: https://loadster.com/manual/integration-with-opsgenie/

Opsgenie is a modern incident management tool for operating always-on services. It's a popular way to receive alerts
of downtime and other incidents, escalate or assign them to the right people, and improve your time to issue resolution.

The Opsgenie integration will mainly be of interest if you're using Loadster for
[Site & API Monitoring](https://loadster.com/manual/monitoring/), so you can get notified of monitoring incidents.

## How Loadster Works With Opsgenie

Whenever one of your Loadster monitors fails, it will create an incident in Opsgenie within seconds.
Opsgenie then routes the incident to whoever is on call, so you can investigate and resolve it right away.

When that same monitor recovers, because you fixed the problem or the site came back up on its own, it will
automatically update the incident in Opsgenie to mark it as resolved.

With automatic incident creation and escalation, you'll save valuable minutes and achieve better site reliability and
uptime.

## What You'll Need for the Opsgenie Integration

All you need is an Opsgenie account and a Loadster account.

You'll want to create at least one monitor in Loadster if you haven't already, so there is something to
report to Opsgenie. If you haven't done that, [set up your site monitors](https://loadster.com/manual/monitoring/).

## Enabling the Opsgenie Integration

Integration with Opsgenie is quick and only needs to be done once. There are two ways to do it, and they are slightly
different depending on whether you want to route incidents to a specific Opsgenie team, or to everyone in your
organization.

To route incidents to a specific Opsgenie team:

1. In Opsgenie, create a team or choose an existing one, and go to the Integrations section for that team. Click the **Add integration** button.
2. Select **API** as the integration type.
3. Opsgenie will generate an **API Key** for this team integration. Copy it to your clipboard. Then submit the form.
4. Go to the <a href="https://loadster.com/dashboard/integrations">Integrations</a> section of your Loadster dashboard.
5. Find the Opsgenie section and click **Enable Opsgenie**.
6. We'll prompt you for the **API Key** that you recently created in Opsgenie. Enter it and save to enable the integration.

To route incidents to your general Opsgenie account:

1. In Opsgenie, go to the global **Settings** page and navigate to the section called **Integration list**.
2. Select **API** as the integration type.
3. Opsgenie will generate an **API Key** for your account. Copy it to your clipboard. Then submit the form.
4. Go to the <a href="https://loadster.com/dashboard/integrations">Integrations</a> section of your Loadster dashboard.
5. Find the Opsgenie section and click **Enable Opsgenie**.
6. We'll prompt you for the **API Key** that you recently created in Opsgenie. Enter it and save to enable the integration.

Now that the Opsgenie integration is enabled, anytime any of your Loadster monitors fails or recovers, it will create
and or resolve an incident in Opsgenie.

## Getting Help with Opsgenie

This integration is supported by the Loadster team. We want you to get the most out of it! If you have
trouble or see ways to improve it, please let us know at [help@loadster.com](mailto:help@loadster.com) and we'll be
glad to assist.

