In this guide, you’ll learn how to:
- Connect your Twilio account to Rocket.
- Get your Account SID, Auth Token, and From Phone Number from Twilio.
- Add them securely in Rocket to start sending SMS from your app.
What is Twilio?
Twilio is a cloud communications platform for SMS delivery.
Use it for verifications, alerts, order updates, and automated notifications.
Twilio is a cloud communications platform for SMS delivery.
Use it for verifications, alerts, order updates, and automated notifications.
Your Twilio credentials stay safe with Rocket.
They are encrypted at rest and never exposed, so you can connect with confidence.
They are encrypted at rest and never exposed, so you can connect with confidence.
Before you begin
You’ll need:
- A Rocket account at rocket.new.
- A Twilio account.
- A Supabase project connected to your Rocket app.
If you plan to support OTP login, status updates, or personalized notifications, make sure Supabase Auth is enabled.
Rocket can link SMS messages to authenticated user IDs for secure, personalized delivery.
Rocket can link SMS messages to authenticated user IDs for secure, personalized delivery.
Connect Twilio to Rocket
1
Get your Account SID, Auth Token, and a From phone number
Open the Twilio Console to copy your Account SID and Auth Token and get a Twilio phone number.
Need details about managing Auth Tokens? See Twilio’s help center:
Auth Tokens and how to change them.
Auth Tokens and how to change them.
2
Add your Twilio credentials in Rocket
There are two ways to connect Twilio to Rocket:Method 1: Use Rocket Chat (fastest)Method 2: Navigate from My Projects
-
In any project, open the chat panel and type something like:
Connect my Twilio account to:
Send an SMS verification code to new users.
Send an SMS order confirmation after checkout.
-
You will see a popup appear where you can paste and save your Twilio credentials instantly.
Twilio integration popup in chat
This is ideal if you are already chatting with Rocket while building. No clicks, just action.
- Click on the project you want to integrate with Twilio from My Projects.
- Click the Project Settings on the top navbar next to Preview.
-
Navigate to the Integrations tab.
Access Integrations tab from project settings
- Scroll through the integrations list.
-
Click the Twilio card.
Twilio integration card in Project settings
When you connect Twilio from Project Settings, Rocket will not automatically create SMS flows.After saving your credentials, you must describe the SMS flow you want in chat for Rocket to implement it.
3
Save your credentials in Rocket
- In Rocket’s Twilio integration screen, fill the three fields exactly as shown:
- Twilio Account SID
- Twilio Auth Token
- From Phone Number (your Twilio number, in E.164 format, for example
+15551234567
)
- Click Save to complete setup.
Success check: You will see a green dot next to Twilio in Integrations.
Important Security Notice
Never paste your Twilio Account SID or Auth Token directly into Rocket chat.Always use the secure integration flow or the credentials input provided in settings to connect your account safely.
Never paste your Twilio Account SID or Auth Token directly into Rocket chat.Always use the secure integration flow or the credentials input provided in settings to connect your account safely.
4
Update or remove your Twilio credentials
- Click the Twilio integration again.
-
Replace the existing credentials or click Disconnect to remove it.
Remove Twilio credentials
Once connected, just describe your SMS flow in chat and Rocket will handle the rest.
It scaffolds the backend logic, UI, and secure data hookups you need. No setup, no stress.
It scaffolds the backend logic, UI, and secure data hookups you need. No setup, no stress.
Before going live
If you are on a Twilio trial account, purchase a Twilio phone number first.
This ensures your SMS messages reach real users without trial restrictions.Read more here
If you are on a Twilio trial account, purchase a Twilio phone number first.
This ensures your SMS messages reach real users without trial restrictions.Read more here
You did it!
Twilio is now connected to your Rocket project. You can securely send SMS automatically.
Need help? We are here for you.
Email us at support@rocket.new or join our Discord community to get help, share ideas, and connect with other creators.
Email us at support@rocket.new or join our Discord community to get help, share ideas, and connect with other creators.