> ## Documentation Index
> Fetch the complete documentation index at: https://docs.incident.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding BugSnag as an alert source

> Send BugSnag error and performance alerts into incident.io to page the right people and open incidents.

BugSnag tracks errors, crashes and performance in your applications. Connect it to incident.io
and every BugSnag notification becomes an incident.io alert, so you can route it to a team,
escalate to whoever is on call, and open an incident when one matters.

| | |
| - | - |
| **Plans** | All plans |
| **Connects with** | An alert source. BugSnag forwards events to incident.io through a webhook on each project |
| **What you get** | [Alerts](https://docs.incident.io/alerts/getting-started.md) and [alert attributes](https://docs.incident.io/alerts/attributes-and-priorities.md) to route, escalate and declare incidents from |

## Step 1: create the alert source

1. Go to [Alerts](https://app.incident.io/~/on-call/alert-routes/sources) in your incident.io dashboard
   and select the **Sources** tab.
2. Press **Create source**, search for **BugSnag**, and continue.
3. Give it a name.

The setup page shows a **Webhook URL** to paste into BugSnag. Keep it open for the next step.

## Step 2: connect BugSnag

In BugSnag, for each project you want to send to incident.io:

1. In the project's settings, go to **Integrations and email → Data forwarding**.
2. Choose **Webhook**, paste the **Webhook URL** from incident.io, and pick the event types to
   send.

Refer to
[BugSnag's webhook documentation](https://docs.bugsnag.com/product/integrations/data-forwarding/webhook/)
for details of their integration UI.

## How alerts behave

* **Title and description.** The alert title is the error message, the description shows the
  project and error, and the alert links back to the error in BugSnag.
* **Deduplication.** Every event for the same error updates one alert. Each project spike creates
  a new alert, and performance alerts are matched by their monitor.
* **Resolution.** The alert resolves when BugSnag reports the error as fixed, snoozed or ignored,
  or a performance monitor as `resolved`.
* **Attributes.** Use the project name, release stage, error context or your app's custom
  metadata to set [alert attributes](https://docs.incident.io/alerts/attributes-and-priorities.md), for example to map the
  project to a team.

## Step 3: check it works

Press **Test** on the webhook in BugSnag, or wait for an error to be reported. The alert should
appear on the alert source page in incident.io within a few seconds.

If nothing arrives, check **Recent requests** on that page. Every request BugSnag sent is listed
there, including any that were rejected, with the reason.

***

Can't find the alert source you are looking for? Head to our
[integrations page](https://incident.io/integrations) or message us at
[support@incident.io](mailto:support@incident.io).
