#Bubble plugin :: Sociocs - Click to Chat by Text
#Introduction
This plugin adds a chat bubble on your website that draw user's attention, and gives them an easy way to reach out to you. It converts an inquiry into SMS / text messaging based conversation, so that your user doesn't have to wait on the website for a response.
When your web app user initiates the inquiry, it shows up in your Sociocs Inbox, from where you can reply to the user, and continue the conversation.
#Plugin Installation
In the Bubble dashboard, go to "Plugins".
Click on "+ Add Plugins".
Search for 'Sociocs - "Live Chat" by Text'.
Click on "Install".
#Plugin Configuration
#Twilio
- You can skip this step if you already have an account with Twilio.
- If you don't have an account with Twilio, you can sign up for a free trial account. (Once you sign up for a trial, you should consider upgrading right away to avoid outbound SMS restrictions.
#Sociocs
Sign up or log in on app.sociocs.com.
Select "SMS (with Twilio)" in the "Connect a new channel" page. If you are an existing user, after logging in, click on "Channels" menu on the top, click on "+" button to go to the "Connect a new channel" page.
Connect your Twilio phone by following the instructions.
Go to "Connect a new channel" page again (click on "Channels" on the top menu, and click on "+" button), and select "Click to Chat by Text/SMS".
Enter information for your Web Chat plugin and customize the chat prompt UI (if you want), and click "Next".
You should see the plugin code, find these values in the code: "data-channel", "data-primary-color", and "data-prompt-text". These fields are referred without "data-" prefix in the below step (e.g. "data-channel" is referred as "channel" etc.)
#Bubble Editor
Go to the "Sociocs - Click to Chat by WhatsApp" plugin in the Bubble Editor.
Add "channel", "primary-color", and "prompt-text" configuration parameters.
Bubble also shows fields for adding dev keys (i.e. "channel - dev.", "primary-color - dev.", and "prompt-text - dev."). You can leave them blank.
That's it! Refresh your Bubble web app page, and you should see a chat bubble on bottom right.