# Feature flags

Flag features to test in production and iterate quickly—whatever your workflow.

## 1. Create your first feature flag

Create with the [UI](https://docs.reflag.com/#ui) ‍

Create from within [Linear](https://reflag.com/linear-slack).

Create with the [CLI](https://docs.reflag.com/api/cli)

Test locally with our [toolbar](https://docs.reflag.com/supported-languages/browser-sdk#toolbar)

Create a flag from your editor with the [MCP](https://docs.reflag.com/api/mcp) ‍

Works with most modern code editors and LLM chat clients.

## 2. Generate types

Types generated with the [CLI](https://docs.reflag.com/api/cli)

.svg)

Lookups check for features in Reflag.

%20(1).svg)

## 3. Rollout to some, or all, customers

Choose segments like plan type, companies, users—or use advanced [targeting rules](https://docs.reflag.com/product-handbook/concepts/targeting-rules)

Stages help everyone understand the status of features — ready for testing, live for everyone, etc.

“I’m very satisfied with how simple and seamless the product is to use. Our team adopted it quickly, and it has become a natural part of our workflow.”

Shlomi Sasson

VP R&D, ai.work

## 4. Clean up stale flags, automatically

Our [GitHub integration](https://reflag.com/self-cleaning) automatically removes old flags. Just approve the PR.‍

AI identifies unused flags and creates PRs in GitHub for you.

“Auto cleaning up stale feature flags is really cool! It’s always such a chore.”

Alex Gap

Engineer, Product Hunt

## All the essentials you’d expect

Gradual feature rollouts.

.svg)

[Multi-environment](https://docs.reflag.com/product-handbook/creating-and-managing-apps/environments) support.‍

[Instant rollback](https://docs.reflag.com/product-handbook/feature-rollouts/feature-targeting-rules#rolling-back-feature-access-changes) with audit history.

Runtime changes with [Remote Config](https://docs.reflag.com/product-handbook/remote-config)

.svg)

Low-latency global network.‍

Real-time event [debugger](https://docs.reflag.com/product-handbook/product-overview#event-log)

.svg)

See the complete flagging feature list on our [pricing page](https://reflag.com/pricing).

“Using Reflag at GitBook over the last few months and feature flagging has been such a breeze.”

Addison Schultz

Dev Lead, GitBook
