Create a Variant
The variant creation dialog guides you through two steps.1
Go to Confidence
2
On the left sidebar, select Flags
3
Go to the flag you want to add a variant to
4
Click the add button next to Variants on the flag page
5
Step 1: Enter variant details
Enter a Name for the variant. Choose a descriptive name like
new-design. The name can’t be changed after creation.Optionally add a Description to explain what this variant represents.Optionally add an Image to help visually identify the variant.Click Next to continue.6
Step 2: Set property values
Set the values this variant returns for each property in the flag’s schema.If you leave a property empty, the SDK returns the default value specified in the client when the flag is resolved.Click Create to create the variant.
Related Resources
Create Rules
Target users with your variants
Edit Flag Schema
Define properties for your variants
Launch an A/B Test
Compare variants in an experiment
Create Variants API
API reference for variants

