Skip to main content

Login via Email OTP

This section is a guide on how to set up login via email OTP for Shopify app.

Now users can log in instantly by entering their existing email. The app sends a secure OTP code, and just like that — they’re in.

✅ No need to create a new account

✅ OTP sent directly to their email

✅ Fast, password-free access

Step 1. Setup on Shopify Dashboard

  • Go to your Shopify Admin Dashboard → Settings → Customer accounts

  • Enable the Customer accounts feature

  • Install Headless app to your store by clicking to this url https://apps.shopify.com/headless and then clicking Install

  • Click Create storefront to continue

  • In the Customer Account API section, click Manage

  • Under the Client type section, click Edit icon

  • Select Public (mobile app), then click Save

Step 2. Configure on FluxBuilder

  • Go to the Shopify Dashboard → App → search for headless and select Headless

  • Click on the Headless item created from Step 1

  • Click on Manage of Customer Account API section

  • Retrieve the following two pieces of information:

  1. Client ID: under the Customer Account API credentials

  2. Shop ID: scroll to the bottom of the page to find it

  • After collecting both values, open your Shopify app on FluxBuilder. Go to Features and open Sign In/ Sign Up. Here, remember to Enable Login. Then, scroll to LOGIN VIA EMAIL OTP, enable it and submit Client ID Key and Shop ID.