When a server goes down, you need to know the moment it happens. But it can be easy to ignore something that isn't right in front of you. One place that you are probably paying attention to throughout the workday is Slack, so bringing alerts from PagerDuty into your Slack workspace makes sense for a lot of organizations.
What you’ll need
Admin, Global Admin, or Account Owner user level on your PagerDuty account
Administrator level permissions on your Slack workspace
Installing PagerDuty in Slack
1. Log in to pagerduty.com
and go to pagerduty.com/integrations/
. (You can also navigate there by clicking on Integrations
in the top menu from the homepage.)
2. Search for Slack and hit the add button next to it. This will require you to confirm your identity to PagerDuty.
3. Connect your Slack workspace. If you aren’t logged in to Slack in your web browser already, you will need to do so now. If you are already logged in, make sure you have the correct workplace selected.
To be able to trigger incidents, you’ll need to authorize PagerDuty to perform a number of actions:
Access and modify information about your channels
Add slash commands and add actions to messages (and view related content)
Access information about your workspace
Send messages as [Workspace Name] for Slack
Send messages as yourself
Access your workspace’s profile information
PagerDuty has a rundown of why each of these permissions is needed within their Slack Integration Guide
4. Add Slack channel connections to associate PagerDuty sources with the appropriate Slack Channel.
If you used a private channel for one of your connections, you will need to add
@pagerduty to the channel in Slack to complete the connection.