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

# Using the Datadog dashboard widget

<View title="Developer" />

<View title="Federal docs" />

<View title="EU docs">
  <Danger>
    **This integration is not available on LaunchDarkly's European Union (EU) instance**

    To learn more, read <a href="/docs/home/infrastructure/eu">LaunchDarkly in the European Union (EU)</a>.
  </Danger>
</View>

<Warning>
  **This integration is deprecated**

  The Datadog UI extensions have been deprecated by Datadog as of March 31, 2025. You can recreate the functionality using the Datadog App Builder:

  1. From the App Builder in Datadog, choose **Start with Data**.
  2. Select "LaunchDarkly" and choose to continue.
  3. Select the LaunchDarkly actions that you want to include in your App.
</Warning>

LaunchDarkly's [Datadog dashboard widget](https://app.datadoghq.com/account/settings#integrations/launchdarkly) lets you pin feature flags to your Datadog dashboards to monitor and toggle flags from within Datadog. This allows you to manage feature releases in individual environments while monitoring your application performance, without needing to switch between applications.

You can use the widget to organize, monitor, and toggle your flags on and off. You can filter flags by attributes such as project, environment, or tags. Additionally, you can employ a [Datadog template variable](https://docs.datadoghq.com/dashboards/template_variables/) to ensure the contents update with the rest of your Datadog view.

<Frame caption="The &#x22;Save with comment&#x22; dialog for making flag changes within the Datadog dashboard widget.">
  <img src="https://mintcdn.com/launchdarkly/unfRSXbmQkdGxJjN/images/__third_party/datadog-dashboard-widget.png?fit=max&auto=format&n=unfRSXbmQkdGxJjN&q=85&s=84becd32890f006f09dbe598254ef22b" alt="The &#x22;Save with comment&#x22; dialog for making flag changes within the Datadog dashboard widget." width="1600" height="900" data-path="images/__third_party/datadog-dashboard-widget.png" />
</Frame>

The Datadog dashboard widget uses the same permissions set for an account member's Datadog and LaunchDarkly accounts. When using a shared dashboard, account members can view and edit flags based on their permissions within the LaunchDarkly app.

You cannot use the widget to toggle feature flags in environments that require approval. Instead, click on a flag name to open the flag's **Targeting** tab within LaunchDarkly and toggle the flag from there.

The toggle is disabled when a flag is in an environment requiring approvals:

<Frame caption="Disabled toggles in the Datadog widget.">
  <img src="https://mintcdn.com/launchdarkly/7dOLLfhGme_BglBp/images/__not_from_LD_app_UI/datadog-widget-approvals.png?fit=max&auto=format&n=7dOLLfhGme_BglBp&q=85&s=6d22aac35b77b20a9da061894c49b10d" alt="Disabled toggles in the Datadog widget." width="489" height="247" data-path="images/__not_from_LD_app_UI/datadog-widget-approvals.png" />
</Frame>

## Install the Datadog widget

To install the Datadog widget:

1. In Datadog, navigate to the Integrations page.
2. Search for LaunchDarkly or go directly to the [LaunchDarkly listing](https://app.datadoghq.com/account/settings#integrations/launchdarkly).
3. Click **Install**.

## Add the widget to a dashboard

To add the widget to your dashboard:

1. In Datadog, navigate to an existing dashboard or create a new one.
2. Click **Add Widgets**. The widget drawer appears.
3. Search for **LaunchDarkly**.
4. Click or drag the LaunchDarkly widget icon to your dashboard. The LaunchDarkly editor dialog appears.
5. Click **Connect**. A new window appears prompting you to authorize Datadog.
6. Click **Authorize**. You are returned to Datadog.
7. Configure the following widget options in the **LaunchDarkly editor**:

   * **LaunchDarkly project**: The name of the LaunchDarkly project you wish to associate with the dashboard widget.
   * **LaunchDarkly environment**: The name of the LaunchDarkly environment you wish to associate with the dashboard widget.
   * **Environment template variable** (optional): A [Datadog template variable](https://docs.datadoghq.com/dashboards/template_variables/) that overrides the **LaunchDarkly environment** option.
   * **LaunchDarkly tag filter**: An optional `+` separated list of tags used to filter the feature flags displayed in the widget. If multiple tags are included, only flags that match all included tags will appear. If omitted, all of the project's feature flags will appear.
   * **Sort**: The order the flags are displayed in the widget. Defaults to **Newest**.
8. (Optional) Enter a widget a title.

<Frame caption="The LaunchDarkly editor configuration page in Datadog, configured with sample settings.">
  <img src="https://mintcdn.com/launchdarkly/unfRSXbmQkdGxJjN/images/__third_party/datadog-widget-configuration.png?fit=max&auto=format&n=unfRSXbmQkdGxJjN&q=85&s=c9bb90102ab85db3b1def6b804602a10" alt="The LaunchDarkly editor configuration page in Datadog, configured with sample settings." width="1028" height="827" data-path="images/__third_party/datadog-widget-configuration.png" />
</Frame>

9. Click **Save**.
