Skip to main content
Skip table of contents

First Steps

To get started, you need a Twilio account and at least one phone number added to your account that can accept SMS messages. With those, you’ll be able to receive and reply to text messages.

Creating Twilio Account

Start

Go to the Twilio website and click Start for free. Fill out the registration form or choose the correct Google account and click Continue.

image-20241211-103201.png

If you choose to sign up with an email address, confirm your email by entering the code sent by Twilio and clicking Verify.

verify_email.jpg

Confirming phone number

Select your country code, enter your phone number, and click Send code.

send_code.jpg

Enter the code you receive in the Enter verification code field and click Verify.

verify.jpg

Save the recovery code provided. This code is important if you lose access to your phone or email. Click Continue to finish.

recovery_code.jpg

Registering a new number

Searching for the number

Go to your Twilio Console and find Phone Numbers in the left bar under the Develop section. Next, click on Manage and then Buy a Number. Then, you need to enter the criteria for the phone number you need. You can also try Advanced options for the desired phone number type (local, mobile, toll-free), address requirements, whether you want it to handle Emergency Calling, and whether you want it to allow beta number results. Click Search to find the number.

image-20241211-112030.png

Buying the number

Search results will be displayed with the phone number, location, type, capabilities, and price listed. Click Buy to purchase a phone number for your current project or sub-account.

mceclip5.png

To display additional number options, click Refresh results at the bottom of the page.

mceclip6.png

Many countries require identity documentation for phone number compliance. After clicking Buy in the Console, you'll need to add the required documentation. For details on affected countries and number types, visit our Phone Number Regulations page.

Integrating with LiveChat

Installing Twilio SMS

Start by visiting the Twilio SMS marketplace page and clicking the Install button.

Screenshot 2024-08-14 at 11.01.27.png

The SMS channel should be installed successfully on your active LiveChat account.

Screenshot 2024-08-14 at 11.04.00.png

Setting up Twilio SMS

Go to the Settings tab. You need to provide Twilio’s Account SID and Auth token.

Screenshot 2024-08-14 at 10.20.20.png

Log in to your Twilio console, and both values will be visible on the main page. Copy-paste them to Livechat and click the Authorize app.

Screenshot 2024-08-14 at 10.26.02.png

Connecting selected Numbers

After successfully connecting with Twilio, you should be able to see all your numbers in LiveChat.

Screenshot 2024-08-14 at 11.13.57.png

To connect a selected phone number, click Connect next to it. After successfully connecting the number, you’ll see the Connected status next to the phone number.

You can connect as many phone numbers as you’d like.

Screenshot 2024-08-14 at 11.13.44.png

Now that you have completed your Twilio integration with LiveChat, the next step is to set up SMS Geo Permissions.

Adding the number to a group

Remember to assign the relevant groups to each number for efficient communication. This allows you to assign agents (including bots) to specific numbers, ensuring only the selected group receives messages from that number.

Creating a new group

You may need to create a new group. To do this, go to the Groups section under the Team tab and click on the + New group button.

image-20241212-100422.png

Name it and add agents.

image-20241212-100528.png

Click Done to finish.

image-20241212-103956.png

You can edit your groups at any time by clicking the three dots menu next to one of them.

image-20241212-101120.png

You can change the group name, add or remove members, adjust member priorities, and delete the group. After making changes, two buttons will appear at the bottom of the screen. Click Save changes to finish.

image-20241212-102726.png

Connecting a number to a group

Go to the Twilio dashboard, click on the group name next to a selected number, and choose the one to which you want all messages from this phone to be redirected.

Screenshot 2024-08-14 at 11.14.46.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.