# Using a segment

You can use a segment to target a set of users in a feature gate or a dynamic config:

* Select the feature gate or dynamic config where you want to target users

* Click the **Add New Rule** button

* In the criteria, select the **User in Segment** option

* Select the segment that you want to use and enter a name

  {% figure %}
  ![Segment targeting configuration interface](https://docs.statsig.com/images/segments/implement/129115596-fbaeb686-8adb-4ebe-9dcb-6dfecf0cf043.png)
  {% /figure %}

* Click the **Add Rule** button

* Click the **Save Changes** button at the top right of the **Rules** section
