Creating feature flags

Feature flags are the foundation of the CloudBees Feature Flags platform and can encompass many different types of logic and code.

Before creating a feature flag, first be sure to learn about them from About feature flags.

Flags can be created either from the CloudBees Feature Flags UI or by adding feature flag code to your application. If you add feature flags to your application, once you compile and run the application the Flags are automatically available for you in the dashboard.

Creating a flag from the UI

  1. Navigate to either the Flags Overview screen or to any environment under Flags in Environments.

  2. Click the blue Create Flag button in the top right of the screen.

  3. Fill in the flag details and click on the Create Flag button.

Feature Flags

Your flag is now created!

To create flags from the code, please see the sections below: