Set up feature flags

Ship features without sweating the launch. Roll out gradually, kill instantly if needed.

Categories: feature flags

Tools that power the Set up feature flags stack

Setup guide

  1. LaunchDarkly: Choose one flag provider. For LaunchDarkly, create a test flag, install the SDK for your runtime and distinguish browser-safe identifiers from server-only SDK credentials. Set a safe default and target a test user. Confirm behavior when the service is unavailable before rollout. (Read official instructions)
  2. PostHog: Use PostHog flags as an alternative if you already use its analytics. Initialize the appropriate SDK, wait for flag evaluation where necessary, and define a fallback. Test both variants and identify users consistently; do not assume analytics events alone configure a flag. (Open PostHog instructions)
  3. Unleash: Use Unleash as an alternative when its deployment model fits. Follow the current guide for your selected server, client SDK and gateway/Edge setup, with least-privilege credentials. Verify a client can evaluate its intended flags without receiving a server admin token. (Read official instructions)
  4. Flagsmith: Use Flagsmith as another alternative. Initialize its SDK with the correct environment identifier for the client or server runtime, set defaults and configure identities/traits as needed. Test enabled, disabled and offline behavior before exposing a feature to users. (Read official instructions)

    Check: On the chosen provider, targeted and untargeted users receive the intended values; missing or offline evaluation uses the safe fallback.