--- title: "Edit or add a User Claim Script by completing the necessary fields" slug: "configure-user-claim-scripts-v6-6" description: "Complete the fields in the User Claim Script page to set up a new script or edit an existing script. User claim scripts generate additional user claims." updated: 2026-02-02T22:26:13Z published: 2026-02-02T22:26:13Z canonical: "support.appgate.com/configure-user-claim-scripts-v6-6" --- > ## 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. # Configure User Claim Scripts Review the [Before you start](/v1/docs/user-claim-scripts-v6-6#before-you-start) section before configuring user claim scripts. In the **User Claim Scripts** page, select **+Add** to create a user claim script, then complete the following fields: - ***Name.*** Enter a valid JavaScript name without any whitespaces, dashes, or special characters. - ***Expression.*** Edit the script in this field. The returned object will be used to set an additional user claim included in the un-encrypted portion of the claims token.