Twilio
-
Create a Twilio account - Go to Twilio and create a new account.
-
Get a Twilio phone number - Click on ‘Get a Twilio phone number’ to obtain a phone number for your account.
-
Save the Account SID - Copy the Account SID and add it to your
.envfile under the field:
TWILIO_SID- Save the Auth Token - Copy the Auth Token and add it to your
.envfile under the field:
TWILIO_TOKEN- Save the Twilio phone number - Copy your Twilio phone number and add it to your
.envfile under the field:
TWILIO_PHONE_NUMBER- Set the Sender ID - Add your own sender ID to the
.envfile under the field:
NEXT_PUBLIC_SENDER_ID(The fallback is set to “Cal” if not specified.)
-
Create a Messaging Service - Navigate to Develop -> Messaging -> Services, then create a new messaging service.
-
Name the Messaging Service - Choose a name for the messaging service. This can be anything you like.
-
Add Senders to the Messaging Service - Click ‘Add Senders’ and select ‘Phone number’ as the sender type.
-
Add your Twilio phone number as a sender - Add the listed phone number to the messaging service.
-
Complete the Messaging Service setup - Leave all other fields as they are, then complete the setup by clicking ‘View my new Messaging Service’.
-
Save the Messaging Service SID - Copy the Messaging Service SID and add it to your
.envfile under the field:
TWILIO_MESSAGING_SID-
Create a Verify Service - Go to the Twilio dashboard, create a new Verify Service, and name it as you wish.
-
Save the Verify Service SID - Copy the Verify Service SID and add it to your
.envfile under the field:
TWILIO_VERIFY_SIDThis app is required for Workflows