Twilio Setup

Step 1: Create a Twilio Account

  1. Go to Twilio.

  2. Click Sign Up.

  3. Complete the registration process (email verification may be required).

  4. Once logged in, you will be taken to the Twilio Console.


Step 2: Get a Twilio Phone Number

  1. In the Twilio Console, go to Phone Numbers → Buy a Number.

  2. Choose a number capable of SMS (essential for OTP).

  3. 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:

  1. Go to Twilio Console → Settings → API Keys & Tokens.

  2. Copy the following:

    • Account SID – your main account identifier.

    • Auth Token – your secret key for authentication.

  3. (Optional but recommended) Create a new API Key instead of using the master Auth Token for better security.

Last updated