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

# Datadog

> Connecting Datadog to Unblocked

When you connect Datadog to Unblocked, Unblocked can reference incidents, logs, metrics, monitors, and hosts from your Datadog organization when answering questions about outages, alerts, and production issues. Unblocked provides links back to the original Datadog resources for easy reference.

<Steps>
  <Step title="Connect Datadog">
    In the Unblocked sidebar, click **Settings**, then **Data Sources**, then **Connect another data source**. Scroll to the Incident Management section and select Datadog.
  </Step>

  <Step title="Create an API Key">
    In Datadog, go to **Organization Settings** › **API Keys** and create a new API key.
  </Step>

  <Step title="Create an Application Key">
    In Datadog, go to **Organization Settings** › **Application Keys** and create a new application key with the following scopes:

    * `events_read`
    * `incident_read`
    * `logs_read_data`
    * `timeseries_query`
    * `monitors_read`
    * `hosts_read`
    * `apm_service_catalog_read` or `service_catalog_read`
    * `user_access_read`
  </Step>

  <Step title="Enter your keys and region">
    Paste the API key and application key into Unblocked, then select your Datadog region. If you're not sure which region to choose, US1 is the default.

    <img src="https://mintcdn.com/unblocked/ovoLelGxLLH0SrU1/img/Datadog-keys.png?fit=max&auto=format&n=ovoLelGxLLH0SrU1&q=85&s=4b4c7aaf0fb464ebfcb8859abee27a24" alt="Datadog keys" width="2880" height="1800" data-path="img/Datadog-keys.png" />

    | Region             | Base URL                        |
    | ------------------ | ------------------------------- |
    | US1 (default)      | `https://api.datadoghq.com`     |
    | US3                | `https://api.us3.datadoghq.com` |
    | US5                | `https://api.us5.datadoghq.com` |
    | EU1                | `https://api.datadoghq.eu`      |
    | AP1                | `https://api.ap1.datadoghq.com` |
    | AP2                | `https://api.ap2.datadoghq.com` |
    | US1-FED (GovCloud) | `https://api.ddog-gov.com`      |

    Click **Next**.
  </Step>

  <Step title="Done">
    Unblocked will begin referencing your Datadog incidents, logs, metrics, and monitors in its answers.

    <img src="https://mintcdn.com/unblocked/ovoLelGxLLH0SrU1/img/Datadog-connected.png?fit=max&auto=format&n=ovoLelGxLLH0SrU1&q=85&s=e9c19957c3c09d52c39df9f1cf374239" alt="Datadog connected" width="2880" height="1800" data-path="img/Datadog-connected.png" />
  </Step>
</Steps>
