SMS Setup¶
Mythradon uses the Twilio SMS Gateway to send SMS messages. In order to send SMS messages from Mythradon your system administrator needs to setup the following:
Twilio Account Setup¶
- Navigate to Twilio
- If you already have a Twilio account, click the
Log Inbutton else click theSign Uplink

Complete the account sign up details.
Once you are logged into your Twilio Account. You will need to obtain the following:
When you log into your Twilio account, you will presented with a list of Accounts. Unless you are familiar with Twilio and use their services for other applications you will usually only have one account. Select the Account to access the Account Console.
SMS From Number¶
The SMS From Number is a phone number provided by Twilio that SMS messages will be sent from. In other words, when someone receives an SMS from your Mythradon system, this is the 'From' phone number that will be listed on their phone.
To obtain the SMS From Number:
- Select
Phone Numbers → Manage → Active Numbersfrom the left side bar menu.
The following image shows how to get your SMS From Number.

Note that sometimes the Twilio Console does not have items pinned to the left side bar. If that is the situation you need to perform the following steps to obtain your SMS From Number:
- Click the
Explore Productslink as shown in the following image.

- Scroll down the list of Twilio Products until you locate the
Phone Numbersproduct

- Click the
Phone Numbersproduct to display the list of Active Numbers in your account

- Click on the listed phone number to view the details

Account SID¶
SID stands for String Identifier. It's a unique key that is used to identify specific resources. At Twilio, each SID has 34 digits.
At the time of writing this document there were a few different ways of obtaining the Twilio Account SID. It is usually displayed on the main page once you log into your Twilio account.

If you are on the Twilio console you can click the home link in the top left corner of the Twilio console to return to the list of accounts.
Note
For security reasons the Twilio Account SID used in this documentation is not a valid Twilio Account SID.
Auth Token¶
An Auth Token is used by Twilio to authenticate API requests.
To obtain the Twilio Auth Token.
- Select
API Keys & Tokensfrom theAccountmenu option in the top right of the Twilio console

From the API Key & Tokens page you will see two sets of credentials. Live Credentials and Test Credentials.
Click the eye symbol at the bottom of the Live Credentials section to show your Auth Token.

Setup Twilio Integration¶
Mythradon needs to know the Twilio Account SID and Auth Token in order for API calls to be authenticated by Twilio.
- Select
Administration → Integrations → Twiliofrom the Menu Button - Click the
Enabledcheckbox - Enter the
Account SIDand theAuth Token - Click the
Savebutton

Note
It is important that you treat the Account SID and Auth Token as sensitive information to protect your account.
Setup SMS Gateway¶
To setup the Mythradon SMS Gateway:
- Select
Administration → SMSfrom the Menu Button - Select
Twiliofrom the SMS Provider list - Enter your Twilio SMS From Number (Note remove any spaces from the SMS From Number)
- Click the
Savebutton

Send Test messages¶
You can utilise the Formula Sandbox to send test SMS messages:
- Navigate to
Administration → Formula Sandboxusing the Menu Button. - Copy and paste the following code into the Formula Sandbox, adjusting as necessary.
- Press the
Runbutton to execute the code.
$smsId = record\create(
'Sms',
'fromName', 'Mythradon',
'to', '+1000111222',
'body', 'This is a test from Mythradon.'
);
ext\sms\send($smsId);
See also¶
- Mythradon Marketing
- Mythradon Sales
- Mythradon Service
- Mythradon System Administration
- Mythradon Tools