---
title: Creating a Policy Group
slug: kronpam-getting-started-guide/creating-a-policy-group
description: Learn how to create policy groups in a system and establish command priorities with this comprehensive document. Follow the step-by-step instructions provided, including filling in mandatory fields, to easily navigate and set up your desired policy group.
docTags: 
createdAt: 2023-09-08T10:11:32.522Z
---

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, meaning the system restricts the black key commands first, and 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&#x20;**> **Policy&#x20;**
2. Click the **Add** button to the right of Policy Groups
3. Fill in the following mandatory fields: **Policy Name**, **Operation Mode**, **Policy Key Action**(s)                                                                                          Select **Generate Error** in the **Action** field and then click the **Save** button.&#x20;

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



![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/h4iY-vZBOtVNbpWU7uDLT_image.png "Selecting a Policy Key Action")

