---
title: Creating a Policy Realm1
slug: kronpam-legacy-ui-reference-guide-3-5-0/creating-a-policy-realm1
description: Learn how to define policy realms in your system with our comprehensive document. Discover the step-by-step instructions for navigating to the Policy Control and Session Policy sections, and opening the Policy Realm tab. Customize your policy realm by ent
docTags: 
createdAt: 2022-08-01T16:22:47.000Z
---

Policy realms define which policies are applied to which device realms.

1. Navigate to **Policy Control** >**&#x20;Session Policy**.
2. Open the **Policy Realm** tab.
3. Enter the **Policy Realm** name and select th&#x65;**&#x20;Policy Group** and **Device Realm**.
4. Click **Save**.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/mZPJCmXbEtb4G6H4xMW3D_image.png "Defining a Policy Realm")

:::hint{type="info"}
At least one policy key must be assigned to the related realm for SQL proxies.
\*If only black key policies are defined in a realm, all remaining queries will be white key.
\*If only white key policies are defined in a realm, all remaining queries will be black key.
\*If only the “.\*” regex is defined as a white key, all queries are Allowed to run.
\*If only the “.\*” regex is defined as a black key, all queries will be blocked.
:::

