Features
Alert notifications
Route Sentry alerts to any Slack channel or user based on alert rule conditions.
Interactive messages
Resolve, ignore, and assign Sentry issues directly from the Slack message without switching context.
URL unfurling
Sentry URLs posted in Slack automatically expand to show issue details, status, and assignee.
Slash commands
Use
/sentry slash commands in Slack to query and manage issues.Installation
Navigate to integrations
In Sentry, go to Settings > Integrations and find Slack in the Notifications group. Click Install.
Authorize the Slack app
Sentry redirects you to Slack to authorize the Sentry app for your workspace. You must be a Slack workspace admin, or request admin approval if required by your workspace settings.
The Slack integration does not send notifications automatically after installation. You must create alert rules with a Slack action to start receiving notifications.
Setting up alert notifications
Add a Slack action
Under Then perform these actions, click Add action and select Send a Slack notification.
Configure the action
Choose the Slack workspace, then enter the channel name (for example,
#backend-alerts) or the user’s name for a direct message. You can optionally customize the notification message.Interactive message actions
When Sentry sends an alert to Slack, the message includes action buttons that let you respond without leaving Slack:| Action | Description |
|---|---|
| Resolve | Marks the Sentry issue as resolved. |
| Ignore | Ignores the issue (mutes notifications for it). |
| Assign | Opens a menu to assign the issue to a team member. |
URL unfurling
When you paste a Sentry issue URL into a Slack message, Sentry automatically expands it to show:- Issue title and culprit
- Current status and assignee
- Number of events and users affected
- Direct links to resolve, ignore, or assign
Slash commands
The Sentry Slack app provides the/sentry slash command.
| Command | Description |
|---|---|
/sentry link | Links your Slack account to your Sentry account. |
/sentry unlink | Unlinks your Slack account from Sentry. |
/sentry help | Shows available slash commands. |
Linking your identity
To use interactive message actions and personal notifications, link your Slack account to your Sentry account:- Type
/sentry linkin any Slack channel. - Click the link in the Slack message to open the Sentry identity linking page.
- Confirm the connection.
/sentry unlink.
Linking a team
You can link a Sentry team to a Slack channel so that notifications assigned to that team are routed to the channel:- In the channel you want to link, type
/sentry link team. - Follow the prompts to select your Sentry organization and team.