﻿---
title: PagerDuty data source MCP connector
description: The PagerDuty data source connects to PagerDuty via the PagerDuty MCP server to access incidents, escalation policies, schedules, on-calls, users, and...
url: https://www.elastic.co/elastic/docs-builder/docs/2852/reference/kibana/connectors-kibana/pagerduty-data-source
products:
  - Kibana
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Planned
---

# PagerDuty data source MCP connector
The PagerDuty data source connects to PagerDuty via the PagerDuty MCP server to access incidents, escalation policies, schedules, on-calls, users, and teams. Use it in data and context sources and agentic workflows to search and retrieve PagerDuty data.

## Add the PagerDuty data source

You add and configure the PagerDuty data source when setting up a data or context source in Kibana. You will be prompted for an **API token**. See [Get API credentials](#pagerduty-data-source-api-credentials) below.

## Get API credentials

To use the PagerDuty data source, you need a PagerDuty **API token** (REST API). This is not the same as an integration key used for the alerting connector.
1. Log in to [PagerDuty](https://www.pagerduty.com/).
2. Go to **Integrations** → **Developer Tools** → **API Access Keys** (or **User Settings** → **API Access** in some layouts).
3. Click **Create API User Token** (user token) or **Create Key** (general access key; requires admin). User tokens are scoped to your permissions.
4. Enter a description (for example, "Kibana data source") and create the token.
5. Copy the token and store it securely. You will not be able to see it again. Use this value as the **API token** when configuring the PagerDuty data source in Kibana.

For more details, see [PagerDuty API access keys](https://support.pagerduty.com/docs/api-access-keys) and [API authentication](https://developer.pagerduty.com/docs/rest-api-v2/authentication/).