# How to Set Feature Flag Rules in Amplitude

> To set feature flag rules in Amplitude, navigate to the Testing section to choose ID and cohort values, configure user settings and rollout percentages in the Assignment section, adjust options like tags and variants under Settings, and click Save at the top-right corner to enable the rules.

Canonical: https://livedemo.ai/tutorials/how-to-set-feature-flag-rules-in-amplitude/
Apps: Amplitude
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a4dbdab56e05a00ff9643/preview?step=1

## Steps

1. To get started, go to the Testing section. Tap the 'User/Device IDs' and 'Cohorts' tab, then choose the value you prefer to use.
2. Following that, scroll down to the Assignment section to access the user-related settings. Select the type of user you prefer to use and then specify your desired rollout percentage.
3. Under the Settings section, reconfigure the options you want to adjust. For instance, you may add links, tags, deployments, and variants.
4. Finally, click 'Save' at the top-right corner to set and enable the new feature flag rules according to your recent input.
