> For the complete documentation index, see [llms.txt](https://docs.balkan.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.balkan.id/getting-started/setting-up-your-tenant/application-integrations/direct-application-integration/datadog-integration-setup.md).

# Datadog Integration Setup

### Getting Started <a href="#h_01h9kvp3ms19ykdw3ry1g10bmy" id="h_01h9kvp3ms19ykdw3ry1g10bmy"></a>

BalkanID recommends creating a separate service account for the purposes of this integration, instead of using personal or employee named accounts.&#x20;

#### Requirements: <a href="#h_01hq2m7a5080f57t7sfq7ss69z" id="h_01hq2m7a5080f57t7sfq7ss69z"></a>

* ***API Key***
* ***Application Key***

#### Get API Key <a href="#h_01h9kvp3ms165xjr8q6kwf1ak0" id="h_01h9kvp3ms165xjr8q6kwf1ak0"></a>

1. Open your [**Datadog**](https://app.datadoghq.com/) Organization Page and navigate to [**Organization Settings**.](https://app.datadoghq.com/organization-settings/api-keys)<br>

   <figure><img src="/files/dwfCl0bCiKEhrT84BjHJ" alt=""><figcaption></figcaption></figure>
2. Click on *Access* > [*API Keys*.](https://app.datadoghq.com/organization-settings/api-keys)<br>

   <figure><img src="/files/cf6ze8vstwEzMkWsd5j9" alt=""><figcaption></figcaption></figure>
3. Click on **+ New Key** button on the top right.
4. Name the key **BalkanID** (or any other name you find appropriate for this purpose).<br>

   <figure><img src="/files/pVUYZIPf5ZFxVzYJxx1J" alt=""><figcaption></figcaption></figure>
5. Finally Click on **Create Key** and Copy the **Key.**<br>

   <figure><img src="/files/WNAEauQ0yXJ5b2uhChJ3" alt=""><figcaption></figcaption></figure>
6. Store the *API key* securely and input it into your BalkanID tenant as required.

#### Get Application Key <a href="#h_01h9kvp3msh4gxyef13hyaaccq" id="h_01h9kvp3msh4gxyef13hyaaccq"></a>

1. Open your [**Datadog**](https://app.datadoghq.com/) Organization Page and navigate to [**Organization Settings**.](https://app.datadoghq.com/organization-settings/api-keys)<br>

   <figure><img src="/files/vLC5np3QivmcPwJZAqyX" alt=""><figcaption></figcaption></figure>
2. Click on *Access* >[*Application Keys*](https://app.datadoghq.com/organization-settings/application-keys)*.*<br>

   <figure><img src="/files/IW2mEpRPKZEGyjJIsBAV" alt=""><figcaption></figcaption></figure>
3. Click on **+ New Key** button on the top right.
4. Name the key **BalkanID** (or any other name you find appropriate for this purpose).<br>

   <figure><img src="/files/WCxEDGjrFSojVh2qaye3" alt=""><figcaption></figcaption></figure>
5. Click On **Edit Scope**.<br>

   <figure><img src="/files/y5KCw8QWWA7Q7rtKX3iC" alt=""><figcaption></figcaption></figure>
6. Give the following Scope Permissions
   * user\_access\_read
   * incident\_read
   * security\_monitoring\_filters\_read
   * security\_monitoring\_rules\_read
   * dashboards\_read
   * events\_read
   * monitors\_read
   * slos\_read
   * synthetics\_global\_variable\_read
   * synthetics\_private\_location\_read
   * synthetics\_read
7. Store the *Application key* securely and input it into your BalkanID tenant as required.

### Configure Datadog within your BalkanID tenant <a href="#h_01h9kvp3mtgwwq0b0cpv33dk4g" id="h_01h9kvp3mtgwwq0b0cpv33dk4g"></a>

1. Login to the BalkanID application and switch to the tenant you would like to add your integration to.
2. Head to *Integrations* > *Third Party Applications* and click **Add Integration**, select **Datadog**. Set up the *Primary Application owner* and the D*escription*, if any.<br>

   <figure><img src="/files/ngtCxhyU3MOtxTqzhYjR" alt=""><figcaption></figcaption></figure>
3. Datadog would have been added to the list of applications. Click on the **Configure and Integrate** button beside the integration name, and configure the fields with the values that were noted prior. It should look like this:<br>

   <figure><img src="/files/QcYOuZJiJVOgh0D6RZtV" alt=""><figcaption></figcaption></figure>
4. Once you filled in the information, click **Save changes**. Your integration is now configured and you will see the status of the integration displayed alongside other integrations on the *Integrations* page. Integrations are synced daily. When data is available, the integration Status column will read **Connected** and the integration Message will read **Data available**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.balkan.id/getting-started/setting-up-your-tenant/application-integrations/direct-application-integration/datadog-integration-setup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
