> For the complete documentation index, see [llms.txt](https://docs.livecaller.io/livecaller/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.livecaller.io/livecaller/services/online-chat/chat-integration.md).

# Chat Integration

This document helps you easily add the LiveCaller widget to your website.

First, log in to the LiveCaller administration panel. In the sidebar on the left, scroll all the way down until **My Widgets** appears. Once there, you can view existing widgets or create a new one.

<figure><img src="https://3442820265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnyVksmZW86N5iVDiUvg%2Fuploads%2Fwo3ZUyOkYO6KZVHNyyeb%2Fimage.png?alt=media&amp;token=8b50d168-9924-4f98-8ed4-424987cfd71c" alt=""><figcaption></figcaption></figure>

To create a new widget, you need to:

* Assign a name to the widget (e.g., “Support Main Site”) – this helps you easily identify which site it is for.
* Specify the site/domain (Link) where the widget should operate.

Then, go to the configuration page, where you:

* Select the functionality (Live Chat / Voice Call)
* Set the visual appearance (color, position, etc.)
* Optionally configure a **Pre-Chat Survey** to collect user information

Finally, click the **Save** button.

***

LiveCaller provides you with a special script that needs to be placed on your website. This code is generated directly on the widget page.

<figure><img src="https://3442820265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnyVksmZW86N5iVDiUvg%2Fuploads%2F3h2CVhQjtwCzCeJzk89o%2Fimage.png?alt=media&amp;token=61742bae-d9be-4b87-a266-62bf137abb23" alt=""><figcaption></figcaption></figure>

***

#### How to add a widget to a website?

The script must be placed on every page where the widget should appear. It is recommended to insert the code just before the `</body>` tag to avoid interfering with page loading.

<figure><img src="https://3442820265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnyVksmZW86N5iVDiUvg%2Fuploads%2Fo85ScNMI3GuCrnC2wYM6%2Fimage.png?alt=media&amp;token=486dcea3-a9a9-433b-af2d-90fb6c3486a6" alt=""><figcaption></figcaption></figure>

***

After inserting the script, the LiveCaller widget should appear on the page.

<figure><img src="https://3442820265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnyVksmZW86N5iVDiUvg%2Fuploads%2F66bkEIwsPpgnEX5KJWyw%2Fimage.png?alt=media&amp;token=7691e512-59a9-4ab0-90ca-d8cec00a8cb3" alt=""><figcaption></figcaption></figure>
