Skip to main content
Feature Flags lets you ship code paths behind a flag, then turn them on or off per environment without a redeploy. These docs walk through the three things every integration touches — environments, flags, and SDK keys — and then hand you off to the SDK guide that matches your stack. The examples throughout reuse three seeded flags from this repo: new_dashboard, welcome_message, and checkout_experiment. You’ll see them again in Getting started and in every SDK guide.

The mental model

An environment is the container everything else attaches to. Flags get attached to an environment; each environment has exactly one SDK key; your app uses that key to evaluate flags at runtime.
One SDK key per environment, one environment per stage of your pipeline (development, staging, production). If you need different flag states for staging vs. production, that’s two environments, not one flag with extra logic.

Core concepts

Three steps to a live flag

1

Provision an environment

Create an environment and copy its SDK key immediately — it’s only shown once. Then attach the flags this environment should evaluate (start with the seeded new_dashboard, welcome_message, and checkout_experiment if you’re just testing the waters).Full walkthrough: Getting started.
2

Integrate an SDK

Install and initialize the SDK that matches your runtime — Node.js and NestJS for backend services, Browser or React for client-side apps, Next.js if you need both, or Direct HTTP for anything else. Every SDK is initialized with the environment’s SDK key.
3

Evaluate a flag

Call isEnabled() (server/browser SDKs) or useFeatureFlag() (React) with the exact flag key. Flag keys are case-sensitive and must match the dashboard exactly — new_dashboard, not New_Dashboard or newDashboard.

Try it

Here’s the same flag, new_dashboard, evaluated from a backend service and from a React component. Package names and setup are covered in each SDK’s own guide — this is just the shape of the call.
If isEnabled() returns a default value instead of the value you set in the dashboard, double-check the flag is attached to the environment behind your SDK key — see Admin workflow.

Continue setup

Getting started

Create an environment, save the SDK key, and ship a first flag end to end.

Admin workflow

Manage flags, targeting rules, rollouts, and what to do if an SDK key leaks.