> ## Documentation Index
> Fetch the complete documentation index at: https://docs.growthbook.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Feature Flags

> Control application behavior with feature flags: target users, roll out gradually, and run A/B tests without a new deploy.

Feature flags let you control your application's behavior from GrowthBook, without deploying new code. Target specific users, gradually roll out changes, or run A/B tests on the client or the server.

Feature flags decouple deploys from releases. Release code more frequently and with less risk by launching to a subset of users, ramping up gradually, or turning any change into an experiment.

![Features Overview](https://mintcdn.com/growthbook-ea15456d/1rsmujQCDzXz2Vho/static/images/features/features-overview.png?fit=max\&auto=format\&n=1rsmujQCDzXz2Vho\&q=85\&s=3ee869d40fb640f1ad202b6de4bb9e96)

## Getting Started

To use feature flags, set up an [SDK Connection](https://docs.growthbook.io/lib/quickstart.md), then explore the docs below.

### Learn the Basics

* [Fundamentals](https://docs.growthbook.io/features/basics.md) — Keys, feature types, default values, and publishing
* [Environments](https://docs.growthbook.io/features/environments.md) — Control which features are enabled per environment (dev, staging, production)
* [Constants](https://docs.growthbook.io/features/constants.md) — Reusable named values you reference from flag values
* [Configs](https://docs.growthbook.io/features/configs.md) — Typed, validated, composable object shapes you can back JSON flags with (Enterprise)

### Set Up Targeting and Rules

* [Rules](https://docs.growthbook.io/features/rules.md) — How rules work, choosing a rule type, and configuring forced values, rollouts, experiments, and scheduling
* [Targeting Conditions](https://docs.growthbook.io/features/targeting.md) — Define who sees a feature using attributes, conditions, and saved groups
* [Safe Rollouts](https://docs.growthbook.io/features/safe-rollouts.md) — Release features with automatic guardrail monitoring
* [Ramp Schedules](https://docs.growthbook.io/features/ramp-schedules.md) — Progressively increase traffic on a rule over a defined timeline
* [Prerequisites](https://docs.growthbook.io/features/prerequisites.md) — Gate features based on the state of other features

### Manage Flags at Scale

* [Publishing & Approval Flows](https://docs.growthbook.io/features/publishing-and-approval-flows.md) — Drafts, revisions, merge conflicts, and requiring approvals for features and saved groups
* [Stale Feature Detection](https://docs.growthbook.io/features/stale-detection.md) — Identify flags that may no longer be in use
* [Code References](https://docs.growthbook.io/features/code-references.md) — Find where flags are used in your codebase
* [Feature Diagnostics](https://docs.growthbook.io/features/diagnostics.md) — Inspect feature evaluations in production
* [Custom Hooks](https://docs.growthbook.io/features/custom-hooks.md) — Extend GrowthBook with custom validation logic (self-hosted Enterprise)
