> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Build whitelists to roll out a feature to internal users

> Use visitor code whitelists and targeted delivery rules to QA feature experiments with specific internal users before a broader release.

If you want to QA a feature experiment or roll out a feature variation to an internal group of users, using a user whitelist, combined with a targeted delivery rule is one of the easiest ways to achieve this goal.

For example, suppose you want to release a new feature with two variations: Feature A and Feature B. Before launching the experiment, you want to QA its live behavior by showing Feature A to a group of internal users and Feature B to a group of stakeholders. To do this, follow the simple steps below:

1. Create segments of whitelisted users (group A and B).
2. Create a targeted delivery rule for each group of users.

<Note>
  We do not recommend setting many user IDs (\< 20 per variation) as the size of your data file will increase and so will the latency, as the SDK must fetch a bigger file. If you wish to target more users, you can set a custom data attribute for the whole audience (for example, Internal users only) and then target the experience with that audience.
</Note>

## Create a targeted delivery rule for each group of users

1. Click **Activate** > **Feature flags** and edit your feature flag.
2. Add a new rule and select **Targeted delivery**.

<Frame>
  ![](https://storage.googleapis.com/kameleoon-storage-documentation/user-manual/images/experimentation/feature-experimentation/use-cases/build-whitelists-to-rollout-a-feature-for-internal-users/0.png)
</Frame>

3. On the right side of the panel, create a new segment (**Group A**) and look for the **Visitor code** condition. Add the user IDs that you want to be part of Group A.
4. Choose the variation you want to serve, for example, **Variation A**. All users from **Group A** will receive Variation A of your flag.

<Frame>
  ![](https://storage.googleapis.com/kameleoon-storage-documentation/user-manual/images/experimentation/feature-experimentation/use-cases/build-whitelists-to-rollout-a-feature-for-internal-users/1.png)
</Frame>

5. Add a second **Targeted delivery** rule and replicate the steps for **Variation B** and **Group B**.
