Documentation Index
Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
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:- Internal users: a group of internal employees who test new features before you release them to your beta testers.
- Beta testers: A group of customers that have agreed to act as beta testers for new products and features
- Enterprise accounts: a group of all of your enterprise-level customer accounts who should have access to your premium features

How to use segments
Using segments requires three steps:- Create the segment
- Add targeting rules or add lists of contexts to target
- Target that segment in one or more flags
Example use
For an example of how you can use segments, read Using segments and targeting to manage early access programs.View segments
You can view segments from the Segments list:
Save filtered Segments lists
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:- Navigate to the Segments list.
- Add your desired environments to the Segments list following the instructions in Open environments.
- Add any segment filters you need such as tags or segment kind.
- Click the bolt icon above the Segments list to create a shortcut:

- Add a Name for your shortcut.
- (Optional) Choose an Icon to represent your shortcut in the left sidenav.
- Click Save.

View segment details
To view a segment’s details:- Navigate to the Segments list.
- Click the Name of the segment.
- The segment details page appears.
- which flags use this segment in their targeting rules
- which flag variations are served to the contexts in this segment
- which individual targets are included or excluded from this segment
- the targeting rules for this segment
