Mission 1: Create Chat Appliction and configure Webex Engage
Mission Objective
In this mission, you need to complete web chat configuration tasks, including creating a Chat Asset, linking it to a Channel, and test website.
Build
Task 1. Find your Service.
- Login to Webex Connect Portal.
Go to Services and look for the service that you have created earlier. The name should be
_2000_Service
Task 2. Configure and Register Chat Asset.
-
While on Webex Connect portal, go to Assets -> Apps, press Configure New App and select Mobile / Web option.
-
Input Name as
Chat_App_ _2000 -
Toggle/enable Live Chat / In-AppMessaging to ON and choose Primary Transport Protocol as
MQTT
& Secondary Transport Protocol asWeb Socket
then tick Use Secured Port checkbox and press Save button.Note: If there is an error that your request cannot be processed, please press Save button one more time.
-
Once asset is saved, press Register To Webex Engage at the top.
-
Choose
from the drop-down list and press Register button._2000_Service -
Check and make sure the asset has been succesfully registered to the service and Register To Webex Engage button has been greyed out.
-
Return to Assets -> Apps, find ChatAsset, copy App ID, paste it into the text file and save. We will use it when configuring chat flow later.
Task 3. Create Entry Point for Chat
-
Login to Control Hub and go to Channels and click on Create Channel.
-
Select Chat from the Channel Type drop-down list. Select Chat_App_Your_Attendee_ID_2000 as an Asset Name. Set Service Level Threshold as
360
and click on Save.
Task 4. Create Queue for Chat
-
While on the Control Hub portal go to Queues and click on Create a queue.
-
Input Name as
. Also select_2000_Chat_Queue Chat
in the Channel Type section. -
Scroll down to Chat Distribution click on Add Group and select
_2000_Team -
Set Service Level Threshold as
7200
seconds (2 hours). Set Maximum Time in Queue as10800
seconds (3 hours). Click on Save after comparing your values with the screenshot below.
Task 5. Website Widget Configuration
-
Go to Assets -> search and edit
Chat_App_ which you have created in Connect Portal._2000 -
Scroll to top of the page and choose Websites tab. Click on ADD Website.
-
Fill in the respective fields as per the table below:
Parameter Name Parameter Value Chat Widget Language English-US Display Name Flower Shop Byline Text Button Text Start Chat First message Hello! Welcome to the chat PCI Compliance Banner Message This chat is PCI compliant Domain *.glitch.me Set wait time Disabled Set Chat Announcement Enabled -
Scroll up, select Appearance and change the settings:
-
Scroll up, select Widget Visibility tab and make sure that Force Turn Off Widget switch is disabled. Then select Widget Visibility as Show without any restrictions and save changes.
-
Now click on < arrow near Website Settings and go-back to edit your chat asset.
-
Select Installation then click on Copy to copy the chat script to clipboard.
Task 6. Paste the script to the test website.
-
In this lab, we are using the glitch.com platform to test our chat functionality on a sample website. Using your personal gmail plesae login to glitch.com and create your own custom website where you can embed the chat widget. Open index.html file to see the structure of the website.
-
While having index.html file open, copy the script that you have save in notepad in the prevouse Task and paste it between footer and body tags.
-
Click on the website preview, and you should see the chat bubble appear in the bottom-right corner.
Congratulations, you have officially completed this mission! 🎉🎉