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

# Datadog

> Configuring the Datadog backend (Managed)

### Getting Started

<img src="https://d15jtxgb40qetw.cloudfront.net/datadog.svg" alt="datadog" className="not-prose h-20" />

On the left sidebar, click on your username and then click on **Organization Settings**

<Frame>
  <img src="https://mintcdn.com/odigos/pHE1teVWLrD8x6Wa/snippets/shared/backends/images/datadog1.png?fit=max&auto=format&n=pHE1teVWLrD8x6Wa&q=85&s=1fed9ecd072cd3bc44a331e79fef38e0" alt="Organization settings menu" width="387" height="456" data-path="snippets/shared/backends/images/datadog1.png" />
</Frame>

Click on **API Keys** and then click on **New Key** and give it a name.

<Frame>
  <img src="https://mintcdn.com/odigos/pHE1teVWLrD8x6Wa/snippets/shared/backends/images/datadog2.png?fit=max&auto=format&n=pHE1teVWLrD8x6Wa&q=85&s=f8d85799fc464f727f77fb89ad458638" alt="New API key screen" width="1747" height="537" data-path="snippets/shared/backends/images/datadog2.png" />
</Frame>

### Configuring Destination Fields

<Accordion title="Supported Signals:">
  ✅ Traces
  ✅ Metrics
  ✅ Logs
  ❌ Profiles
</Accordion>

* **DATADOG\_API\_KEY** `string` : API Key. The API key for your Datadog account.
  * This field is required
* **DATADOG\_SITE** `string` : Site. The datadog site you are using (the url of the datadog site you are using).
  * This field is required

### Adding Destination to Odigos

There are two primary methods for configuring destinations in Odigos:

##### **Using the UI**

<Steps>
  <Step>
    Use the [Odigos CLI](https://docs.odigos.io/cli/odigos_ui) to access the UI

    ```bash theme={null}
    odigos ui
    ```
  </Step>

  <Step>
    Click on `Add Destination`, select `Datadog` and follow the on-screen instructions
  </Step>
</Steps>

##### **Using Kubernetes manifests**

<Steps>
  <Step>
    Save the YAML below to a file (e.g. `datadog.yaml`)

    ```yaml theme={null}
    apiVersion: odigos.io/v1alpha1
    kind: Destination
    metadata:
      name: datadog-example
      namespace: odigos-system
    spec:
      data:
        DATADOG_SITE: '<Site (options: [us3.datadoghq.com, datadoghq.com, us5.datadoghq.com,
          datadoghq.eu, ddog-gov.com, ap1.datadoghq.com])>'
      destinationName: datadog
      secretRef:
        name: datadog-secret
      signals:
      - TRACES
      - METRICS
      - LOGS
      type: datadog

    ---

    apiVersion: v1
    data:
      DATADOG_API_KEY: <Base64 API Key>
    kind: Secret
    metadata:
      name: datadog-secret
      namespace: odigos-system
    type: Opaque
    ```
  </Step>

  <Step>
    Apply the YAML using `kubectl`

    ```bash theme={null}
    kubectl apply -f datadog.yaml
    ```
  </Step>
</Steps>
