This topic introduces the concept of segments. Segments let you group together users, accounts, or other contexts so you can easily target them as a group in your flag targeting rules. This helps guarantee that the right groups of people are getting the right flag variations every time, instead of having to build your flag targeting rules from scratch for every flag.
Some examples of segments you could create include:
Here is an example of a flag targeting a “Mobile beta” segment:

When you target segments in a flag rule, selecting multiple segments in a single condition uses OR logic. The rule matches if the context is a member of any one of the selected segments.
Using segments requires three steps:
Like contexts, segments are environment-specific.
We recommend using tags on your segments to help you understand quickly which segments are associated with which projects or teams. To learn more, read Tags.
For an example of how you can use segments, read Using segments and targeting to manage early access programs.
You can view segments from the Segments list:

From the list, you can filter segments to display only those matching the criteria you select. You can filter based on tags or segment kind using the Tags and Kind menus.
You can create shortcuts to filtered Segments lists, and save them in the left sidenav to return to at any time.
To create a shortcut to a filtered Segments list:

Your shortcut appears in the left sidenav.

To view a segment’s details:
The segment details page displays information about:

For each segment, contexts may be specified individually, by rules, by an uploaded file, or by a third-party application that is synced with LaunchDarkly. If the contexts are specified by a file or if they are synced, you can search for specific contexts that are included in this segment.
Read the topics in this category to learn how to create, manage, and delete segments: