> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/interface-and-deployment/end-user-interfaces/website-chatbot.md).

# Website Chatbot

The **Website Chatbot** is a great export option if you'd like your users to be able to optionally interact with a chatbot while on your website. The chatbot will be available as an icon that opens a window.

Publish your project first, then embed your chat assistant in your website by clicking the **Embed** button on the top right of the page. Paste the HTML or React code into the UI of your website. Each time you make changes to your project, remember to **Publish** them first so that the changes populate to the user side.

<figure><img src="/files/bNzfPiU3kSgPCO7tp9Nc" alt=""><figcaption></figcaption></figure>

### Configuration

You can customize some of the options for this interface:

* User feedback: allow the user to give thumbs up or thumbs down feedback on chat responses, you will be able to see this feedback in the Manager View
* Related results: shows the user suggestions for follow-up inputs to the chat assistant
* Show steps: shows the user what parts of your project are processing
* Show attachment icon: allows the user to attach files by clicking the attachment icon on the bottom left of the chat box
* Show audio icon: allows the user to do voice-to-text instead of typing
* Default loading message: shows a message while the chat assistant is thinking
* Welcome Message: shows the user a welcome message before they've queries the chat assistant
* Enable clear chat: allows the user to clear the chat
* Conversation Starters: shows the user example queries before the user has begun interacting
* Icon Message: shows a message above the icon of that chat assistant


---

# 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.stackai.com/interface-and-deployment/end-user-interfaces/website-chatbot.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.
