{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":48577,"path":"servicenow-platform/password-reset/t_CreateAnExtensionScript.md","title":"Create a Password Reset extension script","bundle":null,"doc_type":null,"release":"australia","body":"\n# Create a Password Reset extension script\n\nCreate extension scripts only from the Password Reset Extension Script form. Do not create extension scripts in the **System Definition** &gt; **Script Includes** interface.\n\n## Before you begin\n\nRole required: password\\_reset\\_admin or admin\n\n**Note:** To use a script include as an extension script, you must set it to **Active** status.\n\n## Procedure\n\n1.  Navigate to **Password Reset** &gt; **Extensions** &gt; **New extension script**.\n\n2.  Enter a name in the **Extension script name** field.\n\n    Use CamelCase to construct a name without spaces, for example, `PwdEnrollmentCustom`.\n\n3.  Select an **Extension script category**.\n\n    -   Enrollment check\n    -   Enrollment form processor\n    -   Identification form processor\n    -   Password generator\n    -   User account lookup\n    -   Verification form processor\n4.  Click **Submit**.\n\n    A new instance of the script include for the selected category opens.\n\n5.  Edit the script by providing an implementation in the body of the process or processForm function, depending on the script category.\n\n    You can add additional functions as long as the process or processForm function accepts the defined parameters and returns the expected results.\n\n    **Note:** Do not edit or delete the Category declaration.\n\n    \\[Omitted image \"NewExtensionScript.png\"\\] Alt text: New extension script\n\n6.  Click **Update**.\n\n\n**Related topics**  \n\n\n[Password Reset extension script categories](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/password-reset/pw-reset-extension-script.md)\n\n[Password Reset script includes](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/password-reset/c_InstalledPasswordResetScripts.md)\n\n"}}