---
title: Creating a Policy Realm1
slug: singleconnect-reference-guide-3-2-0/creating-a-policy-realm1
description: Learn how to define policy realms to apply specialized policies to device realms by following the step-by-step instructions in this document. Discover how to navigate to the Policy Control > Session Policy section, open the Policy Realm tab, enter the rea
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 polices are defined in a realm, all remaining queries will be black key.
\*If only the “.\*” regex is defined as white key, all queries are Allowed to run.
\*If only the “.\*” regex is defined as black key, all queries will be blocked.
:::

