# How to use Datadog to receive data from Data Stream

import Tabs from '~/components/tabs/Tabs'


While configuring [streams](/en/documentation/products/observe/data-stream/), you need to set up a specific endpoint to stream your Azion data.

Continue reading for a step by step on how to connect a [Datadog](https://www.datadoghq.com/) endpoint to receive data from Data Stream.

---

## Datadog requirements

To get started, you must complete a few configurations in **Datadog**:

1. Create [an account](https://www.datadoghq.com/).
2. Log in to your [Datadog account](https://app.datadoghq.com/account/login).
3. On the left menu, select **Logs** > **Analytics** > copy your endpoint URL.
4. On the bottom corner of the left menu, hover over your name or email and select **Organization Settings** > **ACCESS** > **API Keys**.
5. Click the **New Key** button > provide a **Name** for your key.
6. Click the **Create Key** button.
7. Click the **Copy Key** button and save the copied key to use it later on.

---

## Configuring the endpoint in Data Stream

Next, follow these steps to configure the new endpoint you created in **Datadog** in your Azion **Data Stream**.

You can find detailed steps for the entire configuration on the [How to use Data Stream guide](/en/documentation/products/guides/use-data-stream/).

:::note
All `key` fields will be masked and an icon that allows revealing the field content will be only displayed to users with the `Edit Data Stream` permission. Users without the `Edit Data Stream` permission can only view the settings of the existing stream but not edit or create new ones.
:::

<Tabs client:visible>
    <Fragment slot="tab.console">Console</Fragment>
    <Fragment slot="tab.rtm">Real-Time Manager</Fragment>

<Fragment slot="panel.console">

In the **Destination** configurations:

1. On the **Connector** dropdown menu, select **Datadog**.
2. On **URL**, add the URL of your Datadog endpoint. Example: `http-intake.logs.datadoghq.com`
3. On **API Key**, add the key created in the Datadog API. Example: `a724716c63d1eeos5b20464w72f9ew495`
4. Make sure the **Active** switch is on.
5. Click the **Save** button.

</Fragment>

<Fragment slot="panel.rtm">

In the **Destination** configurations:

1. On the **Endpoint Type** dropdown menu, select **Datadog**.
2. On **Datadog URL**, add the URL of your Datadog endpoint. Example: `http-intake.logs.datadoghq.com`
3. On **API Key**, add the key created in the Datadog API. Example: `a724716c63d1eeos5b20464w72f9ew495`
4. Make sure the **Active** switch is on.
5. Click the **Save** button.

</Fragment>
</Tabs>

After saving the configurations, your data will be streamed to the newly configured endpoint.

You can keep track of the calls made by Data Stream to Datadog on [Real-Time Events](/en/documentation/products/observe/real-time-events/). To do so, select **Data Source** > **Data Stream** and choose the filters options as you wish.

---

### Trademarks

[Datadog](https://docs.datadoghq.com/) is a registered trademark of Datadog, Inc in the United States.