---
title: "Feature Flags"
description: "With Feature Flags, Sentry tracks feature flag evaluations in your application, keeps an audit log of feature flag changes, and reports any suspicious updates that may have caused an error."
url: https://docs.sentry.io/platforms/javascript/guides/cloudflare/feature-flags/
---

# Set Up Feature Flags | Sentry for Cloudflare

## [Prerequisites](https://docs.sentry.io/platforms/javascript/guides/cloudflare/feature-flags.md#prerequisites)

* You have the [JavaScript SDK installed](https://docs.sentry.io/platforms/javascript/guides/cloudflare.md).

## [Enable Evaluation Tracking](https://docs.sentry.io/platforms/javascript/guides/cloudflare/feature-flags.md#enable-evaluation-tracking)

The generic `featureFlagsIntegration` allows you to manually track feature flag evaluations. Read the [documentation](https://docs.sentry.io/platforms/javascript/guides/cloudflare/configuration/integrations/featureflags.md) to learn more.

## [Enable Change Tracking](https://docs.sentry.io/platforms/javascript/guides/cloudflare/feature-flags.md#enable-change-tracking)

Change tracking requires registering a Sentry webhook with a feature flag provider. For set up instructions, visit the documentation for your provider:

* [Flagsmith](https://docs.sentry.io/organization/integrations/feature-flag/flagsmith.md#change-tracking)
* [LaunchDarkly](https://docs.sentry.io/organization/integrations/feature-flag/launchdarkly.md#change-tracking)
* [Statsig](https://docs.sentry.io/organization/integrations/feature-flag/statsig.md#change-tracking)
* [Unleash](https://docs.sentry.io/organization/integrations/feature-flag/unleash.md#change-tracking)
* [Generic](https://docs.sentry.io/organization/integrations/feature-flag/generic.md#change-tracking)
