> For the complete documentation index, see [llms.txt](https://docs.questera.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.questera.ai/questera-ai-platform/data/feature-flags/how-to-add-a-feature-flag.md).

# How to add a feature flag

#### Step-by-Step Guide

1. **Login to Questera**

* Visit the Questera  and log in with your credentials.<br>

2. **Navigate to Feature Flags**

* On the left-hand Nav bar, scroll down to find Track & Measurements.
* Click to expand the section.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXctEay9lc8D9jFVDorqGnsNr0m27YrWJiROunwvbBH1mkH7Th2ha-q8w0aYasjXA580a-RyjFSctGNUM195iiH82tKI4m_-khvvSu5OE48KfogQsPD03BTBQl635B13H3D3wFMGAg?key=B7tqI3ctRltH_VsErWMcNi1J" alt=""><figcaption></figcaption></figure>

* Then click on Feature Flag to open the Feature Flags page.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdy0QIxcV0BKOetkpYvgPnNOBgR4M5snaENtH36ib7wn3G6nwRijA4fiUVYGTxirBHh9BGdVuQHMJRoGet2Jxb_xQS1Dc4_7iJSbZAPtverRat6UUPmaGFWUycI8mU6qMBQC9G_yA?key=B7tqI3ctRltH_VsErWMcNi1J" alt=""><figcaption></figcaption></figure>

\
\
**3. Click on Add Feature Flag**

* On the right side of the Feature Flags page, you’ll see a button labeled **Add Feature Flag**.
* Click it to start the process of creating a new feature flag.\ <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfkb2Y-4MnwN4nf4bKeeU0Ijh3nzQimk3oEKaYPzt2yM-e-7pWywBMjcpkxRRUc0hYTnF8EvkhWL_lySMex5U-FSwkoU0iOmdP8pRFoUBzq3XfGxEOF1WpOsmVbmzcduuUY26tbGg?key=B7tqI3ctRltH_VsErWMcNi1J" alt=""><figcaption></figcaption></figure>

#### &#x20;4. Select the Feature Flag Template

* A pop-up will appear, asking you to choose the type of Feature Flag you want to create:
  * **Kill Switch:** A simple ON/OFF toggle (Boolean flag) that enables or disables a feature globally. Think of it like a safety switch—either the feature is live (true) or completely off (false).
  * **Custom:** A more flexible flag where you can define additional rules or attributes. Ideal for targeting specific user segments, A/B tests, or gradual rollouts.
* Select the template that suits your use case by clicking on it.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfoJxT2mLzLKY11ZERnBBWnhEXH5kTcZ1yg4KcJssiFuCGWYQQRoHxqDvFtgcbzQVevSUW_3mmuc73f9x8fvM2_Yn-dFh4AoUqZlWsMG7_qqv3_zSyFSkJJbUFW-H0vU2Y8s4lHyQ?key=B7tqI3ctRltH_VsErWMcNi1J" alt=""><figcaption></figcaption></figure>

#### 5. Configure the Feature Flag

&#x20;**If you select Kill Switch:**

* You’ll be taken to the Create Kill Switch Feature Flag page.
* Fill in the details.
  * **Feature Flag Name:** Give your flag a clear and descriptive name (e.g., "New UI Rollout" or "Emergency Kill Switch").
  * **Description:** Briefly describe what this flag controls (e.g., "Disables the new checkout flow for all users").
  * **Targeted Element:** Specify which part of the system or app this flag will impact (e.g., a button, page section, or API).
  * **Element Content:** Add details about what the feature does, if needed.
  * **Tags:** Organize your flag with relevant tags for easy searching
  * **Status:** Set the initial status of the flag:
    * Enabled (True): The feature is ON.
    * Disabled (False): The feature is OFF.
* Once done, click **Save and Publish.**\ <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeMv_NkBYFZe4euEkb6pIHrCaVTYqGvtMozbAuzHPUZhgjK_yFtGST5NQ-JLsoituFjJXY7i_Agq2BLEUhV8WtmOGYX0SppWmoTqVEx7h4pEH6sxwlyGvHXd0nwgqpUAMBAjILVcg?key=B7tqI3ctRltH_VsErWMcNi1J" alt=""><figcaption></figcaption></figure>

**If you select Custom:**

* You’ll be taken to the **Create Custom Feature Flag page.**
* Here’s what you’ll need to fill:
  * **Feature Flag Name:** Name your flag (e.g., "Homepage Variant A").
  * **Flag Description:** Add a brief description about the flag’s purpose.
  * **Tags:** Assign relevant tags (e.g., "A/B Test", "New Feature").
* After filling in the details, click **Save and Publish.**\ <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeOHDWuZaXNsnB6Q7w4vdHstSJ7R6_CUt7OClNxOnf2Y4nyfBc3o-b4QCdSGlgKYz9NlNtsv76cb8wcPtPVri9wUyZXbkZyxcUzHVuoEMqJuPULi4g0vZNoWVNLq2uTXY_vqWeo3w?key=B7tqI3ctRltH_VsErWMcNi1J" alt=""><figcaption></figcaption></figure>

#### 6. Manage Your Feature Flags

* After saving, your Feature Flag will be visible on the main Feature Flags page.
* If you need to delete a flag, simply click on the flag and choose Delete.\ <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeO3NErEf7RWf7_SMZrwtGWVujj0vNeDO2u57AGGVEOAI7msMuhB6t0iMT7fqGmNOt897SMH4gieERL3-QNnlEhEQfPmhUfmz5p0PbRWzBMje3l3yj2l9f2hZqfcJo7THG8U-QfdA?key=B7tqI3ctRltH_VsErWMcNi1J" alt=""><figcaption></figcaption></figure>

<br>
