---
title: Feature Flags
description: Learn about feature flags in Datadog.
breadcrumbs: Docs > Feature Flags
---

# Feature Flags

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com, us2.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ({% placeholder "user-datadog-site-name" /%}).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

Datadog Feature Flags is Datadog's flag management product. You create flags in Datadog, deliver flag configuration to Datadog Feature Flags SDKs, and evaluate variants in your application through Datadog or OpenFeature APIs.

Datadog Feature Flags is built on the [OpenFeature standard](https://openfeature.dev/docs/reference/intro/), an open-source, vendor-neutral specification for feature flag APIs. If you're new to OpenFeature concepts like providers, evaluation context, and hooks, see the [OpenFeature concepts documentation](https://openfeature.dev/docs/category/concepts).

Feature flags enable you to toggle features on and off, conduct A/B/n testing, gradually roll out new functionality, and personalize user experiences without the need for extensive code deployments. With feature flags, you can empower your team to make dynamic changes, iterate rapidly, and deliver enhanced user experiences.

If your flags are managed by LaunchDarkly, Split, ConfigCat, or another provider and you only want Datadog to record evaluated variants in RUM, see [RUM Feature Flag Tracking](https://docs.datadoghq.com/real_user_monitoring/feature_flag_tracking.md) instead.

Use a client-side SDK when the flag is evaluated in a browser, mobile app, or game client. Use a server-side SDK when the flag is evaluated in a backend service that receives flag configuration through the Datadog Agent and Remote Configuration.

### Credentials at a glance{% #credentials-at-a-glance %}

| Credential     | Used by                                            | Where it goes                    | Sensitive?                              |
| -------------- | -------------------------------------------------- | -------------------------------- | --------------------------------------- |
| Client token   | Browser, mobile, and game SDKs                     | Client application configuration | No — safe to ship in public client code |
| Application ID | Browser and RUM-backed client SDKs                 | Client application configuration | No — public identifier                  |
| API key        | Datadog Agent for server-side Remote Configuration | Agent configuration only         | Yes — keep server-side only             |

Do not put API keys in browser, mobile, or game applications.

### Evaluation context and telemetry{% #evaluation-context-and-telemetry %}

Evaluation context attributes are the flat string, number, and Boolean values that Datadog uses for targeting rules and rollout bucketing. Set a stable `targetingKey`, such as a user ID, session ID, or device ID, so percentage rollouts are consistent.

Feature Flags telemetry includes exposure events, flag evaluation metrics, and optional RUM correlation depending on the SDK and configuration.

## Further reading{% #further-reading %}

- [Measure the business impact of every product change with Datadog Experiments](https://www.datadoghq.com/blog/experiments)
- [Make use of guardrail metrics and stop babysitting your releases](https://www.datadoghq.com/blog/guardrail-metrics)
- [Getting started with Feature Flags](https://docs.datadoghq.com/getting_started/feature_flags.md)
- [Learn the core concepts of Feature Flags](https://docs.datadoghq.com/feature_flags/concepts.md)
- [Set up Feature Flags for client-side applications](https://docs.datadoghq.com/feature_flags/client.md)
- [Set up Feature Flags for server-side applications](https://docs.datadoghq.com/feature_flags/server.md)
- [Migrate Your Feature Flags from LaunchDarkly](https://docs.datadoghq.com/feature_flags/guide/migrate_from_launchdarkly.md)
- [Migrate Your Feature Flags from Statsig](https://docs.datadoghq.com/feature_flags/guide/migrate_from_statsig.md)
- [Integrate Feature Flags with a Headless CMS](https://docs.datadoghq.com/feature_flags/guide/headless_cms.md)
