> ## Documentation Index
> Fetch the complete documentation index at: https://docs.airmdr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Datadog 

> Datadog is a cloud-based monitoring, security, and analytics platform that provides real-time visibility into applications, infrastructure, logs, and security metrics. It helps organizations detect issues, optimize performance, and enhance security.

### Pre-requisites

Only users with an **Admin** or **Standard** role can create new keys.

### Generate Datadog API Key and Application Key

<Steps>
  <Step title="Access Datadog">
    1. Login to the [Datadog](https://app.datadoghq.com/) Account.
    2. Provide the necessary credentials (**email** and **password**), and click **Sign In**.

           <img src="https://mintcdn.com/airmdr/wnBXbVlE7mmN9W6R/images/Datadog8.png?fit=max&auto=format&n=wnBXbVlE7mmN9W6R&q=85&s=1eba8dbeaf748d16b8eb67198b881951" alt="" width="944" height="541" data-path="images/Datadog8.png" />
  </Step>

  <Step title="Navigate to Settings">
    1. After logging in, click on your profile icon (bottom-left corner).
    2. Select **Organization Settings**, click on **API Keys**.

           <img src="https://mintcdn.com/airmdr/wnBXbVlE7mmN9W6R/images/Datadog.png?fit=max&auto=format&n=wnBXbVlE7mmN9W6R&q=85&s=2e55c577c60589262507a58cb10578c6" alt="" width="768" height="412" data-path="images/Datadog.png" />
  </Step>

  <Step title="Create an API Key">
    1. Click on **+ New Key** button.

           <img src="https://mintcdn.com/airmdr/wnBXbVlE7mmN9W6R/images/Datadog2.png?fit=max&auto=format&n=wnBXbVlE7mmN9W6R&q=85&s=1ac46a7c38cf4544e4dab7453a7bdff6" alt="Datadog2 Pn" width="782" height="412" data-path="images/Datadog2.png" />
    2. Enter a **Name** for the New API Key (e.g., `Test-API-Key`).

           <img src="https://mintcdn.com/airmdr/wnBXbVlE7mmN9W6R/images/Datadog3.png?fit=max&auto=format&n=wnBXbVlE7mmN9W6R&q=85&s=4fc3186d4cb351bff274441ceb367d15" alt="" width="782" height="277" data-path="images/Datadog3.png" />
    3. Click **Create Key**.
    4. **Copy** and securely store the generated **API Key** (you won’t be able to see it again).

           <img src="https://mintcdn.com/airmdr/wnBXbVlE7mmN9W6R/images/Datadog4.png?fit=max&auto=format&n=wnBXbVlE7mmN9W6R&q=85&s=b57d867b6f361869d2e24140c837d63d" alt="" width="779" height="305" data-path="images/Datadog4.png" />

       📌 **Note:** API Keys are used for authentication when sending logs, metrics, and traces to Datadog.
  </Step>

  <Step title="Create an Application Key">
    1. Click on your profile icon (bottom-left corner).
    2. Select **Organization Settings**, click on **Application Keys**.

           <img src="https://mintcdn.com/airmdr/wnBXbVlE7mmN9W6R/images/Datadog5.png?fit=max&auto=format&n=wnBXbVlE7mmN9W6R&q=85&s=719420b2b3deb34315d2f74b003b96a1" alt="" width="780" height="405" data-path="images/Datadog5.png" />
    3. Click **New Key**.
    4. Enter a name for the Application Key (e.g., `Test-Application-Key`).
    5. Click **Create Key**.

           <img src="https://mintcdn.com/airmdr/wnBXbVlE7mmN9W6R/images/Datadog6.png?fit=max&auto=format&n=wnBXbVlE7mmN9W6R&q=85&s=79b63af69b59a0625f804b047e90bd8b" alt="" width="781" height="289" data-path="images/Datadog6.png" />
    6. **Copy** and securely store the **Application Key**.

           <img src="https://mintcdn.com/airmdr/wnBXbVlE7mmN9W6R/images/Datadog7.png?fit=max&auto=format&n=wnBXbVlE7mmN9W6R&q=85&s=baa68f61fa86b488fb9cfc8e43396733" alt="" width="780" height="327" data-path="images/Datadog7.png" />

       📌 **Note:** Application Keys are used for **making authenticated API requests** to Datadog (e.g., retrieving logs, dashboards, or managing configurations).

    <Check>
      <Icon icon="envelope" /> Share the **API Key** and **Application Key** securely to AirMDR.\
      (or) \
      Self Configure Datadog API in the AirMDR Integrations Dashboard.
    </Check>
  </Step>
</Steps>

### Skills Provided by this Integration

| Skill ID                     | Purpose                                                                        |
| ---------------------------- | ------------------------------------------------------------------------------ |
| Fetch Signals from Datadog   | Fetches signals that match a specific query in the Datadog dashboard.          |
| Fetch Logs from Datadog      | Fetches logs that match a log search query in datdog dashboard.                |
| Fetch Incidents from Datadog | Fetches incident details that match a specific query in the Datadog dashboard. |

<Tip>
  To view the details of Input Parameters and Output for the respective skills

  * Go to [AirMDR → DataDog](https://app.airmdr.com/integrations?search=datadog) Integration page.
  * Select the **Skills** tab and click on the required listed skills.
</Tip>

### Configure Datadog API in AirMDR Integrations Dashboard

1. Navigate to [AirMDR](https://app.airmdr.com/auth/login), provide the credentials and click **Login**

   <img src="https://mintcdn.com/airmdr/wnBXbVlE7mmN9W6R/images/Datadog11.png?fit=max&auto=format&n=wnBXbVlE7mmN9W6R&q=85&s=94afec6835b90abcec516831e584184f" alt="" width="443" height="568" data-path="images/Datadog11.png" />
2. Navigate to the AirMDR Integrations Dashboard in the left navigation pane and select **Integrations.**

   <img src="https://mintcdn.com/airmdr/pl9e-Lras4_STslR/images/AirMDRLeftNavigationPane.png?fit=max&auto=format&n=pl9e-Lras4_STslR&q=85&s=66568edbd3f27bc058d589bfe23f3bcd" alt="Air MDR Left Navigation Pane Pn" width="472" height="1086" data-path="images/AirMDRLeftNavigationPane.png" />
3. Use the search option, enter the keyword "**Datadog**", select the **Connections** tab, and click **Add New Connection**.
4. Enter an unique name to the Instance (e.g., `your org name-Datadog`) and brief **Description** to easily identify the user connection by AirMDR.
5. Enter the generated **API Key**, **Application Key** and Expiry (optional) in the Authentication Details field params, and click **Save.**

   <img src="https://mintcdn.com/airmdr/W5BFRo2_DVxFxGS8/images/Datadog15.png?fit=max&auto=format&n=W5BFRo2_DVxFxGS8&q=85&s=0bcd951b4324231391dfae7c17c6f5c2" alt="Datadog15 Pn" width="890" height="1480" data-path="images/Datadog15.png" />

### Evaluate Datadog API & Application Keys

Open **cURL** and run the following command to check if your API Key is working:

```

curl -X GET 'https://api.datadoghq.com/api/v2/users?page[size]=1&page[offset]=1' \
-H 'Content-Type: application/json' \
-H 'DD-API-KEY: your_api_key_here' \
-H 'DD-APPLICATION-KEY: your_application_key_here' \
-H 'Accept: application/json'
```

Response

```
{"valid": true}
```
