π Quickstart
Connect to Datadog with Nango and see data flow in 2 minutes.1
Create the integration
In Nango (free signup), go to Integrations -> Configure New Integration -> Datadog.
2
Authorize Datadog
Go to Connections -> Add Test Connection -> Connect, then enter your API Key, Site Parameter, and Application Key. Later, youβll let your users do the same directly from your app.
3
Call the Datadog API
Letβs make your first request to the Datadog API (validate your API key). Replace the placeholders below with your Environment API key, integration ID, and connection ID:Or fetch credentials with the Node SDK or API.β
Youβre connected! Check the Logs tab in Nango to inspect requests.
- cURL
- Node
curl "https://api.nango.dev/proxy/api/v1/validate" \
-H "Authorization: Bearer <NANGO-API-KEY>" \
-H "Provider-Config-Key: <INTEGRATION-ID>" \
-H "Connection-Id: <CONNECTION-ID>"
Install Nangoβs backend SDK with
npm i @nangohq/node. Then run:import { Nango } from '@nangohq/node';
const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });
const res = await nango.get({
endpoint: '/api/v1/validate',
providerConfigKey: '<INTEGRATION-ID>',
connectionId: '<CONNECTION-ID>'
});
console.log(res.data);
4
Implement Nango in your app
Follow our Auth implementation guide to integrate Nango in your app.
π Datadog Integration Guides
Nango-maintained guides for common use cases.- How to obtain your Datadog API & Application Keys
Find your Site Parameter, generate an API Key, and create an Application Key in Datadog
π§© Pre-built syncs & actions for Datadog
Enable them in your dashboard. Extend and customize to fit your needs.Others
| Function name | Description | Type | Source code |
|---|---|---|---|
add-host-tags | Add tags to a host | Action | π Github |
add-team-membership | Add a user to a team with a given role | Action | π Github |
cancel-downtime | Cancel a scheduled or active downtime. | Action | π Github |
create-api-key | Create a new API key for this account. | Action | π Github |
create-case-project | Create a new case-management project. | Action | π Github |
create-case | Create a new case within a project. | Action | π Github |
create-dashboard | Create a new dashboard with a widget layout. | Action | π Github |
create-downtime | Schedule a downtime (maintenance window) that suppresses monitor notifications for a scope/time range. | Action | π Github |
create-escalation-policy | Create a new On-Call escalation policy | Action | π Github |
create-incident | Create a new incident. | Action | π Github |
create-monitor | Create a new monitor | Action | π Github |
create-notebook | Create a new notebook | Action | π Github |
create-on-call-page | Trigger a new On-Call page (alert a specific person or escalation policy immediately, independent of a monitor firing). | Action | π Github |
create-on-call-schedule | Create a new On-Call rotation schedule | Action | π Github |
create-personal-access-token | Create a new personal access token. | Action | π Github |
create-role | Create a new role. | Action | π Github |
create-rum-application | Create a new RUM application (registers a client_token for browser/mobile SDK instrumentation). | Action | π Github |
create-sensitive-data-scanner-group | Create a new scanning group (a named collection of scanning rules with a shared filter) | Action | π Github |
create-sensitive-data-scanner-rule | Create a new scanning rule within a group (a pattern to detect and optionally redact). | Action | π Github |
create-service-account-access-token | Create an OAuth-style access token for a service account. | Action | π Github |
create-service-account-application-key | Create an application key owned by a service account. | Action | π Github |
create-service-account | Create a new service account (a non-human user identity for machine-to-machine API access). | Action | π Github |
create-service-definition | Create or update a service definition (also used for updates β same endpoint upserts by service name). | Action | π Github |
create-slo-correction | Create a new SLO correction window. | Action | π Github |
create-slo | Create a new metric-based or monitor-based Service Level Objective. | Action | π Github |
create-synthetic-api-test | Create a new Synthetic API (HTTP) test | Action | π Github |
create-synthetic-global-variable | Create a reusable global variable for use across Synthetic tests. | Action | π Github |
create-team | Create a new team. | Action | π Github |
create-user | Create a new user (invited by email) in this account. | Action | π Github |
delete-api-key | Delete an API key | Action | π Github |
delete-dashboard | Delete a dashboard. | Action | π Github |
delete-host-tags | Remove all tags from a host | Action | π Github |
delete-monitor | Delete a monitor. | Action | π Github |
delete-notebook | Delete a notebook. | Action | π Github |
delete-restriction-policy | Remove the restriction policy from a resource (reverting to default account-wide access rules). | Action | π Github |
delete-role | Delete a role. | Action | π Github |
delete-rum-application | Delete a RUM application. | Action | π Github |
delete-sensitive-data-scanner-rule | Delete a scanning rule. | Action | π Github |
delete-slo-correction | Permanently delete an SLO correction. | Action | π Github |
delete-slo | Delete an SLO. | Action | π Github |
delete-synthetic-tests | Delete one or more Synthetic tests. | Action | π Github |
delete-team | Delete a team. | Action | π Github |
delete-user-invitations | Revoke/delete all pending invitations for a user. | Action | π Github |
disable-user | Disable (deactivate) a user, preventing further login. | Action | π Github |
get-api-key | Get a single API keyβs metadata by id. | Action | π Github |
get-current-user | Get the profile of the user this connection authenticates as, including org/role relationships. | Action | π Github |
get-dashboard | Get a single dashboard by id, including its full widget layout. | Action | π Github |
get-host-tags | Get tags assigned to a specific host. | Action | π Github |
get-hourly-usage | Get hourly usage broken down by product family β the current recommended usage endpoint (most per-product v1 hourly endpoints are deprecated in favor of this one). | Action | π Github |
get-monitor | Get a single monitor by id | Action | π Github |
get-notebook | Get a single notebook by id. | Action | π Github |
get-on-call-schedule | Get a single On-Call schedule by id. | Action | π Github |
get-organization | Get details of a single organization. | Action | π Github |
get-restriction-policy | Get the restriction policy (fine-grained access bindings) for a specific resource. | Action | π Github |
get-role | Get a single role by id. | Action | π Github |
get-rum-application | Get a single RUM application by id. | Action | π Github |
get-sensitive-data-scanner-config | Get the full Sensitive Data Scanner configuration tree (scanning groups and rules). | Action | π Github |
get-slo-correction | Get a single SLO correction by id. | Action | π Github |
get-slo-history | Get the historical SLI value for an SLO over a time range. | Action | π Github |
get-slo | Get a single SLO by id. | Action | π Github |
get-synthetic-api-test | Get a single Synthetic API testβs configuration. | Action | π Github |
get-team | Get a single team by id. | Action | π Github |
get-usage-summary | Get a summary of billable usage across all Datadog products for a given month range. | Action | π Github |
get-user-invitation | Get the status/details of a single user invitation. | Action | π Github |
get-user | Get a single user by id. | Action | π Github |
list-api-keys | List API keys configured for this account (metadata only, not secret values). | Action | π Github |
list-application-keys | List application keys for this account. | Action | π Github |
list-case-projects | List case-management projects (containers for cases, similar in spirit to a Jira project). | Action | π Github |
list-cases | List or search cases across projects. | Action | π Github |
list-catalog-entities | List Software Catalog entities | Action | π Github |
list-container-images | List container images observed in this account, optionally enriched with security scan data. | Action | π Github |
list-containers | List containers reported by hosts running the Datadog Agent. | Action | π Github |
list-dashboards | List dashboards in this account. | Action | π Github |
list-downtimes | List scheduled and active downtimes. | Action | π Github |
list-events | List events (deployments, alerts, custom annotations) within a time range. | Action | π Github |
list-hosts | List hosts reporting into this account. | Action | π Github |
list-incidents | List incidents tracked via Datadog Incident Management. | Action | π Github |
list-metrics | List active metric names reporting in this account since a given time. | Action | π Github |
list-monitors | List monitors (alerting rules) configured in this Datadog account. | Action | π Github |
list-notebooks | List notebooks in this account. | Action | π Github |
list-organizations | List organizations manageable by this account (relevant for multi-org/MSP setups). | Action | π Github |
list-personal-access-tokens | List personal access tokens | Action | π Github |
list-processes | List processes reported by hosts running the Datadog Agentβs live process collection. | Action | π Github |
list-role-permissions | List the permissions granted to a role. | Action | π Github |
list-roles | List roles (permission bundles assignable to users) in this account. | Action | π Github |
list-rum-applications | List Real User Monitoring (RUM) applications configured in this account. | Action | π Github |
list-rum-metrics | List custom metrics derived from RUM events. | Action | π Github |
list-security-rules | List Cloud SIEM / Security Monitoring detection rules. | Action | π Github |
list-service-account-access-tokens | List access tokens issued to a service account. | Action | π Github |
list-service-account-application-keys | List application keys owned by a service account. | Action | π Github |
list-service-definitions | List service definitions in the Service Catalog. | Action | π Github |
list-slo-corrections | List SLO corrections (time windows excluded from an SLOβs error-budget calculation, e.g. for planned maintenance). | Action | π Github |
list-slos | List Service Level Objectives. | Action | π Github |
list-synthetic-locations | List available public and private Synthetic test locations. | Action | π Github |
list-synthetic-tests | List Synthetic API/browser/mobile tests. | Action | π Github |
list-team-memberships | List users who are members of a team. | Action | π Github |
list-teams | List teams in this organization. | Action | π Github |
list-user-identity-providers | Get identity-provider (SSO) overrides configured for a specific user. | Action | π Github |
list-user-permissions | List the effective permissions a user has (aggregated from their assigned roles). | Action | π Github |
list-user-team-memberships | List the teams a specific user belongs to (the inverse view of list-team-memberships, which lists users for a given team). | Action | π Github |
list-users | List users in this account. | Action | π Github |
mute-monitor | Mute (silence) a monitorβs notifications. | Action | π Github |
post-event | Create a custom event (annotation) on the Datadog event stream. | Action | π Github |
query-metrics | Query a metric time series data points over a time range. | Action | π Github |
search-logs | Search ingested log events within a time range. | Action | π Github |
send-user-invitation | (Re-)send an invitation email to one or more pending users. | Action | π Github |
submit-logs | Ingest raw log lines. | Action | π Github |
submit-metrics | Ingest custom metric data points | Action | π Github |
unmute-monitor | Unmute a previously muted monitor. | Action | π Github |
update-api-key | Rename an API key. | Action | π Github |
update-current-user | Update the profile of the user this connection authenticates as (name/title). | Action | π Github |
update-dashboard | Update a dashboardβs title, layout, or widgets. | Action | π Github |
update-monitor | Update a monitorβs name, query, message, or options. | Action | π Github |
update-notebook | Update a notebookβs name, cells, or time range. | Action | π Github |
update-organization | Update organization settings (name, billing, SAML config). | Action | π Github |
update-restriction-policy | Set or replace the restriction policy (access bindings) for a resource. | Action | π Github |
update-role | Update a roleβs name. | Action | π Github |
update-rum-application | Update a RUM applicationβs name or settings. | Action | π Github |
update-synthetic-api-test | Edit an existing Synthetic API test configuration. | Action | π Github |
update-team | Update a teamβs name, handle, or description. | Action | π Github |
update-user | Update a userβs name, email, title, or disabled status. | Action | π Github |
validate-monitor | Validate a monitor definition (type + query) without creating it. | Action | π Github |
case_projects | Sync case-management projects. | Sync | π Github |
dashboards | Sync dashboards in this account. | Sync | π Github |
events | Sync events (deployments, alerts, custom annotations) in a time window | Sync | π Github |
hosts | Sync hosts reporting into this account. | Sync | π Github |
monitors | Sync monitors (alerting rules) configured in this account. | Sync | π Github |
notebooks | Sync notebooks in this account. | Sync | π Github |
roles | Sync roles (permission bundles) configured in this account. | Sync | π Github |
rum_applications | Sync Real User Monitoring (RUM) applications configured in this account. | Sync | π Github |
service_definitions | Sync Service Catalog service definitions. | Sync | π Github |
slos | Sync Service Level Objectives. | Sync | π Github |
synthetic_tests | Sync Synthetic API/browser/mobile tests. | Sync | π Github |
teams | Sync teams in this organization. | Sync | π Github |
users | Sync users in this account. | Sync | π Github |