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.
Your Twilio credentials stay safe with Rocket.
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.

Connect Twilio to Rocket

1

Get your Account SID, Auth Token, and a From phone number

2

Add your Twilio credentials in Rocket

There are two ways to connect Twilio to Rocket:Method 1: Use Rocket Chat (fastest)
  • 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 chatTwilio integration popup in chat

    Twilio integration popup in chat

This is ideal if you are already chatting with Rocket while building. No clicks, just action.
Method 2: Navigate from My Projects
  • 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.
    Rocket project settings integrations tabRocket project settings integrations tab

    Access Integrations tab from project settings

  • Scroll through the integrations list.
  • Click the Twilio card.
    Click Twilio integration in Project settingsClick Twilio integration in Project settings

    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.
    Twilio credentials input form in RocketTwilio credentials input form in Rocket

    Twilio credentials input in Rocket

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.
4

Update or remove your Twilio credentials

  • Click the Twilio integration again.
  • Replace the existing credentials or click Disconnect to remove it.
    Remove Twilio credentialsRemove Twilio credentials

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

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.