> ## Documentation Index
> Fetch the complete documentation index at: https://ai-kb.automationanywhere.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Chatbot Configuration

> How to configure your public chatbot within EKB

The Public Chatbot configuration interface allows you to customize your chatbot's appearance, behavior, and functionality. Settings are organized into three tabs: **Appearance**, **Integrations**, and **Teams App**.

## Accessing the Configuration Interface

1. Navigate to your EKB dashboard and open your project.
2. Go to **Public Chatbot** in the sidebar menu.
3. Select the tab you want to configure.

<Warning>
  If your project is not set to public, the chatbot will not be accessible on your website. To change this, go to your project settings.
</Warning>

<Tabs>
  <Tab title="Appearance" icon="paintbrush">
    The **Appearance** tab is divided into two sections: **Content** and **Interface**. A **Chatbot Preview** panel on the right reflects your changes in real time.

    ### Content

    | Field                      | Description                                                                                                                                  |
    | -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
    | **Chatbot Name**           | The name displayed in the chat window.                                                                                                       |
    | **Welcome Message**        | The greeting sent to users when they open the chat. Example: *👋 Hi! I am Automation Anywhere, your personal assistant. How can I help you?* |
    | **Input Placeholder Text** | The placeholder shown in the message input box before the user types. Example: *Ask Automation Anywhere anything*                            |
    | **Suggestions**            | Predefined questions to guide users. Enter each suggestion on a new line.                                                                    |

    ### Toggles

    | Toggle                    | Description                                                                               |
    | ------------------------- | ----------------------------------------------------------------------------------------- |
    | **Show Thinking Process** | When enabled, the chatbot displays the AI's reasoning steps alongside its final response. |
    | **Enable Authentication** | When enabled, users will be required to authenticate before using the chatbot.            |
    | **Allow Attachments**     | When enabled, users can attach files when sending messages in the public chatbot.         |
    | **Allow Tool Calls**      | When enabled, users can trigger tools and workflows from the public chatbot.              |

    ### Default Agent

    Use the **Default Agent** dropdown to select the AI agent that handles the chatbot's responses. A preview card showing the agent's name, description, and connected tools appears below the dropdown when an agent is selected.

    ### Interface

    Use the **Interface** section to customize the visual appearance of your chatbot. Click **Reset to Default** in the upper right to restore all interface settings to their original values.

    | Setting                                                          | Description                                                                                                        |
    | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
    | **Font Size (px)**                                               | Sets the text size for the chatbot. Default is 12px.                                                               |
    | **Message Bubble/Header Color**                                  | Hex code for the message bubble and header background color.                                                       |
    | **Display Welcome Message above toggle icon (Delay in seconds)** | Sets the delay in seconds before the welcome message appears above the chatbot icon. Enter `-1` to disable.        |
    | **Toggle Icon Color**                                            | Hex code for the chatbot toggle button color.                                                                      |
    | **Text Color**                                                   | Hex code for the font color used in chatbot messages.                                                              |
    | **Caret Background Color**                                       | Hex code for the caret (cursor) background color.                                                                  |
    | **Enable Multiple Chats**                                        | Allows users to start and manage multiple chat sessions simultaneously.                                            |
    | **Display Sources**                                              | When enabled, users can see the knowledge base sources used to generate each response.                             |
    | **Pre-Chat Attention Image**                                     | Upload an image (e.g. a logo or brand asset) to display before the chat begins.                                    |
    | **Pre-Chat Attention Image Behavior**                            | Controls when the pre-chat image is shown: **Always show on refresh**, **Never show**, or **Show every 24 hours**. |
    | **Toggle Button Image**                                          | Upload a custom image for the chatbot toggle button.                                                               |
    | **Widget Header Image**                                          | Upload a custom image for the chat widget header.                                                                  |

    ### Saving Changes

    Click **Save** to apply your configuration. Click **Reset to Default** in the Interface section to revert interface settings only.
  </Tab>

  <Tab title="Integrations" icon="code">
    The **Integrations** tab provides embed codes and connection options for adding your chatbot to websites and messaging platforms.

    ### Embed on Website

    Two embed scripts are available — a **Window Script** and a **Widget Script** — for adding the chatbot to any website as a full window element or a floating chat bubble respectively.

    For detailed instructions on embedding the chatbot in websites and frameworks such as Next.js, React, Angular, and WordPress, see [Integrate EKB Chatbot to Your Website & Apps](/public-chatbot/chatbot-configuration).

    ### Slack

    Click **Add Bot** next to **Add to Slack** to add the chatbot to your Slack workspace.

    <Info>
      For instructions on setting up the Slack integration, see [Slack Integration](/public-chatbot/chatbot-slack).
    </Info>

    ### Google Chat

    Click **Add Bot** next to **Add to Google Chat** to add the chatbot to your Google Chat workspace.

    <Info>
      For instructions on setting up the Google Chat integration, see [Google Chat Integration](/public-chatbot/chatbot-google-chat).
    </Info>
  </Tab>

  <Tab title="Teams App" icon="microsoft">
    The **Teams App** tab configures the behavior of the chatbot once it has been deployed as a Microsoft Teams bot.

    <Info>
      For instructions on setting up the Teams integration, see [Microsoft Teams Integration](/public-chatbot/chatbot-teams).
    </Info>

    ### Teams File Upload

    Select how files uploaded by users in Teams are handled:

    | Option                      | Description                                                                                             |
    | --------------------------- | ------------------------------------------------------------------------------------------------------- |
    | **Quick Upload**            | Uploads the file and provides a URL back.                                                               |
    | **File Content to Chat**    | Uploads the file content into the chat for a limited time.                                              |
    | **File Content to Context** | Uploads the file content into memory and keeps it as context until cleared or replaced by another file. |

    ### Footer Message

    Enter a markdown-formatted message to append to the end of every response in the Teams app.

    ### Toggles

    | Toggle             | Description                                                          |
    | ------------------ | -------------------------------------------------------------------- |
    | **Feedback Input** | Allows the Teams app to collect feedback on AI responses.            |
    | **KB Sources**     | Displays the knowledge base sources used for each AI response.       |
    | **KB Search**      | Shows the KB search text that takes place within the knowledge base. |

    ### Available Commands

    The following commands can be used directly in the Teams chat:

    | Command         | Description                                                           |
    | --------------- | --------------------------------------------------------------------- |
    | `!clearchat`    | Clears your chat history for the AI discussion.                       |
    | `!setup`        | Triggers setup and allows you to change your Teams Bot configuration. |
    | `!context`      | Displays the current context of your chat.                            |
    | `!clearcontext` | Clears the context memory of your AI discussion.                      |
    | `!setcontext`   | Manually sets the context with the following text.                    |
    | `!commands`     | Displays all available commands.                                      |

    Click **Save Changes** to apply your Teams App configuration.
  </Tab>
</Tabs>
