For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

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


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.

  1. Open your Harness project.

  2. In Project Settings, select Connectors.

  3. Click New Connector, then select PagerDuty under Monitoring and Logging Systems. The PagerDuty connector settings appear.

Overview

Configure the identity fields for the connector:

  1. In Name, enter a name for the connector. Harness generates the Id from the name.

  2. Optionally, add a Description and Tags.

  3. Click Continue.

PagerDuty connector overview settings

Credentials

  1. 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.

  2. Click Next.

PagerDuty connector credentials with the Encrypted API Key field

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.

PagerDuty connector delegates setup with the delegate connectivity list

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.

YAML - PagerDuty connector

For the full connector YAML schema, including how to skip connector preflight checks, go to Create a connector using YAML.


Next steps

Last updated

Was this helpful?