Twilio Setup
Step 1: Create a Twilio Account
Go to Twilio.
Click Sign Up.
Complete the registration process (email verification may be required).
Once logged in, you will be taken to the Twilio Console.
Step 2: Get a Twilio Phone Number
In the Twilio Console, go to Phone Numbers → Buy a Number.
Choose a number capable of SMS (essential for OTP).
Buy or use the free trial number if you’re on a trial account.
Step 3: Get Your Twilio Credentials (API Keys)
You need these credentials to send SMS:
Go to Twilio Console → Settings → API Keys & Tokens.
Copy the following:
Account SID – your main account identifier.
Auth Token – your secret key for authentication.
(Optional but recommended) Create a new API Key instead of using the master Auth Token for better security.
Last updated