> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Datadog in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/datadog
Last updated: 2026-11-24

Share Datadog with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API key + application key sign-in, 35 tools (20 read-only).

---

To give your team Datadog in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Datadog integration in a Metorial portal, and each person signs in to Datadog with their own account. Agents can monitor infrastructure, applications, and services across cloud environments. The integration has 35 tools, 20 read-only, 10 write and 5 destructive, plus 4 triggers.

**What you will learn**

- How an admin shares Datadog in a portal and how each person connects
- The 28 OAuth scopes Datadog can request, and what each one allows
- How to keep the 20 read-only tools and reject the other 15

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with Datadog for each person who connects
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in methods

| Method | Type | What a person provides |
| --- | --- | --- |
| **API Key + Application Key** | Custom credentials | `apiKey`, `appKey` and `site` |
| **OAuth2** (default) | OAuth | Signs in to Datadog after entering `site` |

The portal and `metorial setup` use **OAuth2** unless someone picks another method.

### API Key + Application Key

To connect, a person enters these values:

- `apiKey`: Datadog API key (DD-API-KEY)
- `appKey`: Datadog Application key (DD-APPLICATION-KEY)
- `site` (optional): Datadog site/region for validating the keys One of "datadoghq.com", "us3.datadoghq.com", "us5.datadoghq.com", "datadoghq.eu", "ap1.datadoghq.com", "ap2.datadoghq.com", "ddog-gov.com".

### OAuth2

Before the sign-in, setup asks for:

- `site` (optional): Datadog site/region for your account One of "datadoghq.com", "us3.datadoghq.com", "us5.datadoghq.com", "datadoghq.eu", "ap1.datadoghq.com", "ap2.datadoghq.com", "ddog-gov.com".

People sign in to Datadog and approve the scopes you allow. The integration can request:

| Scope | Name | What it allows |
| --- | --- | --- |
| `dashboards_read` | Dashboards Read | View dashboards and dashboard lists |
| `dashboards_write` | Dashboards Write | Create, update, and delete dashboards |
| `monitors_read` | Monitors Read | View monitors and monitor search |
| `monitors_write` | Monitors Write | Create, edit, delete, mute, and unmute monitors |
| `monitors_downtime` | Monitors Downtime | Manage downtimes for monitors |
| `metrics_read` | Metrics Read | View and list metrics |
| `timeseries_query` | Timeseries Query | Query timeseries and scalar data |
| `events_read` | Events Read | Read events from the event stream |
| `logs_read_data` | Logs Read Data | Read log data |
| `incident_read` | Incident Read | View incidents |
| `incident_write` | Incident Write | Create, update, and delete incidents |
| `user_access_read` | User Access Read | View user access information |
| `user_access_invite` | User Access Invite | Create users and send invitations |
| `api_keys_read` | API Keys Read | View API keys |
| `api_keys_write` | API Keys Write | Create and manage API keys |
| `synthetics_read` | Synthetics Read | View Synthetics tests and results |
| `synthetics_write` | Synthetics Write | Create, edit, and delete Synthetics tests |
| `slos_read` | SLOs Read | View service level objectives |
| `slos_write` | SLOs Write | Create, update, and delete SLOs |
| `hosts_read` | Hosts Read | View host information |
| `apm_read` | APM Read | Read and query APM and Trace Analytics |
| `security_monitoring_signals_read` | Security Monitoring Signals Read | Read security monitoring signals |
| `security_monitoring_rules_read` | Security Monitoring Rules Read | Read security monitoring rules |
| `cases_read` | Cases Read | View cases |
| `cases_write` | Cases Write | Create and manage cases |
| `usage_read` | Usage Read | View usage data |
| `create_webhooks` | Create Webhooks | Create webhook integrations |
| `manage_integrations` | Manage Integrations | Manage integration configurations |

### Setup settings

Whichever method you pick, setup also asks for:

- `site` (optional): Datadog site/region for your account. Determines the API base URL. One of "datadoghq.com", "us3.datadoghq.com", "us5.datadoghq.com", "datadoghq.eu", "ap1.datadoghq.com", "ap2.datadoghq.com", "ddog-gov.com".

## Use your own Datadog OAuth app

With your own OAuth app, people see your company's name on the Datadog consent screen, and the client ID and secret belong to you.

1. **Start the credentials in Metorial**

   In the dashboard, select **Settings**, then **Organization Settings**. Under **Integrations and MCP**, select **Provider Auth**, then **Create Auth Credentials**. Choose Datadog and copy the **Redirect URI**.

2. **Register the app with Datadog**

   Create an OAuth app or client in Datadog and add the redirect URI from Metorial as its redirect or callback URL. The vendor documents this in [OAuth documentation](https://docs.datadoghq.com/extend/authorization/oauth2_endpoints/).

3. **Finish in Metorial**

   Copy the app's client ID and client secret. Back in Metorial, enter a **Name**, the **Client ID** and the **Client Secret**, review **Scopes**, and select **Create**. Then pick these credentials for the Datadog integration.

## Admin: share Datadog in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Datadog. Under **Auth Method**, keep **OAuth2** or pick another. For how members connect, choose **Each person connects**, so everyone signs in to Datadog as themselves.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Datadog.

4. **Choose who gets it**

   Add the access groups that should see Datadog. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Datadog integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search datadog
```

## Employee: connect Datadog

### In the portal

1. **Open Datadog in the catalog**

   Sign in to your portal and open Datadog. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A Datadog sign-in tab opens. Sign in and approve the permissions listed.

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search datadog
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **OAuth2**. To connect with **API Key + Application Key** instead, find its ID with `metorial catalog get <catalog-item-id>` and add `--auth-method <auth-method-id>`.

### Add it to your AI client

`metorial install` adds your Datadog connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list datadog
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 20 read-only tools, such as `get_slo` and `get_event`, and lose the 10 write tools, such as `manage_slo` or `post_event`, and the 5 destructive tools, such as `delete_slo` or `delete_monitor`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list datadog
metorial tools <integration-id>
metorial call <integration-id> list_dashboards -d '{}'
```

`metorial tools` lists the 35 tools, minus any you rejected. `list_dashboards` takes no input. It lists all Datadog dashboards in the organization.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (20)

- `query_metrics`: Query timeseries metric data from Datadog. Needs `query`, `from` and `to`.
- `list_synthetics_tests`: List all Datadog Synthetics tests.
- `get_dashboard`: Get full details of a specific Datadog dashboard by ID, including all widget definitions and template variables. Needs `dashboardId`.
- `list_users`: List users in the Datadog organization.
- `search_logs`: Search and retrieve logs from Datadog using query syntax. Needs `from` and `to`.
- `list_events`: List events from the Datadog event stream within a time range. Needs `start` and `end`.
- `get_synthetics_test`: Get details and recent results of a Datadog Synthetics test by its public ID. Needs `publicId`.
- `list_dashboards`: List all Datadog dashboards in the organization.
- `list_slos`: List Datadog Service Level Objectives.
- `list_incidents`: List Datadog incidents.
- `list_hosts`: List infrastructure hosts monitored by Datadog.
- `list_monitors`: List and search Datadog monitors.
- `list_active_metrics`: List metric names actively reporting to Datadog since a Unix timestamp. Needs `from`.
- `get_incident`: Get details for a Datadog incident by ID, including title, severity, state, customer impact, timestamps, and fields. Needs `incidentId`.
- `get_monitor`: Get full details for a Datadog monitor by ID, including its query, options, tags, and current state. Needs `monitorId`.
- `get_metric_metadata`: Get Datadog metadata for a metric, including type, unit, per-unit, description, integration, and StatsD interval when available. Needs `metricName`.
- `get_downtime`: Get details for a Datadog downtime by ID, including scope, status, monitor target, schedule, and notification settings. Needs `downtimeId`.
- `get_slo`: Get details for a Datadog Service Level Objective by ID, including thresholds, tags, monitors, and metric queries. Needs `sloId`.
- `get_event`: Get a specific Datadog event by ID, including its title, text, tags, host, priority, and alert type. Needs `eventId`.
- `list_downtimes`: List Datadog monitor downtimes.

### Write tools (10)

- `manage_incident`: Create or update a Datadog incident.
- `submit_logs`: Send log entries directly to Datadog. Needs `logs`.
- `trigger_synthetics`: Trigger one or more Datadog Synthetics tests on demand. Needs `testIds`.
- `mute_monitor`: Mute or unmute a Datadog monitor. Needs `monitorId` and `action`.
- `schedule_downtime`: Schedule a downtime to temporarily mute monitoring notifications. Needs `scope`.
- `manage_dashboard`: Create or update a Datadog dashboard.
- `post_event`: Post an event to the Datadog event stream. Needs `title` and `text`.
- `submit_metrics`: Submit custom metric data points to Datadog. Needs `series`.
- `manage_monitor`: Create or update a Datadog monitor.
- `manage_slo`: Create or update a Datadog Service Level Objective.

### Destructive tools (5)

- `delete_monitor`: Delete a Datadog monitor by its ID. Needs `monitorId`.
- `delete_incident`: Delete a Datadog incident by ID. Needs `incidentId`.
- `delete_slo`: Delete a Datadog Service Level Objective by ID. Needs `sloId`.
- `delete_dashboard`: Delete a Datadog dashboard by ID. Needs `dashboardId`.
- `cancel_downtime`: Cancel a Datadog downtime by ID to resume normal monitor notifications for its target scope. Needs `downtimeId`.

## Triggers

Datadog has 4 triggers, which fire on events in Datadog:

- `monitor_state_change`: Triggers when a Datadog monitor changes state (e.g., alert, warning, recovery, no data).
- `inbound_webhook`
- `new_event`: Triggers when a new event appears in the Datadog event stream.
- `incident_update`: Triggers when a Datadog incident is created or updated.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Datadog there
- [Create custom OAuth credentials](https://metorial.com/docs/platform/integrations/create-custom-oauth-credentials): the Provider Auth screens in more detail
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Datadog on metorial.com](https://metorial.com/integrations/datadog): the integration overview