Features
Alert notifications
Route Sentry alerts to any Discord channel based on alert rule conditions.
Interactive messages
Assign, ignore, and resolve Sentry issues directly from Discord messages.
Slash commands
Use
/link, /unlink, and /help commands to manage your Sentry identity from Discord.Bot permissions
The Sentry Discord bot requires the following permissions to function correctly:| Permission | Purpose |
|---|---|
| View Channels | Read channel information to post messages. |
| Send Messages | Post alert notifications and replies. |
| Embed Links | Render rich embed cards for Sentry issues. |
| Attach Files | Attach files when needed (for example, screenshots). |
| Send Messages in Threads | Post into thread channels. |
Installation
Navigate to integrations
In Sentry, go to Settings > Integrations and find Discord in the Notifications group. Click Install.
Authorize the bot
Sentry redirects you to Discord’s OAuth page. Select the Discord server where you want to add the Sentry bot and click Authorize. You must have Manage Server permission on the Discord server.
The Sentry bot will only appear in channels it has been granted access to. Make sure the bot role has permission to read and write in the channels you want to use for alerts.
Setting up alert notifications
Add a Discord action
Under Then perform these actions, click Add action and select Send a Discord notification.
Interactive message actions
When Sentry posts an alert to Discord, the message includes buttons that let you act on the issue:| 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. |
Slash commands
The Sentry Discord bot supports the following slash commands:| Command | Description |
|---|---|
/link | Links your Discord account to your Sentry account. |
/unlink | Unlinks your Discord account from Sentry. |
/help | Shows available bot commands. |
/sentry link in any Discord channel where the Sentry bot is present to start the identity linking flow.