How to Extend Live Chat Toolbar
  • 16 Sep 2022
  • 1 Minute to read
  • Dark

How to Extend Live Chat Toolbar

  • Dark

Article Summary


This article introduces how to develop an app to extend the Chat Toolbar in the Agent Console. You can learn how to add an icon in the chat toolbar by implementing the click event "" API.

You can also use Server API(Restful) and App API(JavaScript) to implement complex logic based on your requirements.

After completing all steps, you can see a new icon in the chat toolbar, as follows:



Read Developing An App for setting up a testing environment.


  1. Configuring the manifest file
  2. Modifying the index.html
  3. Testing App

Configuring the manifest file

Configure manifest as follows, and make sure you input chatToolbar as the widget type.

  "manifestVersion": "2.0",
  "agentConsole": {
    "widgets": {
      "chatToolbar": {
        "id": "custom-toolbar",
        "url": "./index.html",
        "tooltip": "Custom Toolbar",
        "icon": "./icon.png"

Modifying the index.html

Copy the following code to index.html

<!DOCTYPE html>
    <meta charset="utf-8" />
    <title>Hello App</title>
    <script type="text/javascript" src="./js/APPClient.js"></script>
    <link rel="stylesheet" type="text/css" href="./css/style.css" />
    <script type="text/javascript">
      var client = APPClient.init();
      client.on("", function () {
        // do stuff

Testing App

Following this guide, log in to Agent Console, simulate a chat, then switch to the chat tab; you can find the icon in the chat toolbar.


Was this article helpful?