Skip to main content

Backtrace Integration for Slack

You can integrate Backtrace with Slack to see the errors that matter, triage, and resolve them accordingly in one workflow.

There are two integration paths:

  • Use the App for Slack (recommended)
  • Connecting a Webhook (legacy)

Slack announced that they plan to deprecate support for customized webhooks, so the App for Slack is generally preferred.

Connecting the App for Slack

  1. Navigate to Project Settings > Integrations.

  2. Click +.

  3. Select Slack from the integration list.

  4. Click Install Slack app.

    slack integration

    You may need an admin to approve installing the app in your workspace.

  5. Next, Allow Backtrace to access the Backtrace I/O Slack workspace, or request from your Slack admin.

    allow backtrace to access slack integration
  6. After the App for Slack is installed, go to Home in Slack and click Connect with Backtrace.

    connect with backtrace
  7. Enter your Backtrace instance (* domain) in Backtrace Instance URL and click Submit.

    add backtrace instance URL
  8. You will be redirected back to Backtrace to finish the setup.

    your connection was created successfully

Setting Up the Incoming Webhook (Legacy)

If you prefer using the legacy approach, you can configure an Incoming Webhook in Slack. Follow the on-screen instructions on the Incoming WebHooks page:

  1. In the Post to Channel section, select the channel where you want to post messages, then click Add Incoming WebHooks integration.
  2. Once the Incoming Webhook integration is added, copy the Webhook URL from the Setup Instructions. This URL will be used to create the integration for Slack in Backtrace.

Main Body Content​

You can specify attributes to be appended to the description in the Main body content.

main body content

Issue Based Alerts​

You can configure automated actions for your Slack workflow integration with issue-based alerts to further automate your workflow. Use issue-based alerts to automatically generate issues in Slack based on the conditions and frequency you specify. For more information, see Issue Based Alerts.