This document describes how to get started with Flipt v2.
default
along with the default
namespace.
New Flag
.Variant
type.Enabled
so the flag will be enabled once created.Create
.Create Variant
.Add
.Update
to save the flag and variants.Flags
in the navigation menu and you should now see your newly created
flag in the list.
Segments
.New Segment
.Create
.Create Constraint
.Add
.Update
to save the segment and constraint.Segments
in the navigation menu and you should now see your newly
created segment in the list.
Rules
tab.New Rule
.Segment
choose or search for the segment you created earlier.Type
choose Multi-Variate
.Add
.Update
to save the rule.Single Variant
instead of
Multi-Variate
when setting up your rule. This would effectively mean you
have a single distribution, a variant with 100%
chance of being returned.Playground
page from the main navigation.Entity ID
field is pre-populated with a random UUID. This represents
the ID that you would use to uniquely identify entities (ex: users) that you
want to test against your flags.Evaluate
.Request Context
and Entity ID
fields.