Skip to main content
Connect Datadog to Adapt with an API key so Adapt can query your monitoring data, including metrics, monitors, events, and logs.

Set up credentials

1

Open API key settings

Sign in to Datadog and go to Organization Settings > API Keys.
2

Create an API key

Click New Key, enter a descriptive name, then click Create API key. Copy the key value and store it securely.
3

Note your Datadog site

Check the site for your organization in the browser address bar (for example, datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, or datadoghq.eu). You will use this as DD_SITE.
Your API key only works against the matching site. If DD_SITE does not match your organization’s region, requests fail.

Connect to Adapt

1

Open Integrations

In Adapt, go to Settings > Integrations.
2

Find Datadog

Search for Datadog and select it from the catalog.
3

Start the connection

Click Connect to open the connection form.
4

Add your credentials

Enter the values you gathered above, then click Add connection:
Secret NameValue
DD_API_KEYYour Datadog API key
DD_SITEYour Datadog site, e.g. datadoghq.com (optional)
You can rename the connection and choose whether it is shared with your organization or kept personal to you.
5

Test the connection

Ask Adapt to list your monitors.

Security

  • Credentials are encrypted at rest with AES-256
  • Use a dedicated API key (for example, owned by a service account) so you can rotate or revoke it without affecting other integrations
  • Rotate keys regularly and remove any you no longer use
  • Never share your API key or commit it to source control

Capabilities

Adapt can query your Datadog metrics, monitors, events, and logs within what the API key allows.

Examples

List my monitors that are currently alerting.
Show the trend for system CPU usage over the last 24 hours.
Summarize events from the last hour by source.
Search my logs for errors from the payments service.