# 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-044fbb6e.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-4377c5d9.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-61c54fbe.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-5937c24f.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-ffd7181b.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 Integration Service from the left rail.
2. From the **Connectors** list, select Datadog. You can also use the search bar to find the connector.
3. Select the **Connect to Datadog** button. You are now redirected to the connection page.
4. Enter the required credentials: Host, API key, API application Key.
5. Select **Connect**.
