> ## Documentation Index
> Fetch the complete documentation index at: https://confidence-auth-testing.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an Individual Targeting Rule

> Learn how to create an individual targeting rule to force a specific variant for testing and debugging.

**Create an Individual Targeting Rule**

Learn how to create an individual targeting rule to force a specific variant for testing and debugging.

[Individual targeting rules](/docs/capabilities/flags/define-rules.md#individual-targeting-rules) force a specific variant for a set of users.

## Create an Individual Targeting Rule

To create an individual targeting rule, follow these steps.

**1. Go to Confidence and select Flags on the left sidebar**

**2. Go to the flag you want to add a rule to**

**3. Click the add rule button in the Rules section**

**4. Select Create individual targeting rule**

**5. Step 1: Add a description (optional)**

Describe why you're adding this rule. This helps others understand the purpose and intended effect.

**6. Step 2: Configure the targeting**

* **Serve**: Select the variant to assign to matching users.
* **To**: Select which attribute in the evaluation context to match against (such as User ID).
* **Matching**: Enter the specific values that should receive the variant. You can add multiple values or paste a list.

**7. Step 3: Choose environments**

Select whether the rule applies to all environments or only specific environments. This step only appears if you have more than one environment.

**8. Click Create and activate**

The rule is created and immediately active. To create without activating, use the dropdown menu next to the button.

The rule now gives the selected variant to requests that match any of the values you specified.

> [!TIP]
>
> Place individual targeting rules at the top of the rule list to ensure they evaluate first. See [how to reorder rules](/docs/capabilities/flags/reorder-rules.md).

## Related Resources

> **[Rules Reference](/docs/capabilities/flags/define-rules.md)**
>
> Deep dive into rule types and configuration

> **[Reorder Rules](/docs/capabilities/flags/reorder-rules.md)**
>
> Manage rule priority and order

> **[Create Conditional Targeting Rules](/docs/capabilities/flags/create-conditional-targeting-rule.md)**
>
> Target users with flexible criteria

> **[Test Flag Resolution](/docs/capabilities/flags/resolve-tester.md)**
>
> Verify your rules work correctly
