PagerDuty credentials
You can use these credentials to authenticate the following nodes:
Prerequisites
Create a PagerDuty (opens in a new tab) account.
Supported authentication methods
- API token
- OAuth2
Related resources
Refer to PagerDuty's API documentation (opens in a new tab) for more information about the service.
Using API token
To configure this credential, you'll need:
- A general access API Token: To generate an API token, go to Integrations > Developer Tools > API Access Keys > Create New API Key. Refer to Generate a General Access REST API key (opens in a new tab) for more information.
Using OAuth2
If you need to configure OAuth2 from scratch, register a new Pagerduty app (opens in a new tab).
Use these settings for registering your app:
- In the Category dropdown list, select Infrastructure Automation.
- In the Functionality section, select OAuth 2.0.
Once you Save your app, open the app details and edit your app configuration (opens in a new tab) to use these settings:
- Within the OAuth 2.0 section, select Add.
- Copy the OAuth Callback URL from n8n and paste it into the Redirect URL field.
- Copy the Client ID and Client Secret from PagerDuty and add these to your n8n credentials.
- Select Read/Write from the Set Permission Scopes dropdown list.
Refer to the instructions in App functionality (opens in a new tab) for more information on available functionality. Refer to the PagerDuty OAuth Functionality documentation (opens in a new tab) for more information on the OAuth flow.