Add Slack integrations to your project
With Firebase's Slack integration, your project can post to your Slack workspace in response to events in certain Firebase services, like new or regressed issues in Crashlytics.
Set up a Slack WebHook
Before you set up the integration in Firebase, you have to add an incoming WebHook in Slack to handle communications from Firebase. To learn how to do that, read the Slack Help Center article Incoming WebHooks for Slack.
Enable the Slack integration in the Firebase Console
Once you've set up the appropriate WebHook, you're ready to set up the integration in Firebase:
- Open the Firebase Console to the Integrations page.
- Click Install on the Slack integration card.
- Paste the Webhook URL from your Slack settings page to the Webhook URL field.
- Enter a channel name in the Default channel field. You can override this default later on a per-app or per-alert basis.
- Enter a name to send the messages under in the Name of posting user field.
- Click Verify & save.
After verifying and saving the Slack integration, you should see a confirmation message in the default channel you selected.
Configure Slack alerts
You can configure alerts by app and event type. For example, you can turn off notifications in your testing app or route high-priority notifications in your production app to an #urgent channel.
Firebase's Slack integration currently allows you to send alerts in response to three event types:
- New Crashlytics issues: triggered when your app experiences a crash Crashlytics hasn't seen before.
- Regressed Crashlytics issues: triggered when your app experiences a crash that you'd previously marked closed.
- Increasing Crash Velocity issues: triggered when a single crash type affects 1% of sessions in a 60 minute period for a given app version.
Here's how to configure alerts for your project, including selecting specific channels for each alert type:
- In the Firebase Console, select your project and navigate to Project Settings.
- Select Integrations from the top tab bar.
- Click Manage on the Slack integration card.
- Hover over the row for the alert type you'd like to configure, and click Edit .
- For each app in your project, add a Recipient channel, and check or uncheck the Enabled box as appropriate.
- Click Save.
That's it! With your configurations made, Firebase will send alerts to your specified channels when your apps have new, regressed, or increasing-velocity issues as appropriate.