> ## 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

パブリック チャットボット構成インターフェイスを使用すると、チャットボットの外観、動作、機能をカスタマイズできます。設定は、**外観**、**統合**、**Teams アプリ**の 3 つのタブで構成されています。

## 構成インターフェースへのアクセス

1. EKB ダッシュボードに移動し、プロジェクトを開きます。
2. サイドバー メニューの \[**パブリック チャットボット**] に移動します。
3. 設定したいタブを選択します。

<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 **PLACEHOLDER\_0** 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 チャット

    \[**Google Chat に追加**] の横にある \[**ボットを追加**] をクリックして、チャットボットを Google Chat ワークスペースに追加します。

    <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 ファイルのアップロード

    Teams のユーザーによってアップロードされたファイルの処理方法を選択します。

    | オプション                   | 説明                                                         |
    | ----------------------- | ---------------------------------------------------------- |
    | **クイックアップロード**          | ファイルをアップロードし、URL を返します。                                    |
    | **チャットするファイルのコンテンツ**    | 期間限定でファイルのコンテンツをチャットにアップロードします。                            |
    | **コンテンツをコンテキストにファイルする** | ファイルの内容をメモリにアップロードし、クリアされるか別のファイルに置き換えられるまでコンテキストとして保持します。 |

    ### フッターメッセージ

    Teams アプリのすべての応答の末尾に追加するマークダウン形式のメッセージを入力します。

    ### トグル

    | 切り替え          | 説明                                       |
    | ------------- | ---------------------------------------- |
    | **フィードバック入力** | Teams アプリが AI 応答に関するフィードバックを収集できるようにします。 |
    | **KB ソース**    | 各 AI 応答に使用されるナレッジ ベース ソースを表示します。         |
    | **KB 検索**     | ナレッジ ベース内で行われる KB 検索テキストを表示します。          |

    ### 使用可能なコマンド

    次のコマンドは、Teams チャットで直接使用できます。

    | コマンド            | 説明                                      |
    | --------------- | --------------------------------------- |
    | `!clearchat`    | AI ディスカッションのチャット履歴をクリアします。              |
    | `!setup`        | セットアップをトリガーし、Teams Bot の構成を変更できるようにします。 |
    | `!context`      | チャットの現在のコンテキストを表示します。                   |
    | `!clearcontext` | AI ディスカッションのコンテキスト メモリをクリアします。          |
    | `!setcontext`   | 次のテキストを使用してコンテキストを手動で設定します。             |
    | `!commands`     | 使用可能なすべてのコマンドを表示します。                    |

    \[**変更を保存**] をクリックして、Teams アプリの構成を適用します。
  </Tab>
</Tabs>
