# Aisera Webchat

The **Aisera Webchat** channel is the default channel for the AiseraGPT application/bot.\
\
When you create an AiseraGPT application **Settings > AiseraGPT > +New AiseraGPT**, this channel will appear on the Details (summary) screen as soon as the bot is created.

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

## Markdown Enabled by Default

When you create a new Aisera application or bot, Webchat Markdown Support is enabled by default.

{% hint style="warning" %}
Ensure the Webchat channel is not open when editing the configuration.
{% endhint %}

To disable the Markdown Support:

1. Open the Channel Configuration.
2. Uncheck the **Enable Markdown Syntax** field (while the Webchat channel is not open).

   <div align="left"><img src="/files/J8uFjZPqDvMUn6eAmcFd" alt="" width="563"></div>
3. Click **OK** to save the modified configuration.
4. Wait 1 minute.
5. Open and Test your application or bot. (Markdown syntax should now be disabled.)

## Review the Channel Details

Double-click the Webchat icon on the Aisera Details page to see the Channel Details page. It contains the general parameters for your channel, as described in the table below.

| Channel Name            | Name of the Channel as it appears in Admin UI.                                                                                                                                         |
| ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Chatbot Name            | This is displayed in the header along with the logo.                                                                                                                                   |
| Logo                    | Logo is positioned in the middle of the web chat upper tab.                                                                                                                            |
| Header Background Color | The chat window's header background color.                                                                                                                                             |
| Header Text Color       | The chat window's header text color.                                                                                                                                                   |
| Border Color            | The border color used in the header, input field etc.                                                                                                                                  |
| Show Aisera Logo        | Whether to show the Aisera logo in the chat window footer.                                                                                                                             |
| Footer Message          | A message displayed in the web chat footer.                                                                                                                                            |
| User Background Color   | The background color of the user input box.                                                                                                                                            |
| User Text Color         | The text color in the user input box.                                                                                                                                                  |
| Agent Icon              | The icon of the Virtual Assistant                                                                                                                                                      |
| Live Agent Icon         | The default icon for a Live Agent                                                                                                                                                      |
| Link Color              | The hyperlinks text color.                                                                                                                                                             |
| Opener Icon             | Opener is the round button hovering in the bottom right/left corner                                                                                                                    |
| Opener Background Color | The color of the Opener. A container for the opener is bigger that the container for the image of the opener, which creates a 10px border.                                             |
| Opener Size             | The size of the chat window opener.                                                                                                                                                    |
| Opener Right            | The offset of the chat window opener from the container window right edge.                                                                                                             |
| Opener Button           | The offset of the chat window opener from the container window bottom edge.                                                                                                            |
| Opener Message Time     | The Opener Message specified below is displayed if web chat is not opened during this time.                                                                                            |
| Opener Message          | This message is displayed if web chat is not opened during the Opener Message Time specified above. Leave empty to use the greeting and recommendation from the conversation messages. |

### Webchat Waits While Entries are Processed <a href="#webchat-waits-while-entries-are-processed" id="webchat-waits-while-entries-are-processed"></a>

In the Webchat channel, a new request cannot be added while the initial request is still being processed.

### Copy the JavaScript to Embed Your Application <a href="#h.cikcgr7czbr6" id="h.cikcgr7czbr6"></a>

At the bottom of the Channel Details page you will see the Javascript snippet you can you to invoke the web chat from your portal/website.&#x20;

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

* Click **Test** to see your virtual assistant. The JavaScript snippet with temporarily bring up your bot on the current page.
* Choose **Copy** to put the JavaScript snippet on your clipboard, when you're ready to embed it in a website or portal.


---

# 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.aisera.com/aisera-platform/channels/aisera-webchat.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.
