---
title: Adding Script Realm
slug: kronpam-reference-guide-3-9-0/adding-script-realm
docTags: 
createdAt: 2024-12-16T13:53:33.395Z
---

Script realms in Privileged Task Automation manage script execution permissions by associating user groups with script groups. Administrators use script realms to define which user groups can run, edit, or delete scripts within specified script groups.

:::hint{type="warning"}
You must hold the **kronpam.pta.realms.manage&#x20;**&#x70;ortal function to add, edit, or delete a script realm. Users who hold only **kronpam.pta.realms.moduleVisibility&#x20;**&#x63;an only view the script realms that include their own user groups in read-only mode. At least one user group and one script group must exist.
:::



To add a script realm:

1.    Navigate to **Privileged Task Automation** > **Realms**.

2.    Click **Add** in the upper-right corner of the **Realms** tab.

3.    In the **Add Realm** window, provide the following details:

**Realm Name**: Enter a descriptive name for the script realm.

**Description**: Enter a brief description that explains the purpose of the realm.

**User Group(s)**: Select the user groups that can access the scripts in this realm.

**Script Group(s)**: Select the script groups that the realm includes.

4.    Under **Allow Groups**, configure the permissions for user groups:

**Edit**: Turn on this option to allow users to edit scripts.

**Delete**: Turn on this option to allow users to delete scripts.

**Play**: Turn on this option to allow users to run scripts.

5.    Click **Save**.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/-o0qnEUwAHxASQ6Hj30oD_image.png "Adding Script Realm")

