Estimated time: 5 minutes. You’ll need permission to add an Events API v2 integration to at least one PagerDuty service.
Prerequisites
- A PagerDuty account with permission to manage services
- One or more services in PagerDuty configured with the escalation policies you want Clarion to use
- A Clarion workspace with the PagerDuty integration page open
Step 1 — Enable PagerDuty in Clarion
- In Clarion, open Integrations and find PagerDuty.
- Click Enable PagerDuty.
Step 2 — Create an Events API v2 integration in PagerDuty
For each service Clarion should be able to page, generate a routing key:- In PagerDuty, open the service you want Clarion to page.
- Go to the Integrations tab.
- Click Add another integration.
- Choose Events API v2 as the integration type.
- Give it a recognisable name, for example Clarion — SecOps.
- Click Add and copy the Integration Key (also called routing key) that PagerDuty shows you.
Step 3 — Add the channel in Clarion
- Back on the Clarion PagerDuty integration page, click Add channel.
- Enter a name that identifies the rotation — for example SecOps on-call.
- Paste the routing key from PagerDuty.
- Click Add channel.
- Use the Send test event button next to the new row to confirm the routing key is valid. Clarion sends a
triggerevent and immediately resolves it, so the test will briefly appear in PagerDuty before clearing itself.
Step 4 — Reference PagerDuty in a skill or workspace prompt
PagerDuty isn’t a Clarion escalation channel — operators don’t acknowledge pages back into Clarion. Instead, agents call PagerDuty directly when a skill or the workspace system prompt tells them to.- Open a skill (or the workspace system prompt) in Clarion.
- Type
#in the editor and pick PagerDuty from the channel/notification menu. - The block embeds with no extra configuration — the agent picks which PagerDuty channel to page at runtime, so the same skill works in any workspace that has PagerDuty channels configured.
What the agent can do
When the skill runs and the workspace has at least one PagerDuty channel, the agent gets two tools:| Tool | Purpose |
|---|---|
mcp__pagerduty__list_channels | List channels the workspace has configured (returns id + name). The agent calls this first to know which channels exist. |
mcp__pagerduty__trigger_alert | Page a specific channel. The agent passes the channel id, a summary (the PagerDuty incident title), and a severity (critical / error / warning / info). Optionally a dedupKey to coalesce repeats, and customDetails to surface structured fields in PagerDuty’s “Custom Details” panel. |
Default approval gating
trigger_alert requires human approval by default because it pages on-call humans. The agent pauses, the configured notification channel pings the operator, and execution resumes once the request is approved. You can change this in Workspace → Tools for mcp__pagerduty__trigger_alert if you want certain skills to page automatically.
Severity rules of thumb
critical— production is down, someone needs to act in minutes. Routes through PagerDuty’s escalation policy at full urgency.error— urgent but not immediately dangerous. Sensible default for “this is bad, someone should look at it.”warning— action will be needed but not right now. Good for backlog work surfaced during triage.info— FYI; will not page in most PagerDuty service configurations.
Coalescing repeat pages with dedupKey
If a skill might trigger more than once for the same underlying condition (e.g. the agent runs again on a recurring alert), pass a stable dedupKey — for instance the alert id, the affected resource ARN, or any identifier that uniquely names the condition. PagerDuty will update the existing incident instead of opening a new one. Omit dedupKey and Clarion generates a key based on the channel and summary, so accidental re-fires inside a single agent run still coalesce.
Alert title and details
Clarion automatically rewrites every PagerDuty alert so the on-call responder can act on it without leaving PagerDuty:- The incident summary is always prefixed with
[Cantina Clarion]regardless of what the agent supplied. - The incident’s Custom Details panel always includes a
clarion_urlfield linking back to the source alert in Clarion (or to the workspace if the agent run wasn’t alert-driven).
Disconnect
To remove the PagerDuty integration:- In Clarion, open Integrations → PagerDuty.
- Remove the individual channels you no longer need, or
- Disconnect the whole integration from the integrations list.
Troubleshooting
”PagerDuty test failed: …”
The routing key was rejected. Common causes:- The key was copied with extra whitespace — re-copy from PagerDuty.
- The integration in PagerDuty is Events API v1 rather than v2. Clarion only supports v2.
- The PagerDuty service the integration belongs to has been deleted or suspended.