Slack

Learn how to setup a Bugsnag integration with Slack.

The Slack integration sends notifications to Slack channels for errors that are reported to Bugsnag.

Configuration

Set up the Slack integration by selecting it from the Available integrations section of the settings (Project Settings -> Configure Integrations -> Available Integrations).

You will be redirected to Slack for authorization and to select which channel Bugsnag should send messages to.

Multiple Slack integrations can be configured for a Bugsnag project which allows different notifications to be sent to separate channels.

Notification settings

Select the notifications that you want to receive by selecting Notify me when. The following options are available:

  • New error is received will notify you each time an error that has not previously happened is received
  • An error occurs frequently will notify you when an error occurs 10, 100, 1000 then each 1000 more times
  • Each time an error occurs will notify you every time an error is received regardless, including errors that have previously been received
  • An error is automatically reopened will notify you when an error that has been marked as fixed or snoozed is reopened
  • A project error rate increases significantly will notify you when there is a spike in errors for a project - see spike detection for details
  • A collaborator comments on an error will notify you when a collaborator on your project adds a comment in Bugsnag
  • A collaborator has reopened, fixed, snoozed or ignored an error will notify you when a collaborator on your project manually changes the state of error e.g marking an error as fixed

Notification settings

Filter settings

Notifications can be filtered according to severity or release stage.

Filter by severity

To filter notifications by severity select Filter by severity from the integration settings.

Severity filter

The severity filter is not applied to the following notification types:

  • A project error rate increases significantly
  • A collaborator comments on an error

Filter by stage

To filter notifications by release stage select Filter by stage from the integration settings.

Release stage filter

New release stages will automatically be enabled for all notifications.

The release stage filter is not applied to the following notification types:

  • An error is automatically reopened
  • A project error rate increases significantly
  • A collaborator comments on an error

Interactive messages

When an event occurs the Slack message will include action buttons which allow the state of the error in Bugsnag to be changed.

Configuration

When any of the buttons are clicked the message will be updated to confirm that the state of the error was changed.

Configuration