Feature flags are the foundation of the CloudBees Feature Management platform and can encompass many types of logic and code.
Before creating a feature flag, refer to About feature flags to learn about how feature flags work.
Flags can be created either in the CloudBees Feature Management UI or by adding feature flag code to your application. If you add feature flag code to your application, compile and run it to view your feature flags in the CloudBees Feature Management dashboard.
From the CloudBees Feature Management Home page, select either the Overview screen or any environment under Flags in Environments.
Select Create Flag on the top right of the screen.
Enter your flag name, and then select a flag type.
For string or number types only, you can select Define variations, and then enter predefined variations or free text as targeting values. To learn more, refer to Feature flag settings - Feature flag variations.
You can select Mark this flag as permanent to set the flag to Permanent status and ignore impression data. To learn more, refer to Environments - Flag status.
Select Create flag.Figure 1. Creating a new flag in the UI
Your new flag is created in all environments.