hey <@!131748314256244736> , 1) Here is the refer...
# support-questions
r
hey @User , 1) Here is the reference to the signUp function: https://supertokens.io/docs/nodejs/modules/recipe_emailpassword.html#signUp You can use it like:
Copy code
import EmailPassword, {signUp} from "supertokens-node/recipe/emailpassword";

let signUpResponse = await signUp(email, password);
if (signUpResponse.status === "OK") {
  // create a new session...
} else {
  // the email already exists.. send an appropriate response to the frontend.
}
Note that you will need to call the
init
functions for SuperTokens and EmailPassword in your backend for the above to work (See quick setup section here: https://supertokens.io/docs/thirdpartyemailpassword/quick-setup/backend).