{% hint style="success" %} This Integration supports multiple instances
Check out the instructions to set up multiple instances here. {% endhint %}
When you first sign up with Twilio, you have one account, your main account; however, you can also create subaccounts. Your main account will have an Account SID and Auth Token that Rewst will use to authenticate. When using Twilio actions within workflows, you can specify the Account SID to be used for a particular action.
- Log in to the Twilio Console.
- Copy your main Account SID and Auth Token.
- Log in to the Rewst platform.
- Click on the "Integrations" menu on the left sidebar.
- Click or search for "Twilio".
- Enter your main Account SID and Auth Token from step 2 in "Setting up the API account".
- Log in to the Twilio Console.
- Go to Messaging -> Services
- Click Create Messaging Service
- Type Rewst in the messaging service-friendly name
- Click Create Messaging Service
- Click add sender
- Select Phone Number
- Click Continue
- Select the phone number you would like to SMS from Rewst
- Click Add phone numbers
- Click Step 3 Set up integration
- Click Complete Messaging Service Set up
- Click View My New Messaging Service
- Copy the Messaging Service SID
- Log in to the Rewst platform.
- Go to Configuration -> Organization Variables
- Click the add button (+ icon)
- Set the following for your organization variable
- Name:
messaging_service_sid
- Value: Your Messaging Service SID
- Category: general
- Organization: Select your organization
- Name:
- Click save (checkmark icon)
- Click the add button (+ icon)
- Set the following for your organization variable
- Name:
send_sms_to_user
- Value:
1
- Category: general
- Organization: Select your organization
- Name:
- Click save (checkmark icon)