# Chatwoot

[Chatwoot](https://www.chatwoot.com) is an open-source livechat platform, with an online SaaS version as well as a self-hosted version. If you are looking for a livechat solution that you can have full control over, or with a free plan if you want the SaaS version, we recommend Chatwoot!

To get started, go to your bot's **Settings > Livechat** then select Chatwoot as your livechat support platform.

![](/files/-MbLaUPq6Xp_HQfRYBJE)

You will need to retrieve:

* the URL of your Chatwoot instance. If you are using chatwoot.com, it will be `https://app.chatwoot.com`&#x20;
* your access token (which you can find at the bottom of your profile settings) and&#x20;

![](/files/-MEnHvaF-pnqOoDwmpap)

Hit **Save**, and a dedicated inbox will be created for you!

## Canned Responses

We recommend you configure a "Signing off" canned response in Chatwoot to trigger the `LIVECHAT_SESSION_END` event under **Settings > Canned Responses**.

![](/files/-MEnIndRfChd1ZevjEAg)

You can simply copy and paste the text below, or adjust to your liking - just make sure that the LIVECHAT\_SESSION\_END is at the end of the content.

```
Let us know if we can do anything else for you - we are here to help.

LIVECHAT_SESSION_END
```


---

# Agent Instructions: 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:

```
GET https://docs.csml.dev/studio/getting-started/livechat/chatwoot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
