Create your first feature flag create-feature-flag
Prerequisites prerequisites
Before creating a feature flag, complete the following:
- You have access to the Experience Rollouts console — see Log in to the console
- Your application is onboarded — see Onboard your application
- You have the Developer or Product Release Owner role
Step 1: Create the feature flag create
To create a new feature flag, follow these steps in the console:
- Log in to the Experience Rollouts console and navigate to Features & Releases > Feature Flags.
- Select your application from the Application drop-down.
- Select New Feature.
- Provide a title, key, description, and optionally a tag.
- Optionally add an audience criteria (see Step 2).
- Save your feature flag settings.
Step 2: Add an audience criteria audience
Audience criteria control which users see the feature. You can add criteria based on:
- Profile attributes (such as country, email domain, user ID)
- Context variables
- Predefined audience segments
To add audience criteria, go to the Audience tab when creating or editing a feature flag.
Step 3: Calculate audience size audience-size
After adding audience criteria, select Calculate in the bottom bar to get an estimated count of users who qualify for the feature. This helps validate your targeting before going live.
Step 4: Schedule (optional) schedule
You can schedule a feature flag to activate at a future date and time. See Schedule for details.
FAQ: I cannot add a feature flag as a Developer faq
The Developer role is sandboxed. Developers can test features privately by adding their User ID to the audience. They cannot expose features to external users. Use the Product Release Owner role to release features to external users. Contact your team admin to update your role.