> For the complete documentation index, see [llms.txt](https://help.sleuth.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.sleuth.io/sleuth-dora/integrations-1/impact-sources/errors/bugsnag.md). Agents can also search and read this documentation through its [MCP server](https://help.sleuth.io/~gitbook/mcp).

# Bugsnag

## About the integration

Bugsnag is a service that tracks your application errors. This integration allows Sleuth to track these errors to measure the impact your deploys make to the number of errors being generated.

It is assumed you already have an active Bugsnag account that is already tracking errors from your application. ([Create a Bugsnag account](https://docs.bugsnag.com/platforms/) if you don't have one.)

## Setting up the integration

To integrate Bugsnag as an error impact source in Sleuth:

1. In the sidebar, click **Integrations**.
2. Click the **Error Trackers** tab.
3. In the Bugsnag tile, click **enable**.
4. Enter your Bugsnag Personal Auth Token. This token can be found in your Bugsnag user profile, under *Personal auth tokens*.

![](https://2832637360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1bR_-Od0islbiOl4G0%2Fuploads%2Fgit-blob-82c3c0bbbecd0168e274de9d7fe261a372a0d394%2Fbugsnag%20\(1\)%20\(1\).png?alt=media)

5\. Press **Save**.

## Configuring the integration

Once the integration is successful, you will see an **Add impact** dropdown, along with the message **Bugsnag enabled** displayed in the tile. Select the Sleuth project you'd like to measure error impact on.

![](https://2832637360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1bR_-Od0islbiOl4G0%2Fuploads%2Fgit-blob-7c82a15358d2654c766e65990cd888ba476bcbbf%2FIntegrations%20-%20Sleuth%202021-01-26%2014-39-16.png?alt=media)

Give this error tracking instance a **name** and select the **Bugsnag** **project** and **environment**.\
![](https://2832637360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1bR_-Od0islbiOl4G0%2Fuploads%2Fgit-blob-aa23a11bef0a50d7d055d1493866da4476f1a8e7%2Fhoneybadger-sleuth-impact-info.png?alt=media)

That's it! Sleuth will now start verifying your deploys health by tracking the error counts from Bugsnag. Head over to the Dashboard to start seeing your data in action in the project and deploy health graphs.

## Removing the integration

#### If you wish to dissolve the Bugsnag integration for the organization:

1. Click on **Integrations** in the left sidebar, then on **Error Trackers**.
2. In the Bugsnag integration card, click **disable**. The message **Bugsnag disabled** is displayed in the Bugsnag integration card once the integration is dissolved.

The Bugsnag integration is disconnected and no longer available to any projects within that organization. Any project-level modifications you made to the Bugsnag integration will be lost.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.sleuth.io/sleuth-dora/integrations-1/impact-sources/errors/bugsnag.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
