> ## Documentation Index
> Fetch the complete documentation index at: https://magicads.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# AI External Chatbot

> Allow end users to create, train, and embed custom chatbots directly onto their websites using OpenAI, Anthropic, DeepSeek, Gemini, xAI models with Davinci AI.

<Warning>This is a **Paid** extension that you need to first purchase via **Marketplace**</Warning>

## Introduction

Elevate User Engagement with **Customizable External Chatbots** Enable your clients to design, personalize, and deploy tailored External Chatbots that align with their unique business needs. These sophisticated chatbots can be effortlessly integrated into websites, delivering a seamless and professional user experience. Fully customizable, these chatbots enhance customer interaction by facilitating real-time engagement, providing instant responses to queries, offering personalized recommendations, and optimizing the visitor journey.

## Key Features and Benefits:

* **Brand Alignment**: Clients can customize chatbot aesthetics, including colors, logos, and avatars, to ensure a consistent brand identity and a polished website presence.
* **Unlimited Creation**: Users can develop multiple chatbots tailored to distinct website sections or specific business goals, with no restrictions on quantity.
* **Adaptive Training**: Chatbots can be continuously trained to evolve with changing user demands, maintaining relevance and effectiveness.
* **Personalized Greetings**: Craft unique welcome messages to create an engaging and inviting experience for website visitors.
* **Insightful**: Access detailed chat histories to analyze user interactions, gain valuable insights, and refine customer engagement strategies.

<Card title="Included Features">
  - Set Chatbot Name
  - Hide Chatbot Names
  - Set Chatbot Title
  - Set Chatbot Instructions
  - Stick to Instructions features
  - Custom Fallback Message
  - Custom Greetings Message
  - Custom Trigger Bubble Message
  - Custom Input Message Placeholder
  - Select AI Model (OpenAI | Gemini | DeepSeek | Anthropic | xAI)
  - Select Interaction Type
  - Change Main Header Logo
  - Hide Main Header Logo
  - Select Custom AI Avatars
  - Hide Custom Avatars
  - Hide Footer Branding Info
  - Hide Message Time
  - Set Widget Position
  - Customize Header BG Color
  - Customize Header Text Color
  - Customize AI Box BG Color
  - Customize AI Box Text Color
  - Customize User Box BG Color
  - Customize User Box Text Color
  - Single Page URL training
  - Entire Webiste URL training
  - PDF files training
  - Excel/CSV files training
  - Text input training
  - Q\&A input training
  - Youtube Video training (coming soon)
  - More will be added soon...
</Card>

<Card title="Supported LLM Models">
  * OpenAI | o4 mini
  * OpenAI | o3
  * OpenAI | o3 mini
  * OpenAI | o1 mini
  * OpenAI | o1
  * OpenAI | GPT 4.5
  * OpenAI | GPT 4 Turbo
  * OpenAI | GPT 4o mini
  * OpenAI | GPT 4o
  * OpenAI | GPT 4
  * Google | Gemini 2.5 Pro
  * Google | Gemini 2.5 Flash
  * Google | Gemini 2.5 Flash Lite
  * Anthropic | 4 Opus (coming soon)
  * Anthropic | 4 Sonnet (coming soon)
  * Anthropic | 3 Opus
  * Anthropic | 3.7 Sonnet
  * Anthropic | 3.5 v2 Sonnet
  * Anthropic | 3.5 Haiku
  * Deepseek R1
  * Deepseek V3
  * More will be added soon...
</Card>

## Extension Configuration

<Steps>
  <Step title="Step 1">
    Go to the **Marketplace** in **Admin Panel** and install **External Chatbot** extension after successfully purchasing it first.

    <img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-1.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=14faf246b9e65cd7f0bbaecef45c7ef0" width="402" height="282" data-path="images/extensions/external-chat/e-1.png" />
  </Step>

  <Step title="Step 2">
    After installation is completed, go to **AI Settings** page in Admin Panel and click on **Extensions** tab there. Click on **External Chatbot** there.

    <img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-2.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=ff7fe9f04b0db7f9e8b11ba9c6a10577" width="521" height="104" data-path="images/extensions/external-chat/e-2.png" />
  </Step>

  <Step title="Step 3">
    To control the settings of **External Chatbot** exension, return to **AI Settings** page in Admin Panel and click on the **Extensions** tab, and select **External Chatbot** extension.

    1. Turn on the checkboxes for **External Chatbot Feature** and **External Chatbot Free Tier Access**
       <Note>If you don't turn on External Chatbot Free Tier Access, then users who did not subscribe to any subscription plan where you have External Chatbot feature enabled, will not have any access to this feature</Note>
    2. List which AI LLM models you want your users to have access to under **Allowed AI Vendors**, it supports many different models from various AI vendors.
    3. Set **Number of Allowed Extended Chatbots** that users can create.
    4. Set **Number of Allowed Domains per Extended Chatbot** where each created external chatbot can run.
    5. After you are done with configuration, click on the **Save** button.

    <img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-3.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=b7b632b876a1968f04163f71ff57727e" width="731" height="527" data-path="images/extensions/external-chat/e-3.png" />
  </Step>

  <Step title="Step 4">
    <Check>
      Congratulations! You now have completed the External Chatbot extension configuration. Proceed to the section below on how to use it.
    </Check>
  </Step>
</Steps>

## How to Use

Using External Chatbot extension is very easy and straightforward. It gives you full flexibility on customizing your external chatbot to match the styles of the taget website where it will be running.

1. Go to **AI Chatbots** in User panel.
2. First thing you will see there is the **General Statistics** information.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-4.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=3e14f70a754288b03a157ae6a02b0a30" width="1373" height="276" data-path="images/extensions/external-chat/e-4.png" />

3. Down below you will see **Create New Chatbot** and **View Recent Conversations** buttons.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-5.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=a863f6ccbb6ba5d33c1e2dcd31680e43" width="1349" height="203" data-path="images/extensions/external-chat/e-5.png" />

4. And finally you will see all the chatbots that you have created. You can create up to the allowed amount, but you can always delete older ones to create new or subscribe to a plan with higher number of allowed external chatbots.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-6.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=9105116348865aae5ceafef4708ef2bc" width="1344" height="534" data-path="images/extensions/external-chat/e-6.png" />

## Create Chatbot

To create your chatbot click on the **Create New Chatbot** button.

### Step 1. Configure Chatbot

Under the first configure step, you can configure everything related to the text, AI, and other settings. Below is the explanation of all feature. You also have live preview for each step on the right side.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-7.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=b8fafab724107c3d917809fce3fe04ea" width="1213" height="1174" data-path="images/extensions/external-chat/e-7.png" />

1. **Chatbot Title** - title that will be visible at the heading of the chatbot once it's open

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-8.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=24b351dca5ea0d91cf58e2559a120820" width="447" height="79" data-path="images/extensions/external-chat/e-8.png" />

2. **AI Chatbot Name** - the name of the chatbot, you can also hide it by toggling the **Hide Chatbot Name** checkbox.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-9.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=e01303486a4ab413b3f2ad70348b0876" width="437" height="155" data-path="images/extensions/external-chat/e-9.png" />

3. **Chatbot Instructions** - this is where you instruct your chatbot on its role, be detailed as possible if you want to get specific results.

* You can also turn on **Restrict to data source and intructions** - When enabled, the AI will only answer using connected data sources and the specified instructions
* For the cases when chatbot will not be able to answer, you can set **Custom Fallback Message** and provide your own custom response as you prefer and chatbot will repond with that if will not have a proper answer to end user's question.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-10.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=9d2e18fd90dec1113b9868f7a98a4eb6" width="433" height="357" data-path="images/extensions/external-chat/e-10.png" />

4. **Greeting Message** - is the first message that AI list for the user when he visits the chatbot.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-11.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=cb08ff1dd3bbb71706f397643432856b" width="438" height="78" data-path="images/extensions/external-chat/e-11.png" />

5. **Bubble Message** - is the popup message visible to the user before he clicks on the chatbot. You can also turn it off with **Hide Buble Message** checkbox.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-12.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=38090a3b54e7a118fa61ed2108d97f21" width="444" height="199" data-path="images/extensions/external-chat/e-12.png" />

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-13.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=b6dedae12da68bc22d220bffb8b125fd" width="237" height="147" data-path="images/extensions/external-chat/e-13.png" />

6. **User Message Placeholder** - you can set custom message for the input field if you prefer

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-14.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=907986c10480f5d159a83dd84e0b8759" width="442" height="72" data-path="images/extensions/external-chat/e-14.png" />

7. **AI Model** - this is where you set the model of the chatbot, it will only use the selected model, it supports many different LLM models that you can choose from.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-15.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=8d933dccce809ba9b20e5c2ace2237ae" width="439" height="245" data-path="images/extensions/external-chat/e-15.png" />

### Step 2. Customize Chatbot

Under the second step, you can fully customize the styling of the chatbot and adjust it as needed.

1. **Main Header Logo** - you can upload custom main header logo, but default it uses the one that is being used in your homescript. You can also disable it with **Hide main banner logo** checkbox.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-16.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=73527811e5d993db010eb15a69721e4c" width="436" height="179" data-path="images/extensions/external-chat/e-16.png" />

2. **AI Avatar** - you can customize the chatbot avatar as needed or disable it with **Hide AI avatar logo** checkbox.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-17.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=7334ef112c72832c3966a0fb6cc9b234" width="438" height="194" data-path="images/extensions/external-chat/e-17.png" />

3. **Colors** - colors section gives you full flexibility on customzing the color styles, you can Independently set following color:

* Header Background Color
* Header Text Color
* AI Background Color
* AI Text Color
* User Background Color
* User Text Color

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-19.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=b32e25810b6c8c6a2aa6074cf26d2c00" width="435" height="343" data-path="images/extensions/external-chat/e-19.png" />

4. **Branding** -  you can hider or show footer branding info as needed. You can also set **Footer Link** which will redirect to any destination as you prefer upon clicking the company name in the footer section.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-20.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=529e0eec066415a07a7bb9594d901f78" width="437" height="183" data-path="images/extensions/external-chat/e-20.png" />

5. **Hide Date and Time of Messages** - you can also hide the date and time under the chatbot messages if you want.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-21.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=420576ce738ca8b0d289aad09a37c2b8" width="286" height="51" data-path="images/extensions/external-chat/e-21.png" />

6. **Widget Position** - you can configure widget position, the placement where it will be shown in the website.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-22.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=599fd865572780909dc539dc982dcfe7" width="452" height="194" data-path="images/extensions/external-chat/e-22.png" />

Once you are done with customizing the styles, click on **Next** button.
<Warning>It is after Customization step, the chatbot is actually created. You can skip the Training section if no training is planned.</Warning>

### Step 3. Training - Add a knowledge Base

You have 6 options to train the chatbot:

* URL (Single Page and Entire Website)
* PDF files
* Excel/CSV files
* Text inputs
* Q\&A inputs
* Youtube videos

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-23.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=18f247955716cb15f89db16499afd5dc" width="511" height="438" data-path="images/extensions/external-chat/e-23.png" />

#### Training with URL

You can train your chatbot with a single page URL or entire website URL.

1. Select **URL** from the list and click on the **Train via URLs** button.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-24.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=3c37ac1e92d3394c246cfe1991c57adc" width="459" height="462" data-path="images/extensions/external-chat/e-24.png" />

2. You will be redirected to **Website Embedding** page.
3. Enter your URL and select either `Single Page` or `Entire Website` option and click on **Start Crawling** button.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-25.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=2c86365615f07e282384e1dcb29cabdf" width="1270" height="242" data-path="images/extensions/external-chat/e-25.png" />

4. It will start processing your URL and generate Embedding out of it and will populate the **Embedded Content** table.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-26.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=5f112c3936234e319901234da2bf40cb" width="1265" height="838" data-path="images/extensions/external-chat/e-26.png" />

#### Training with PDF

You can train with up to 10 PDf files with a size of up to 30MB for each file in a single task.

1. Select **PDF** from the list.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-27.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=ffd7acafaa9352df81c184afc7bb0e14" width="453" height="570" data-path="images/extensions/external-chat/e-27.png" />

2. Upload your PDF file(s) and click on **Upload & Train** button.
3. It will start processing your PDF file(s) and once completed, you will receive a status notification message.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-28.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=f7b7b64ee93e6644ecb3895e28f2acd3" width="500" height="385" data-path="images/extensions/external-chat/e-28.png" />

#### Training with Excel/CSV

You can train with up to 10 CSV files with a size of up to 30MB for each file in a single task.

1. Select **Excel/CSV** from the list.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-27.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=ffd7acafaa9352df81c184afc7bb0e14" width="453" height="570" data-path="images/extensions/external-chat/e-27.png" />

2. Upload your PDF file(s) and click on **Upload & Train** button.
3. It will start processing your PDF file(s) and once completed, you will receive a status notification message.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-28.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=f7b7b64ee93e6644ecb3895e28f2acd3" width="500" height="385" data-path="images/extensions/external-chat/e-28.png" />

#### Training with Text Input

You can include unlimited text title and content pair to train your chatbot.

1. Select **Text** from the list.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-29.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=e09093dc7103b42e3458330e13176cd6" width="465" height="832" data-path="images/extensions/external-chat/e-29.png" />

2. Enter Text title and Text content. If more needed, simply click on the **Add More** button.
3. Once you are done, click on the **Process Text** button and once completed, you will receive a status notification message.

#### Training with Q\&A Input

You can include unlimited  question and answer pair to train your chatbot.

1. Select **Q\&A** from the list.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-30.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=5c613bea399f68a083f2dbd417eca727" width="468" height="610" data-path="images/extensions/external-chat/e-30.png" />

2. Enter your question and answer. If more needed, simply click on the **Add More** button.
3. Once you are done, click on the **Process Text** button and once completed, you will receive a status notification message.

## Embed and integrate

After you are done with creating and training your chatbot, to embed the chatbot into your website, you can use the provided code snippet.

<img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/external-chat/e-31.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=4761f60367bf25c62ab099d6e52db9ac" width="471" height="622" data-path="images/extensions/external-chat/e-31.png" />

Include it in right before the `<body>` in your target website and you will automatically see the chatbot available on your website.

<Check>
  Congratulations! You have completed the chatbot creation and training.
</Check>
