Getting Started with Feature Flags

Updated 6 months ago by Archana Singh

Feature Flags (FF) is a feature management solution that enables users to change the software's functionality without deploying new code. FF uses feature flags to hide code or behaviors without having to ship new versions of the software. A feature flag is like a powerful if statement.

if(HarnessFeatureFlag["newamazingfeature"] == true) {

A feature flag is a decision point in your code that can change the behavior of your software.

Before You Begin

Visual Summary

Getting Started

To get started with Feature Flags, you need to do the following:

Feature Flags Quick Guide

Feature Flags Quick Guide walks you through the process of getting your flag up and running in three simple steps:

  1. Create a Flag: Start with a simple Boolean flag.
  2. Set Up Your Application: Connect your flag to a sample application by installing an SDK setting up your code.
  3. Test Your Flag: Run your sample application to check if the events are received.

Perform the following steps to get started with the Feature Flags Quick Guide:

  1. In Feature Flags, in Get Started, click Try it Out.
  2. In Give your flag a memorable name, enter a name for your flag and click Next.
  3. Select the language for your application. For example, Java, Go, JavaScript, Android, etc.
  4. Create an Environment. See Create an Environment.
  5. Create an SDK Key. See Create an SDK Key.
  6. Click Verify.
  7. Toggle your flag ON/OFF and verify that the event received has the same value.

Next Step

Please Provide Feedback