# Datadog

Firefly integrates with Datadog to pull in information like monitors, dashboards, and alerts as "assets". This means in your Firefly Inventory, you'll see Datadog monitors listed (with their configurations) just like cloud assets. You can then enforce IaC or policies on them as well (for example, ensuring all monitors follow a naming convention).

## Prerequisites

* A Datadog Application Key from your Datadog account.
* A Datadog API Key from your Datadog account.
* Ensure both keys have read permissions on Datadog data (usually Admin or standard API key is fine since Datadog doesn't have granular read roles).
* Access to Datadog's API Keys and Application Keys sections.

## Setup Procedure

1. In Firefly, select **Settings > Integrations** and then **Add New > Datadog**.
2. Create a new application key [here](https://app.datadoghq.com/organization-settings/application-keys).
3. From the upper-right corner, select **New Key**.
4. Copy and paste the application key into the box.
5. Create a new API key [here](https://app.datadoghq.com/organization-settings/api-keys).
6. From the upper-right corner, select **New Key**.
7. Copy and paste the API key into the box.
8. Select your Datadog site and click **Next**.
9. Click **Done**.

## Configuration Details

* Firefly scans every 8 hours by default for SaaS data.
* Your Datadog monitors list will stay updated automatically.
* You can enforce IaC or policies on your Datadog assets.
* Supports monitoring of Datadog monitors, dashboards, and alerts.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.firefly.ai/integrations/data-sources/datadog.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
