---
title: Creating a Policy Group
slug: getting-started-guide-legacy-ui/creating-a-policy-group
description: Learn how policy groups function and how to create them using the step-by-step instructions outlined in this document. Discover how policies and black keys hold more importance than white keys, as the system prioritizes black key commands over white key c
docTags: 
createdAt: 2022-08-04T08:13:17.000Z
---

Policy groups consist of policies. If there are black and white keys defined in the same policy group, then black keys have a higher priority. If there are black and white keys that are defined in the same policy group, the system restricts the black key commands first, then allows the white key commands. If there are commands defined as white keys, the system allows these commands and restricts all other commands.

To create policy groups:

1. Navigate to **Policy Control&#x20;**> **Session Policy**.
2. **Policy Group** tab.
3. **Policy Name**, **Operation Mode**, **Select Policy Key**(s), **Action** under the **Policy Group Properties**.
4. **&#x20;Generate Error** in the **Action** field and then click the **Save** button.&#x20;

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/u2OEM7BuhxETTF2WBigK8_image.png "Policy Group")

