Set up credentials
Open API key settings
Sign in to Datadog and go to
Organization Settings > API Keys.
Create an API key
Click New Key, enter a descriptive name, then click Create API key.
Copy the key value and store it securely.
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
Add your credentials
Enter the values you gathered above, then click Add connection:
You can rename the connection and choose whether it is shared with your
organization or kept personal to you.
| Secret Name | Value |
|---|---|
DD_API_KEY | Your Datadog API key |
DD_SITE | Your Datadog site, e.g. datadoghq.com (optional) |
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