Introduction
The Mattermost integration connects Rootly with your Mattermost workspace so responders can work from chat while Rootly keeps the incident record up to date. This integration is best for teams that use Mattermost as a primary collaboration tool and want to manage incidents without constantly switching between Mattermost and the Rootly web app. With the Mattermost integration, you can:- Declare incidents directly from Mattermost with slash commands
- Automatically create a dedicated Mattermost channel for each incident
- Mitigate and resolve incidents from the incident channel
- Guide responders through a consistent incident workflow from chat
- Keep Rootly and Mattermost in sync during the incident lifecycle
Before You Begin
Before setting up the integration, make sure you have:- A Rootly account with permission to manage integrations
- Access to your Mattermost workspace
- Permission to create and configure an OAuth 2.0 application in Mattermost
-
https://rootly.com/auth/mattermost/callback
Used when an admin installs the Mattermost integration in Rootly -
https://rootly.com/auth/sign_in_mattermost/callback
Used when individual users connect their Mattermost account with/incident connect
Installation
Create an OAuth 2.0 application in Mattermost



Add Rootly callback URLs
https://rootly.com/auth/mattermost/callbackhttps://rootly.com/auth/sign_in_mattermost/callbackThe first URL is used when an admin installs the Mattermost integration in Rootly. The second is used when individual users connect their Mattermost account with /incident connect.Copy the OAuth credentials into Rootly

Configuration
Open the Mattermost integration settings in Rootly

Review channel and incident creation settings
- Channel title for incident channels
- Whether to automatically create a Mattermost channel when an incident is declared
- Whether incident channels should always be private
- Which fields appear in the incident creation wizard
- Which incident events should be posted into the Mattermost channel, including:
- Incident created
- Incident mitigated
- Incident resolved
- Incident cancelled

Connect Your Mattermost Account
Run the connect command in Mattermost
/incident connect in Mattermost to start linking your Mattermost account to Rootly.Open the authorization flow

Authorize access to complete the connection

Managing Incidents from Mattermost
Once your Mattermost account is connected, you can use slash commands to declare incidents, update incident status, and move through the incident workflow directly from Mattermost.Declare an Incident
Declare an incident from Mattermost
/incident new/incident create/incident declare

- A new incident is created in Rootly
- A dedicated Mattermost channel can be created automatically, depending on your configuration
Mitigate an Incident
Mitigate an incident from Mattermost
/incident mitigate/incident mitigated

Resolve an Incident
Resolve an incident from Mattermost
/incident resolve/incident resolved

View Available Commands
View available Mattermost commands
/incident help
