How to Connect Client to Live Chat Channel

Before we start, please make sure you have the latest 3Dolphins live chat widget code. If you don’t, please contact InMotion Support for further information.

Firstly, turn on the channel, and wait for around 10-15 seconds to let the channel completely startup.

Properties explanation:

URL

Host of live chat channel we wish to connect to. The URL can be copy-paste from here.

Client ID

Refer to Channel Key which can be copy-paste from here.

Client Secret

Refer to Channel Secret which can be copy-paste from here.

Now let’s test the configuration if it can connect successfully to the channel. Now open the index-debug-standard.html file in the browser (in this example we use Chrome). It should come out something like this.

There is an icon on the bottom left corner, before we click on that please open Developer Tools from your respective browser, and navigate to Network section. In Chrome it should appear something like this.

Now click the icon. There should appear network activities for requesting access token from the channel. Click on the activity and see what the response code is.

If the Status Code is 200 then it should be successfully connected. If not, then please double check the configuration and make sure the channel is already turned on.

Last updated