Skip to main content

Datadog

Prefer guided AI setup?

Instead of following these steps manually, you can use the AI Credential Assistant — describe what you want to connect and the AI will walk you through the setup step by step, tailored to your account.

Overview

Connect your Datadog account to Nirvai to automate monitoring, access metrics, and integrate observability data into your workflows.

Supported Authentication Methods

  • API Key + Application Key - Required for full API access

Prerequisites

  • A Datadog account
  • Admin access to create API and Application keys

Setup Instructions

API Key & Application Key

Datadog requires both an API Key and an Application Key:

Step 1: Get Your API Key

  1. Log in to your Datadog account
  2. Go to Organization Settings (bottom of left sidebar)
  3. Navigate to API Keys under Access
  4. Click + New Key
  5. Enter a name (e.g., "Nirvai Integration")
  6. Click Create Key
  7. Copy the API Key

Step 2: Get Your Application Key

  1. In Organization Settings, go to Application Keys
  2. Click + New Key
  3. Enter a name (e.g., "Nirvai App Key")
  4. Click Create Key
  5. Copy the Application Key

Step 3: Configure in Nirvai

In Nirvai, enter:

  • Datadog Site: Select your region (see table below)
  • API Key: Paste your API Key
  • Application Key: Paste your Application Key

Datadog Sites

Select the correct site based on your account region:

SiteDomainLocation
US1 (default)datadoghq.comUnited States
US3us3.datadoghq.comUnited States
US5us5.datadoghq.comUnited States
EUdatadoghq.euEurope
AP1ap1.datadoghq.comAsia Pacific

Check your dashboard URL to identify your site.

Key Differences

Key TypePurposeHeader
API KeyAuthentication for sending dataDD-API-KEY
Application KeyUser-level access for reading dataDD-APPLICATION-KEY

Both are required for most API operations.

Available Operations

With Datadog credentials, you can:

  • Query metrics and time series data
  • Access logs and events
  • Manage monitors and alerts
  • Create and update dashboards
  • Access APM traces
  • Manage service level objectives (SLOs)

Troubleshooting

Common Issues

  • 401 Unauthorized: One or both keys are invalid. Verify both keys.
  • 403 Forbidden: Application key lacks required permissions.
  • Wrong Site: Using keys from different site. Match your account region.
  • Missing Application Key: Some endpoints require the Application Key.

Key Permissions

Application Keys inherit the permissions of the user who creates them:

  • Admin users get full access
  • Standard users get limited access
  • Consider creating a dedicated service account

Finding Your Site

Look at your Datadog dashboard URL:

  • app.datadoghq.com → US1
  • app.us3.datadoghq.com → US3
  • app.datadoghq.eu → EU

Key Rotation

For security:

  1. Create a new key
  2. Update integrations with new key
  3. Delete the old key
  4. Regularly rotate keys

Adapted from n8n documentation for Nirvai platform


Next Steps

Got your credential? Connect it to an agent

Use the AI Tool Creator to turn this credential into agent-callable tools. Describe what your agent should be able to do and the AI investigates the API, configures the endpoints, and gives you a reviewable toolkit before saving anything.