> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/convert/live-chat/live-chat-added-to-a-sprinthub-landing-page.md).

# Live Chat - Added to a SprintHub Landing Page

How to add the support widget to a landing page within SprintHub.

## Copying the Integration Code

To add the [Live Chat](/en/topics/convert/live-chat.md) to the landing page, simply copy the integration code available in the builder. Next, we will open the landing page builder inside Sprinthub.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F6DeTgPHWzfgHuYAElxQF%2Fimage.png?alt=media&amp;token=960926a6-a508-4a20-b094-04e64b914c96" alt=""><figcaption></figcaption></figure>

## Adding HTML Code

The instruction is to insert the code at the end of the tag `<body>`, that is, after all the page content. To do this, go to the tab **Advanced**, select the option **HTML**, drag the block to the end of the page, paste the copied code, and save the changes made.&#x20;

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F7CLDuho5q9BeAo9yv9r2%2Fimage.png?alt=media&amp;token=67cd5fba-3f2a-449f-9748-9b9f70cbf1ac" alt=""><figcaption></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F7J0mAvPNkEgvAIKn84ZQ%2Fimage.png?alt=media&amp;token=0a10017c-0c5a-474d-a5ca-1caee7356a1e" alt=""><figcaption></figcaption></figure>

## Verifying on the Landing Page

To test it, access the landing page created inside Sprinthub — the Chatweb icon will appear automatically, as shown in the image below.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FiEFrOAGaxtldxM8tiNAL%2Fimage.png?alt=media&amp;token=3a648ca3-12b7-43ec-acf5-a93f5d696dba" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sprinthub.com/en/topics/convert/live-chat/live-chat-added-to-a-sprinthub-landing-page.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
