# Datadog Metrics

1. In order to set metrics in your status page from Datadog Synthetics, first head to your [Datadog dashboard](https://app.datadoghq.com/) and click on <mark style="background-color:green;">Application Keys</mark> from your organization's settings menu:<br>

   <figure><img src="https://4061983002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgIMm5p2V7PNx3dS7vwKE%2Fuploads%2FTTQsE7XpcihiFz8B98lq%2FScreenshot%202024-06-04%20at%2014.46.51.png?alt=media&#x26;token=e14239ec-5bf3-4c43-8fca-df974f741628" alt=""><figcaption></figcaption></figure>
2. Once there, create a new Application Key, making sure to Edit its scope to include `synthetics_read` permissions.

   <figure><img src="https://4061983002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgIMm5p2V7PNx3dS7vwKE%2Fuploads%2FOpnjW50KDeOwaLJTsslj%2FScreenshot%202024-06-04%20at%2014.49.18.png?alt=media&#x26;token=6d9306c6-0a7b-4e5c-b199-340922e09cce" alt=""><figcaption></figcaption></figure>
3. Now go to <mark style="background-color:green;">API Keys</mark> and create (or reuse) a Datadog API Key.

   <figure><img src="https://4061983002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgIMm5p2V7PNx3dS7vwKE%2Fuploads%2FWpjpPks5P3hCbFdcLsjM%2FScreenshot%202024-10-02%20at%2009.51.01.png?alt=media&#x26;token=480c5aed-5f55-4501-8075-d1dcbb1eba45" alt=""><figcaption></figcaption></figure>
4. In your status page's Admin site click on **Integrations** > **New integration** and select **Datadog** from the dropdown.
5. Enter the API and Application keys you obtained in **steps 1-3**, making sure to select the <mark style="background-color:yellow;">correct region</mark> and click on **Create**.
6. Then click on **Metrics** > **New metrics** and select your Datadog integration in the Source dropdown.
7. Select the synthetic test that you would like to create the metric from and configure your metric (for browser tests only Uptime type is supported) then click **Create**.<br>

   <figure><img src="https://d33v4339jhl8k0.cloudfront.net/docs/assets/5b7c6e932c7d3a03f89df563/images/5f9165cc52faff0016af2730/file-pGRmkG2dWx.png" alt=""><figcaption></figcaption></figure>
8. Once you've created the metric it should start populating with the last hour, it will continue to get populated in the next hours after that.<br>

   <figure><img src="https://d33v4339jhl8k0.cloudfront.net/docs/assets/5b7c6e932c7d3a03f89df563/images/5f916689c9e77c001621a5a1/file-iGhAklycEy.png" alt=""><figcaption></figcaption></figure>

<br>
