Review the 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.