# Frontend Customer Registration

Whenever a new user clicks on the register, they will be asked to enter the mobile number for verification using OTP.

<figure><img src="/files/VwUE3sSsWGIXmmpfG2mA" alt=""><figcaption></figcaption></figure>

If the mobile number digits do not match the country validation configured by the admin in the backend, it will show an error message.

<figure><img src="/files/bZIO6SawunDLa9DEw3Vd" alt=""><figcaption></figcaption></figure>

Once the user enters the correct mobile number and clicks on the Send OTP button, they will receive an SMS with OTP for registration.

<figure><img src="/files/2XBUipY79BrrsxCqvau2" alt=""><figcaption></figcaption></figure>

After entering the OTP, the user needs to click on Verify.

<figure><img src="/files/Dt7sWctqow7Ndo0RJObq" alt=""><figcaption></figcaption></figure>

In case the OTP verification time is out, the user gets the option to Resend OTP.

<figure><img src="/files/oq8Ndi7hMqPkHakUF4tg" alt=""><figcaption></figcaption></figure>

Once the OTP is verified successfully, the user is redirected to enter the account details. Here users can add details like first name, last name, email ID and password. The Customer registration through OTP is protected by reCAPTCHA to avoid spam registrations.

<figure><img src="/files/xE4SMcIs4qPQmLYJLfB7" alt=""><figcaption></figcaption></figure>

After that, when the user clicks the Create An Account button, the user will be redirected to the store’s home page.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.magecomp.com/magento-2-mobile-otp-login-extension-pro/frontend-customer-registration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
