---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/segment/connections/destinations/catalog/bugsnag#article
headline: Bugsnag Destination
description: Connect the Bugsnag destination to Segment to send identify data and user data to Bugsnag for crash detection and error diagnosis.
url: https://www.twilio.com/docs/segment/connections/destinations/catalog/bugsnag
inLanguage: en
dateModified: 2026-07-15T17:40:17.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# Bugsnag Destination

## Destination Info

* Accepts [Identify](/docs/segment/connections/spec/identify) calls.
* Refer to it as **Bugsnag** in the [Integrations object.](/docs/segment/guides/filtering-data/#filtering-with-the-integrations-object)

### Components

* [Browser](https://github.com/segment-integrations/analytics.js-integration-bugsnag)
* [iOS](https://github.com/segment-integrations/analytics-ios-integration-bugsnag)
* [Android](https://github.com/segment-integrations/analytics-android-integration-bugsnag)

## Connection Modes

[Learn more about connection modes.](/docs/segment/connections/destinations/#connection-modes)

### Device-Mode

* web: yes
* mobile: yes
* server: no

### Cloud-Mode

* web: no
* mobile: no
* server: no

[Bugsnag](https://docs.bugsnag.com/api/data-access/) helps you detect and diagnose crashes in your application. Depending on the data you provide, Bugsnag can filter errors based on user name, user email, timeline, release stages, paying user status, and more.

The Bugsnag destination supports the following integrations:

|         |                                                                                                    |
| ------- | -------------------------------------------------------------------------------------------------- |
| Web     | [Analytics.js SDK 2.1.0](https://github.com/segment-integrations/analytics.js-integration-bugsnag) |
| Android | [Android SDK 2.0.0](https://github.com/segment-integrations/analytics-android-integration-bugsnag) |
| iOS     | [iOS SDK 1.0.3](https://github.com/segment-integrations/analytics-ios-integration-bugsnag)         |

## Getting Started

### Web

1. From the Segment web app, click **Catalog**.
2. Search for "Bugsnag" in the Catalog, select it, and choose which of your sources to connect the destination to.
3. Add your API key to your connection settings. You can find your API key in your Bugsnag dashboard under "Settings", which is located in the upper left-hand corner
4. Segment automatically initializes Bugsnag's JavaScript script with your API key upon loading analytics.js

### Mobile

If you'd like to integrate with Bugsnag's iOS and/or Android SDKs, in addition to completing steps 1-3 in the previous section, you will also need to complete the install steps outlined below:

1. [Android](https://github.com/segment-integrations/analytics-android-integration-bugsnag)
2. [iOS](https://github.com/segment-integrations/analytics-ios-integration-bugsnag)

## Identify

Once you've set up your Bugsnag integration, call [`identify`](/docs/segment/connections/spec/identify/) for each of your users as soon as you know their identity (typically after login or sign up), so that Bugsnag can show you which user encountered which error. To learn what the Identify method does, see the Segment Spec. An example call looks like:

```javascript
analytics.identify('ze8rt1u89', {
  name: 'Zaphod Kim',
  gender: 'Male',
  email: 'jane.kim@example.com',
});
```

Bugsnag will show you the `userId` and `traits` in the Users tab of each error.

## Error Reporting

In addition to sending Bugsnag user-specific information, you can send handled exceptions and diagnostic data to your Bugsnag dashboard using Bugsnag's native methods. Documentation on these methods is available [on their website](https://docs.bugsnag.com/platforms/browsers/#reporting-handled-exceptions).

## Settings

Segment lets you change these destination settings from the Segment app without having to touch any code.

| Field         | Description                                                                                                            | Required | Type    |
| ------------- | ---------------------------------------------------------------------------------------------------------------------- | -------- | ------- |
| API Key       | You can find your API Key on your Bugsnag \[Project Settings page]\(https://bugsnag.com/dashboard).                    | Yes      | string  |
| Release Stage | Distinguish errors that happen in different stages of your app's release process e.g 'production', 'development', etc. | No       | string  |
| Use SSL       | Use SSL When Sending Data to Bugsnag                                                                                   | No       | boolean |
