--- title: "Reset Password" url: https://docs.catalyst.zoho.com/en/sdk/java/v1/cloud-scale/authentication/reset-password/ description: "This page describes the method to add new end-users to your Java application using Catalyst Authentication with sample code snippets." last_updated: 2025-11-19T15:07:41Z service: Cloud Scale type: general related_links: - name: "Reset Password - API" url: /en/api/code-reference/cloud-scale/authentication/reset-user-password/#ResetUserPassword - name: "Authentication" url: /en/cloud-scale/help/authentication/introduction --- # Reset Password After the successful registration of a [user](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/user-management/users/introduction/), you can reset the password using the following code snippet. When called, the `resetPassword()` method generates a reset password link and sends it to the user's Email address. > **Note: ** You can configure the sender's email address, subject and the email message. You must add the email address in the [Catalyst Mail Component](https://docs.catalyst.zoho.com/en/cloud-scale/help/mail/email-configuration/) and get it verified before using it in the SDK code. #### Sample Code Snippet **Package Imports** ```java import com.zc.component.users.PlatformType; import com.zc.component.users.ZCSignUpData; import com.zc.component.users.ZCUser; import com.zc.component.ZCMailTemplateDetails; ``` ```java //Get an instance of ZCSignUpData ZCSignUpData signUpdetails = ZCSignUpData.getInstance(); //Pass the necessary data for the sign-up using the instance ZCMailTemplateDetails mailData= signUpdetails.mailTemplateInstance(); mailData.setSendersMail("docofoh552@lukaat.com"); mailData.setSubject("Welcome to %APP_NAME%"); mailData.setMessage("

Hello ,

Follow this link to join in %APP_NAME% .

%LINK%

If you didn’t ask to join the application, you can ignore this email.

Thanks,

Your %APP_NAME% team

"); signUpdetails.setTemplateDetails(mailData); signUpdetails.setPlatformType(PlatformType.WEB); signUpdetails.userDetail.setEmailId("amelia.burrows@zylker.com"); signUpdetails.userDetail.setLastName("Burrows"); //Call reset password to send a mail to reset password ZCUser.getInstance().resetPassword(signUpdetails); ```