Connecting PagerDuty
PagerDuty integration enables AWS DevOps Agent to access and update incident data, on-call schedules, and service information from your PagerDuty account during incident investigations and automated response. This integration uses OAuth 2.0 for secure authentication.
Important
AWS DevOps Agent only supports the newer PagerDuty OAuth 2.0 (Scoped OAuth). Legacy PagerDuty OAuth with redirect uri is not supported.
PagerDuty requirements
Before connecting PagerDuty, ensure you have:
A PagerDuty account with your OAuth client ID and client secret
Your PagerDuty account subdomain (for example, if your PagerDuty URL is
https://your-company.pagerduty.com, the subdomain isyour-company)
Registering PagerDuty
PagerDuty is registered at the AWS account level and shared among all Agent Spaces in that account.
Step 1: Configure access in PagerDuty
Sign in to the AWS Management Console
Navigate to the AWS DevOps Agent console
Go to the Capability Providers page (accessible from the side navigation)
Find PagerDuty in the Available providers section under Communication and click Register
Follow the guided setup on the Configure access in PagerDuty page:
Check your service region and subdomain:
Account scope – Select your PagerDuty region (US or EU) and enter your PagerDuty subdomain. For example, if your PagerDuty URL is
https://your-company.pagerduty.com, enteryour-company.
Create a new app in PagerDuty:
In a separate browser tab, log in to PagerDuty and navigate to Integrations > App Registration
Create a new app using OAuth 2.0 Scoped OAuth
Under Permissions, grant the following minimum required scopes:
incidents.read,incidents.write, andservices.readEnable Events Integration to allow bi-directional communication between AWS DevOps Agent and PagerDuty
Configure OAuth credentials:
Permission scope – The minimum required scopes are:
incidents.read,incidents.write,services.readClient name – Enter a descriptive name for your OAuth client
Client ID – Enter the OAuth client ID from your PagerDuty app registration
Client secret – Enter the OAuth client secret from your PagerDuty app registration
Step 2: Review and submit PagerDuty registration
Review all the PagerDuty configuration details
Click Submit to complete the registration
Upon successful registration, PagerDuty appears in the Currently registered section of the Capability Providers page
Adding PagerDuty to an Agent Space
After registering PagerDuty at the account level, you can connect it to individual Agent Spaces:
In the AWS DevOps Agent console, select your Agent Space
Go to the Capabilities tab
In the Communications section, click Add
Select PagerDuty from the list of available providers
Click Save
Managing PagerDuty connections
Updating credentials – If your OAuth credentials need to be updated, deregister PagerDuty from the Capability Providers page and re-register with the new credentials.
Viewing connections – In the AWS DevOps Agent console, select your Agent Space and go to the Capabilities tab to view connected communication integrations.
Removing PagerDuty – To disconnect PagerDuty from an Agent Space, select it in the Communications section and click Remove. To completely remove the registration, remove it from all Agent Spaces first, then deregister from the Capability Providers page.
Webhook support
AWS DevOps Agent only supports PagerDuty V3 webhooks. Earlier webhook versions are not supported.
For more information about PagerDuty V3 webhook subscriptions, see Webhooks Overview