# 4.3 Creating a new Realm

In **ZTrust**, a **realm** functions like a **tenant**, allowing administrators to create **isolated groups** of applications and users. Each realm is **completely separated** from others, meaning that users in one realm **cannot access** the data of users in another.

By default, **ZTrust** comes with a single realm named **“master”**, which has **full control** over all other realms.

#### **Steps to Create a Realm**

1. **Open the ZTrust Admin Console.**
2. Click on **“Manage realms”** from the **left sidebar**.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FXxstMM06LutjJ8PP3ZpY%2Fimage.png?alt=media&#x26;token=bee36552-bb9a-4c7a-a699-56c33d65e90d" alt=""><figcaption><p>Fig 4.3.a: Manage realms </p></figcaption></figure>

3. Click on **Create Realm** Button.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FmNFP1vANP7931h2NNelB%2Fimage.png?alt=media&#x26;token=d805803a-ff07-46ce-8d94-ea1c9c40c75c" alt=""><figcaption><p>Fig 4.3.b: List of avalible realms</p></figcaption></figure>

4. Enter the desired name in the **Realm Name** field (maximum 20 characters). For example “Demo

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2F6jhDd08b72bGgEm9cbgb%2Fimage.png?alt=media&#x26;token=a3e8885e-5252-42b2-8483-fd770e8d101f" alt=""><figcaption><p>Fig 4.3.c: Creation of new realm</p></figcaption></figure>

5. Click on **Create** button
6. Realm is created and ready to use

   <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfderL7uyAg0n84NabEFtai3EfnL5tLEMW0xgxEwA-kBW2OdH7Qot1E2BdK14mpzPLS_HeAb0ygdouqlwk-eUS1QAXshsh3XBGu-awF8hklszIpUlWbuzy2bLGznSAIIUwMlLyzPw?key=hAb4lK_4sMe7_DkgJrcwlQ" alt=""><figcaption><p>Fig 4.3.d: Successfully created realm</p></figcaption></figure>

Once the realm is created, it is ready for use. To test whether the realm is working as expected, try creating a user.

#### Realm Setup Checklist

Before going live, make sure your realm is fully configured with the following:

1. Reports&#x20;
2. User Attributes
3. RabbitMQ Configuration
4. GDPR  Compliance&#x20;
5. Last Login Time Tracking
6. Geo Fencing(options)
7. Time Fencing(options)
8. Authentication Flow

\\
