> ## Documentation Index
> Fetch the complete documentation index at: https://docs.m1amdocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Onboard and Authenticate with Email Address or Mobile Number

Storefront Gateway provides user onboarding and authentication with an email/mobile number and password. A new user navigates to a organization's login page, and once authenticated, they can sign up and purchase services.

## User Onboarding and Authentication Flow

**Preconditions**

* The doesn't User ID exist in Storefront Gateway.

Following is a typical user onboarding example for this flow:

* The new user visits the organization's login page to sign up.
* Storefront Gateway sends a verification message with a One-Time Password (OTP) to the user's submitted email/mobile number.
* The new user submits a new password and related information such as **Display Name**, **First Name**, **Last Name**, and **Language**.
* The user's password is validated.
* User ID is created and stored in Storefront Gateway.
* Storefront Gateway verifies the user identity.
* User is authenticated.

## Onboard and Authenticate User with Password

The new user starts with the first **Onboard and Authenticate** Process and completes their journey with the **Onboard, Authenticate and Activate** Process.

<img src="https://mintcdn.com/amdocs-spbu/0TZ9XF1Mst_2ATcV/marketONE/sgProcessGuide/images/sfgw_authOnboardV2.png?fit=max&auto=format&n=0TZ9XF1Mst_2ATcV&q=85&s=2ceac3043988fde08697ed88887626b9" alt="Onboard user with password authentication flow" width="1576" height="2898" data-path="marketONE/sgProcessGuide/images/sfgw_authOnboardV2.png" />

The second process is invoked after the process step verifies that the user doesn't exist in Storefront Gateway.

**Note:** If the `create-password-prompt` is enabled (true) on the UI, the process step prompts the user to set their password.

<img src="https://mintcdn.com/amdocs-spbu/0TZ9XF1Mst_2ATcV/marketONE/sgProcessGuide/images/sfgw_onBoardAuthActV2.png?fit=max&auto=format&n=0TZ9XF1Mst_2ATcV&q=85&s=a0030f22f94cba5c901f7816bf39917b" alt="Onboard, authenticate and activate process flow for a new user" width="1358" height="1458" data-path="marketONE/sgProcessGuide/images/sfgw_onBoardAuthActV2.png" />

**Parent topic:**[Onboard and Authenticate Process](onboardAuthenticateUserV2)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.