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

# Create a feature flag

> Create a new feature flag in Kameleoon and configure it using the Rollout Planner to control feature delivery across environments.

This guide will help you create a new feature flag.

## Access the Feature flag creation page

1. Click **Features** > **Flags & Experiments** > **New feature flag**.
2. Name your feature flag and choose the project on which you want to activate the flag.
3. Associate a tag and a description (optional)
4. Click **Validate**.

A feature key is automatically generated based on your feature flag's name; however, you can edit the feature key.

<Note>
  The feature key is the unique ID that identifies the feature flag in your source code. Be sure to update the feature key in Kameleoon before editing it in your source code.
</Note>

<Frame>
  ![](https://storage.googleapis.com/kameleoon-storage-documentation/user-manual/images/experimentation/feature-experimentation/create-and-manage-flags/create-a-feature-flag/feature-key.png)
</Frame>

By default, your flag is **OFF**. You can activate it once it's configured.

## Structure of the Rollout Planner

<Frame>
  ![](https://storage.googleapis.com/kameleoon-storage-documentation/user-manual/images/experimentation/feature-experimentation/create-and-manage-flags/create-a-feature-flag/rollout-planner.png)
</Frame>

The Rollout planner consists of several blocks.

* A **header** indicating the flag's name, the associated sitecode (you can copy and paste it directly from here), and the feature key. Click the flag's name to edit its details.
* A **Setup** menu, to create and manage your feature variables and feature variations URL.
* A **Rollout Planner** specific to each environment. Changes made to a feature flag are specific to the environment you have selected in this section. Kameleoon lets you link your production and staging/QA environments to the app.
* A **toggle** that turns your feature flag **On** or **Off**.
* An area for you to add rollout rules.
* A **toolbar** that allows you to access the AI assistant, revert your changes, and access secondary actions (**Simulate** and **Calculate duration**).
* A **Save** button.

<Note>
  Check that the flag has been created and that you can retrieve it from your source code by using our SDK (by calling the `isFeatureActive()` or `getVariation()` method). Then, navigate to your feature flag in Kameleoon and continue configuration.
</Note>
