# Target Groups

As explained in the [core concepts](../../core-concepts#target-groups) section, target groups allow you to segment your users in different groups based on common attributes. Target groups allow you to set different setting values for different users in your application, grouping your users based on a set of rules.&#x20;

![](https://1873622848-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MK4yy7MeiUC0w8GtqSH%2F-MM_AUBI-DIVZCC4DqwO%2F-MM_BEaYz8V_MGcVCq-8%2FFeature%20Flag%20Target%20Image%204-1.jpeg?alt=media\&token=d584dd92-0237-46fc-b17b-20f4554d8835)

Let's see how to create your first target group. Click on the Target Groups section on the sidebar.

![](https://1873622848-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MK4yy7MeiUC0w8GtqSH%2F-MM_AUBI-DIVZCC4DqwO%2F-MM_Bp0jxNols8Y22skk%2FScreenshot%202020-11-20%20at%2011.28.41.png?alt=media\&token=1b8c20f0-5b5d-4fbc-b332-f8e0ca0f75d7)

Enter the name of the target group; you notice that the key will be complete automatically. The key must be unique in the project, is the way Koople identify your target group. If the key already exists, the platform will throw an error message when trying to create it, and the key must be changed to complete the process. Optionally, you can add a description to your target group.

{% hint style="info" %}
Try naming your target groups with descriptive names. For instance "QA developers", the key will be automatically filled as "qa-developers". This naming will help you when coding, improving human readability.
{% endhint %}

{% hint style="info" %}
When a target group is created, it is replicated in all environments. Similarly, when we create a new environment, it will already have all the target groups created in the same project other's environments.
{% endhint %}

![](https://1873622848-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MK4yy7MeiUC0w8GtqSH%2F-MM_AUBI-DIVZCC4DqwO%2F-MM_CbEbVuAYW8o2NRKb%2FScreenshot%202020-11-20%20at%2011.32.19.png?alt=media\&token=afeb0315-f3f7-44a8-b622-4cb0fd0b6328)

Now it's time to create the rules to identify this group of users. When you click on the button "Create target group" you are redirected to the screen to define the group.

Let's start with a simple example. We are going to identify the group via email.

![](https://1873622848-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MK4yy7MeiUC0w8GtqSH%2F-MM_AUBI-DIVZCC4DqwO%2F-MM_EP3_RldNQ06CV5gp%2FScreenshot%202020-11-20%20at%2011.40.13.png?alt=media\&token=31b0ebdf-78ca-45e1-9646-4652e492cbcc)

However, identifying users by email may not be enough, especially when identifying users' groups. For these cases, we will need to add identification rules. These rules are simple logic operators like exist, is one of, greater than, etc.

The complete list of operators:

* is one of
* is not one of
* exists
* doesn't exist
* contains
* does not contain
* <
* <=
* \>
* \>=
* is truthy
* is falsy

It is possible to combine different rule with and/or operators.

![](https://1873622848-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MK4yy7MeiUC0w8GtqSH%2F-MM_AUBI-DIVZCC4DqwO%2F-MM_FIkzKZaocrzX1-wQ%2FScreenshot%202020-11-20%20at%2011.44.07.png?alt=media\&token=829dd5eb-5050-431e-8ff1-6e833cfef983)

So, now we know how to create target groups. What can we do with these target groups?&#x20;

If you have read the [Release Toggles](managing-release-toggles) section or the [Remote Config](remote-config) section you've noticed the rule operators can use target groups. Great! You got it! Now you can crate release toggles and remote config rules with target groups. That allows you to keep users grouped and reuse them in different toggles.
