---
title: Creating a Policy Realm1
slug: singleconnect-reference-guide-3-1-0/creating-a-policy-realm1
description: Learn how to define policy realms for device realms in your session policy with this comprehensive document. Find step-by-step instructions on navigating to the session policy and opening the policy realm tab. Discover how to enter the policy realm name a
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.
:::

