# Datadog authentication

> To create a connection, you need the following credentials:

To create a connection, you need the following credentials:

* Host
* API key
* API application key

## Retrieve your credentials

### Datadog host

1. Locate the host in the browser URL when accessing your Datadog account:

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/integration-service/integration-service-docs-image-357001-c30623f5.webp)
2. Make sure to add the `https://api.` prefix once you've copied the subsequent portion from your account URL. In this example, your host would be: `https://api.datadoghq.com`.

### Datadog API and Application keys

1. Login to your Datadog account.
2. Select your profile icon in the top-right corner of the screen and select **Organization Settings**.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/integration-service/integration-service-docs-image-357005-9922c540.webp)
3. Select **API Keys** from the left-side panel. Create a new API Key or copy an existing one.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/integration-service/integration-service-docs-image-357009-3307ba6c.webp)
4. Next, select **Application Keys** from the left-side panel and create a new key or copy an existing one.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/integration-service/integration-service-docs-image-357018-6d6f749a.webp)
5. Select the Application Key you want to use and make sure it includes the following scope: `events_read`. For more details on scopes, refer to the [Datadog API Scopes documentation](https://docs.datadoghq.com/api/latest/scopes/).

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/integration-service/integration-service-docs-image-357027-6e3b642c.webp)

For more details on Datadog API key and Application key, refer to the official [Datadog API documentation](https://docs.datadoghq.com/account_management/api-app-keys/#api-keys).

## Add the Datadog connection

1. Select Orchestrator from the product launcher.
2. Select a folder, and then navigate to the **Connections** tab.
3. Select **Add connection**.
4. To open the connection creation page, select the connector from the list. You can use the search bar to find the connector.
5. Enter the required credentials: Host, API key, API application Key.

   For any secret-type field, you can select the menu next to the field and choose **Use credential asset** to reference an Orchestrator credential asset linked to an external vault instead of entering the value directly. For more information, see [Use credential assets for connections](credential-store-connections.md).
6. Select **Connect**.
