Integrate OTP with Shopify
To integrate Login OTP with Shopify, you need to first create an OTP widget. This article guides you through the process for different channels — SMS, Email, WhatsApp, and Voice — and provides all necessary references for configuration and testing.
Step 1: Create an OTP Widget
Start by creating an OTP widget in your desired channel.
Guide for creating a Login OTP widget:
Create a Login OTP Widget on MSG91
Step 2: Select Your Communication Channel
Once the OTP widget is created, choose the communication channel for delivering OTPs. Refer to the relevant section below based on your preferred channel.
A. OTP via SMS
To send OTPs through SMS, you must complete the DLT registration process.
References for SMS integration:
Next Steps:
Map your DLT Entity (PE) ID with the approved Header (Sender ID).
Map your SMS content template on the MSG91 API or Panel.
Note: MSG91 provides a default SMS template to use until your DLT template is approved.
B. OTP via Email
For sending OTPs via Email:
Select Email as the channel in your OTP widget.
Verify your domain before sending OTPs.
Reference:
Transactional Email Setup on MSG91
C. OTP via WhatsApp
To send OTPs via WhatsApp:
Select WhatsApp as the delivery channel in your OTP widget.
Requirements:
Meta Business Account
Fresh phone number
Reference for WhatsApp integration:
WhatsApp Number Integration & Onboarding
D. OTP via Voice
To send OTPs via Voice:
Select Voice as the primary channel in your OTP widget.
You can use the default voice option (random caller ID) or configure a custom caller ID purchased via MSG91.
References for Voice integration:
Step 3: Test Your OTP Widget
After configuring the widget:
Send a test OTP through your selected channel.
Ensure successful delivery.
Step 4: Integrate with Shopify
Once testing is successful, send an email to [email protected] to integrate the OTP widget with Shopify.