> ## 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.

<Frame>
  <img src="https://mintcdn.com/growthbook-ea15456d/1rsmujQCDzXz2Vho/static/images/features/features-overview.png?fit=max&auto=format&n=1rsmujQCDzXz2Vho&q=85&s=3ee869d40fb640f1ad202b6de4bb9e96" alt="Features Overview" width="3080" height="1774" data-path="static/images/features/features-overview.png" />
</Frame>

## Getting Started

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

### Learn the Basics

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

### Set Up Targeting and Rules

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

### Manage Flags at Scale

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