TechBuzzPro

How to Integrate Slack with PagerDuty

· 4 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can integrate Slack with PagerDuty to streamline incident response by receiving alerts, managing on-call schedules, and coordinating teams directly in Slack. This integration enables real-time notifications for incidents, allows users to acknowledge or resolve alerts from Slack, and improves collaboration during outages. Before starting, ensure you have admin-level access to both your Slack workspace and PagerDuty account.

What You'll Need

  • Admin access to your Slack workspace
  • Admin or full access to your PagerDuty account
  • A dedicated Slack channel for PagerDuty alerts (optional but recommended)
  • The PagerDuty app installed in your Slack workspace

Step-by-Step

  1. Log in to your PagerDuty account and navigate to Settings > Services & Integrations. If you don’t already have a service set up, create one by clicking Create New Service. Give it a name (e.g., “Slack Integration”) and select an escalation policy.
  2. Once the service is created, click Add Integration. Search for “Slack” in the integration type field and select Slack (Events API) from the list.
  3. Copy the Integration Key provided. This key allows PagerDuty to send events to your Slack workspace. Keep this page open — you’ll need to return here later.
  4. Open a new browser tab and log in to your Slack workspace. Click on your workspace name in the top-left corner, then go to Settings & Administration > Manage Apps.
  5. In the app directory, search for “PagerDuty”. Click on the official PagerDuty app and select Add to Slack. You may be prompted to confirm permissions — approve them if they align with your organization’s security policies.
  6. After installation, you’ll be redirected to a setup page. Paste the Integration Key you copied from PagerDuty into the field labeled Integration Key or Routing Key. Click Submit.
  7. Back in PagerDuty, go to Configuration > Event Rules. Create a new rule or edit an existing one to route incidents to the Slack integration. Set conditions (e.g., when an incident is triggered) and choose Send to Service, then select the service you created earlier.
  8. In Slack, invite the PagerDuty bot to any channel where you want alerts to appear. Type /invite @pagerduty in the channel message box. Alternatively, configure routing in PagerDuty to send specific incident types to specific channels via event rules.
  9. Test the integration by triggering a test incident in PagerDuty. Go to your service page, click More > Send Test Incident. Check the Slack channel — you should see a notification with details and actionable buttons.
  10. Customize alert messages and response options in PagerDuty under . You can enable features like clickable resolve/acknowledge buttons in Slack messages.

Common Mistakes

  • Using the wrong integration type in PagerDuty — ensure you select “Slack (Events API)” and not generic webhooks unless custom routing is needed.
  • Pasting the Integration Key into the wrong field in Slack — double-check it goes into the designated PagerDuty app configuration.
  • Forgetting to invite the @pagerduty bot to the target channel — without this, alerts won’t appear even if the integration is live.
  • Not setting proper event rules — if incidents aren’t routed correctly in PagerDuty, they won’t reach Slack.
  • Ignoring permission requirements — Slack admins must approve app installations, and PagerDuty roles must allow service and integration management.

Tips

  • Use dedicated channels for high-severity incidents to avoid alert fatigue in general channels.
  • Leverage message threading in Slack to keep incident discussions organized.
  • Enable incident summaries in PagerDuty to send end-of-shift reports to Slack daily.
  • Use @mentions in event rules to notify specific team members based on service type.
  • Regularly audit your event rules to ensure stale or redundant routes don’t delay notifications.

Troubleshooting

If alerts aren’t appearing in Slack:

  • First, verify the PagerDuty service has an active integration with the correct Slack key. Re-copy and re-paste the key if unsure.
  • Check that the @pagerduty bot is present in the channel. If not, use /invite @pagerduty.
  • Ensure the bot has permission to post messages. In Slack, go to Manage Apps, find PagerDuty, and review its permissions.
  • In PagerDuty, confirm event rules are configured to send incidents to the integration. Test with a manual trigger.
  • Check service status pages: status.pagerduty.com and status.slack.com for outages.
  • Restart the integration by removing and re-adding the PagerDuty app in Slack, then re-enter the key.
  • If buttons aren’t working in Slack messages, ensure “Interactive Components” are enabled in the PagerDuty app settings within Slack.

Frequently Asked Questions

Can non-admins use the PagerDuty Slack app?

Yes, once installed and configured by an admin, team members can view alerts and use message buttons to acknowledge or resolve incidents, provided they have appropriate PagerDuty user permissions.

Can I connect multiple PagerDuty services to one Slack channel?

Yes, multiple services can send alerts to the same channel. Use event rules to filter or tag messages so teams can distinguish between service types.

Do I need a paid plan in either platform?

Yes, both PagerDuty and Slack require paid plans for full integration capabilities. Free tiers may limit app installations or automation features.

Can I acknowledge an incident directly from Slack?

Yes, if interactive messages are enabled, clicking the “Acknowledge” button in a Slack alert will update the incident status in PagerDuty automatically.

Is two-way synchronization supported?

Yes, actions taken in Slack (acknowledge, resolve) sync back to PagerDuty. Notes added in PagerDuty appear in linked Slack threads if configured.

Can I customize alert messages in Slack?

Yes, use PagerDuty’s event template editor to modify message content, including adding links, severity tags, or custom fields.