--- title: "Entitlement Scripts" slug: "configure-entitlement-scripts-v6-5" description: "Learn about App Shortcuts, Host scripts, and Port definitions in Appgate SDP, and how to effectively use Entitlement scripts for resource access." updated: 2025-10-31T18:24:54Z published: 2025-10-31T18:24:54Z canonical: "support.appgate.com/configure-entitlement-scripts-v6-5" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.appgate.com/llms.txt > Use this file to discover all available pages before exploring further. # Entitlement Scripts When an Entitlement is defined, it comprises App Shortcuts (shown in the Client app launcher) and related Actions (defining the firewall rules). It is possible to use Entitlement scripts to define these elements. The three types are: - App Shortcut – defines the name, description, url and Icon color for the App Shortcut that will be displayed in the Client. - Host – defines a resolvable name or IP address. If resource names are returned, then later the name resolver will resolve these to IP addresses. - Port or Type – defines one or more port numbers or ICMP types. ## Before you start Background reading: - See [Use of Scripts](/v1/docs/use-of-scripts). - If using Host scripts ensure the [Site is configured](/v1/docs/configure-site) to resolve the syntax that the script will generate. - Get a better understanding of [defining hosts](/v1/docs/defining-hosts), including how and why to use these scripts. ## Completing the Entitlement Scripts form ***Name*** May only be lower case alphanumeric with underscore and dash. When creating Actions in , the script(s) for Host and Port will be referred to with the syntax script://. > [!NOTE] > **NOTE** > > If you are editing an existing script, changing the name may break existing Entitlements. For example, use this notes section to document requirements for Site name resolving configuration. ***Expression*** An example expression is provided - typically the script should return same information used when creating an Entitlement manually. A defined access right or permission granted to users or devices, allowing them to access specific resources or functionalities within the Appgate ZTNA system.