Add a PagerDuty connector
Add a PagerDuty connector so Harness can use PagerDuty as a verification provider.
PagerDuty is an incident response and on-call management platform that alerts the right people when something goes wrong in production. Add a PagerDuty connector in Harness to bring your PagerDuty incidents into Service Reliability Management. Once the connector is set up, you can add PagerDuty as a change source for a monitored service, so incident activity is tracked alongside the service’s other changes.
Go to Overview for information about all monitoring and logging connectors, such as scopes and delegate selection.
What you will learn from this topic
How to add a PagerDuty connector to a Harness project.
How to configure the API key that Harness uses to authenticate with PagerDuty.
Before you begin
PagerDuty API key: A PagerDuty API key that Harness can use to authenticate.
Harness permissions: Permission to create connectors and secrets in Harness.
Add a PagerDuty connector
You can add a PagerDuty connector at the project, org, or account scope. This procedure covers the project scope, and the process is the same for org and account scope.
Open your Harness project.
In Project Settings, select Connectors.
Click New Connector, then select PagerDuty under Monitoring and Logging Systems. The PagerDuty connector settings appear.
Overview
Configure the identity fields for the connector:
In Name, enter a name for the connector. Harness generates the Id from the name.
Optionally, add a Description and Tags.
Click Continue.

Credentials
In Encrypted API Key, click Create or Select a Secret, then select or create a Harness encrypted text secret that stores your PagerDuty API key.
Click Next.

Delegates Setup
Select one of the following options:
Use any available Delegate: Harness selects an available delegate at runtime.
Only use Delegates with all of the following tags: Enter the tags of the delegates Harness must use with this connector.
The Test Delegate Connectivity list shows the delegates that match your selection. To add a delegate, click Install new Delegate.
Click Save and Continue.

Verify Connection
Click Finish after the connection test succeeds. The connector is listed in Connectors page.
Sample YAML
The following example shows a YAML for the PagerDuty connector created in this topic.
For the full connector YAML schema, including how to skip connector preflight checks, go to Create a connector using YAML.
Next steps
Use delegate selectors: Control which delegates can connect to this connector.
Add a text secret: Store the PagerDuty API key as a Harness secret.
Last updated
Was this helpful?