--- title: "How to Extend Visitor Badge" slug: "app-extend-agent-console-how-to-extend-visitor-information" updated: 2022-09-16T10:50:47Z published: 2022-09-16T10:50:47Z canonical: "developer.comm100.com/app-extend-agent-console-how-to-extend-visitor-information" --- > ## Documentation Index > Fetch the complete documentation index at: https://developer.comm100.com/llms.txt > Use this file to discover all available pages before exploring further. # How to Extend Visitor Badge ## Introduction This article introduces how to develop an app to extend visitor badge in the Agent Console. You can learn how to add an icon beside the visitor avatar by implementing the click event `"agentconsole.livechat.visitorBadge.click"` [API](/docs/app-api-agent-console-api-livechat). You can also use [Server API(Restful)](/docs/server-api-reference) and [App API(JavaScript)](/docs/app-api-reference) to implement complex logic based on your requirements. By following the step-by-step instructions in the example, you can see a new icon beside the visitor avatar, as follows:  ## Prerequisites Read [Developing An App](/docs/guides-app-developing-an-app) for setting up a testing environment. ## Steps 1. [Configuring the manifest file](/docs/app-extend-agent-console-how-to-extend-visitor-information#configuring-the-manifest-file) 2. [Modifying the index.html](/docs/app-extend-agent-console-how-to-extend-visitor-information#modifying-the-indexhtml) 3. [Testing App](/docs/app-extend-agent-console-how-to-extend-visitor-information#testing-app) ### Configuring the manifest file Configure manifest as following and make sure you input `visitorBadge` as widget's type. ``` { "manifestVersion": "2.0", "agentConsole": { "widgets": { "visitorBadge": { "id": "custom-icon", "url": "./index.html", "tooltip": "Custom Icon", "icon": "./icon.png" } } } } ``` ### Modifying the index.html Copy the following code to index.html ```