Chat with us
Up to 60% OFF with Recurring Discounts on Premium Upgrades & Whitelabel FlexUp to 60% OFF on Premium Upgrade & Whitelabel00:00:00:00Claim
Knowledgebase/Automation/Article

How to Configure Webchat and Connect It to Your WordPress Website

  • 28 Sep 2026
  • 8 min read
  • 0 views
TL;DR:
This guide explains how to configure the BotSailor webchat widget and connect it to a WordPress website. It covers widget customization, branding, positioning, embed code setup, and multiple installation methods including theme file editing, WPCode, and Elementor. By following these steps, businesses can add a WordPress chatbot and chat widget to improve website communication and automate visitor support.

Adding a webchat widget to your WordPress website allows visitors to communicate with your business directly from your website. A properly configured wordpress chatbot can help businesses provide instant responses, improve visitor engagement, and create a smoother customer support experience.

With BotSailor, you can customize your chat widget and install it on WordPress in several ways. This makes it easier to create a branded chatbot for wordpress websites without requiring complex development work.

In this guide, you will learn how to configure the BotSailor webchat widget and connect it to your WordPress website using three different methods:

  • Adding the embed code to the WordPress theme files
  • Installing the widget with the WPCode plugin
  • Adding the widget to a specific page with Elementor

A BotSailor wordpress chatbot integration allows website visitors to start conversations directly from your website while businesses can manage automated communication through the BotSailor platform.


Configure the BotSailor Webchat

Before connecting the webchat to WordPress, you must create and configure it from the BotSailor dashboard.

The configuration process allows you to customize your chatbot appearance, branding elements, position, and visitor interaction settings before adding the chat widget to your website.


Step 1: Open the Connect Account Section

Log in to your BotSailor dashboard and follow these steps:

  • Go to the Connect Account section.
  • Connect the Webchat.
  • Click Create Live Chat Widget .

You can now begin configuring the appearance and behavior of your chat widget.

The Webchat option works as a website-based communication channel that allows businesses to add a chatbot wordpress solution to their existing website environment.



 Screenshot of the BotSailor “Available Connections” dashboard showing multiple integration options. The “Connect Account” menu is highlighted on the left sidebar, and the Webchat connection option is highlighted among available channels including WhatsApp, Facebook, Instagram, Telegram, Google, Shopify, and WooCommerce.
BotSailor provides multiple channel integrations to manage customer conversations and automation from one platform. This screenshot highlights the Webchat connection option, which allows businesses to add a live chat widget to their website for real-time visitor communication.


Step 2: Add the Display Information

Enter a display title for the chatbox.

Next, copy and paste the URL of the website where you want to install the webchat widget. Make sure that the URL is correct before continuing.

This website URL connects the BotSailor system with your WordPress website and prepares the wordpress chatbot for installation.


 Screenshot of the BotSailor Website Chat Widget setup page showing the “Set Up Your Live Chat Widget” panel. The interface displays customization options including chatbot display title, website URL, theme colors, brand logo upload, chatbot font, chatbox position, startup behavior, and widget appearance settings.
Customizing a live chat widget in BotSailor allows businesses to create a branded website communication experience. This setup screen provides options to personalize chatbot design, colors, positioning, and behavior before embedding it on a website.
Step 3: Customize the Widget Colors

BotSailor allows you to customize the widget so that it matches your website branding.

You can change:

  • Theme background color
  • Theme text color
  • Chat bubble background color
  • Chat bubble text color

By default, the theme background and text colors may be set to white and black, while the chat bubble colors may be set to blue and white.

Choose colors that provide good readability and match your brand identity.

A customized chat widget helps maintain consistent branding across your website while improving the visitor experience.


Step 4: Upload Your Brand Logo

Click the Upload button and select a suitable brand logo.

You can hover over the information icon to check the recommended image format and dimensions before uploading the file.

Adding a logo helps visitors recognize your business when interacting with the BotSailor wordpress chatbot interface.


Step 5: Upload a Chatbox Wallpaper

You can also upload a background wallpaper for the chatbox.

Click the Upload button and choose your preferred image. Hover over the information icon to view the recommended wallpaper size and file format.

A clean and lightweight background image usually provides the best user experience.

Using an optimized wallpaper ensures that your chatbot loads quickly without affecting website performance.


Step 6: Choose the Chatbox Position

Select where the chat widget will appear on your website.

BotSailor provides four available position options. For example, you can place the widget in the bottom-left or bottom-right corner of the page.

Choose a position that does not cover important buttons, menus, or website content.

The correct placement of your chat widget ensures visitors can easily access support while browsing your website.

For businesses using a chatbot for wordpress , selecting the right position is important because floating widgets need to remain visible without interrupting the user experience.


Step 7: Set the Startup Status

Choose whether the chatbox should remain open or closed when a visitor first loads the website.

Keeping it closed by default is usually less intrusive, while opening it automatically may help attract more attention.

For a wordpress chatbot , startup behavior plays an important role in balancing visitor engagement and user experience. Businesses can decide whether they want the chatbot conversation window to appear immediately or allow visitors to open it when needed.


Step 8: Adjust the X and Y Position

Use the X-axis and Y-axis settings to adjust the widget's position from the selected corner.

This is useful when your website already has another floating element, such as a WhatsApp button, cookie notice, or accessibility tool.

Proper positioning helps prevent conflicts between multiple website elements and ensures that the chat widget remains accessible without blocking important sections of the website.


Step 9: Set the Loading Delay

You can choose how long BotSailor should wait before displaying the webchat widget.

You may set a custom loading delay or keep the default value.

A suitable loading delay can improve the visitor experience by allowing the webpage content to load first before showing the chatbot wordpress interface.


Step 10: Configure the Subscriber Auto-Delete Period

BotSailor may also provide an option to automatically remove subscriber information after a selected period.

Choose the appropriate time interval based on your customer-support requirements and data-management policy. You can also keep the default setting.

Managing subscriber information properly helps businesses maintain organized chatbot records while following their internal data-handling practices.


Step 11: Connect the Widget

After completing the configuration, click Connect to activate the chatbox.

Next, click the Embed Code option. Copy the entire code by clicking the copy icon in the top-right corner of the code box.

You can now install the widget on your WordPress website.

The embed code connects the BotSailor system with your website and enables the wordpress chatbot functionality across your selected pages.



 Screenshot of the BotSailor live chat widget customization page showing configured chatbot settings. The image highlights the chatbot display title “Chatboost,” website URL field, brand logo upload, chatbox wallpaper settings, and widget appearance options such as chat position, startup behavior, and customization controls.
BotSailor’s live chat widget customization allows businesses to personalize their website chatbot with a custom title, branding elements, wallpaper, and display preferences. This setup screen shows how a chatbot widget can be configured before launching it on a website.
 Screenshot of the BotSailor live chat widget customization page showing configured chatbot settings. The image highlights the chatbot display title “Chatboost,” website URL field, brand logo upload, chatbox wallpaper settings, and widget appearance options such as chat position, startup behavior, and customization controls.
BotSailor’s live chat widget customization allows businesses to personalize their website chatbot with a custom title, branding elements, wallpaper, and display preferences. This setup screen shows how a chatbot widget can be configured before launching it on a website.


Install Webchat by Editing the WordPress Theme Files

This method installs the webchat widget globally, meaning it should appear across your entire website.

Adding BotSailor through theme files is one way to connect a chatbot for wordpress websites. However, administrators should carefully follow each step because incorrect code placement can affect website functionality.

Step 1: Open the Theme File Editor

Log in to your WordPress dashboard and go to:

Appearance → Theme File Editor

On the right side of the screen, you should see a list of your theme files.


 Screenshot of a WordPress admin dashboard showing the Appearance > Themes section. The page displays installed themes including Soledad, Twenty Nineteen, Twenty Seventeen, and Twenty Twenty, along with update notifications and WordPress plugin alerts.
The WordPress Themes dashboard allows website administrators to manage, update, and customize installed themes. This screen shows the active Soledad theme along with other available themes and system update notices.
Step 2: Open the Footer File

Scroll through the theme files and select:

footer.php

This file normally contains the closing section of your WordPress theme.

The footer section is commonly used for adding scripts such as a chat widget because it allows the code to load throughout the website.

 Screenshot of the WordPress Theme File Editor showing the active Soledad theme code editor. The interface displays the footer.php file with PHP code, the Theme Files list on the right side, and the Appearance > Theme File Editor section highlighted in the WordPress dashboard.
The WordPress Theme File Editor allows administrators to directly edit theme files such as footer.php and header.php. This screenshot shows the active Soledad theme’s footer template being accessed for customization and code modifications.
Step 3: Paste the BotSailor Embed Code

Scroll down inside the footer.php file and paste the BotSailor embed code near the bottom of the file.

It is generally best to place the code before the closing </body> tag.

Do not paste it inside an unrelated PHP function, HTML attribute, or another script.

Your theme structure may be different, so the exact placement can vary.

Adding the embed code allows the BotSailor wordpress chatbot to load automatically whenever visitors access your website.

 Screenshot of the WordPress Theme File Editor showing the footer.php code of the active Soledad theme. The image highlights a JavaScript embed script added near the closing body tag, showing the BotSailor webchat widget integration code inside the website footer file.
Adding the BotSailor chatbot to a WordPress website requires inserting the provided JavaScript embed code into the theme footer file. This screenshot shows the webchat widget script placed in footer.php to enable live chat functionality on the website.

Step 4: Update the File

Click Update File to save the changes.

Open or refresh your website. The BotSailor webchat widget should now appear on the page.

After successful installation, visitors can interact with the website chatbot directly through the floating chat widget .


 Screenshot of a WordPress blog website displaying a BotSailor chatbot widget on the right side of the page. The website features articles about Telegram bots, WhatsApp chatbot marketing, and automation tools, while the floating Chatboost widget provides a welcome message and visitor support options
The BotSailor chatbot widget is successfully integrated into a WordPress website, allowing visitors to interact through automated conversations. The live chat feature helps businesses provide instant support, answer questions, and improve visitor engagement.
 Screenshot of a WordPress blog website displaying a BotSailor chatbot widget on the right side of the page. The website features articles about Telegram bots, WhatsApp chatbot marketing, and automation tools, while the floating Chatboost widget provides a welcome message and visitor support options.
The BotSailor chatbot widget is successfully integrated into a WordPress website, allowing visitors to interact through automated conversations. The live chat feature helps businesses provide instant support, answer questions, and improve visitor engagement.
Important Warning

Editing theme files incorrectly can cause website errors. It is recommended to:

  • Back up your website before editing
  • Use a child theme
  • Avoid editing the active theme directly when possible
  • Ask a developer for help if you are unfamiliar with theme files

Theme updates may also overwrite manually added code.

For a safer installation, consider using the WPCode plugin.

Using a plugin-based method can make the installation process easier for users who want to add a wordpress chatbot without directly modifying theme files.

A properly configured chatbot for wordpress can provide automated visitor support while reducing the need for manual code changes.



Sanoary Rahaman Istiaque

Sanoary Rahaman Istiaque

FAQ

Frequently Asked Questions

Find answers to common questions about this topic

A wordpress chatbot is an automated communication tool that can be added to a WordPress website to help visitors interact with a business. It can answer common questions, collect visitor information, and guide users through different support options.
BotSailor allows businesses to create and customize a website chatbot by adding a webchat widget to their WordPress website.

You can add a chatbot to WordPress by connecting BotSailor Webchat and installing the provided embed code.
There are several methods available:
- Adding the code directly to WordPress theme files
- Using the WPCode plugin
- Adding the widget through Elementor
Each method allows you to integrate a chatbot wordpress solution based on your website setup and technical requirements.

The BotSailor webchat widget is a website communication tool that allows visitors to start conversations directly from a website.
Businesses can customize colors, branding, position, startup behavior, and other settings before adding the chat widget to their WordPress website.

Yes. BotSailor allows customization options including:
- Theme colors
- Chat bubble colors
- Brand logo
- Chatbox wallpaper
- Widget position
- Startup settings
These options help businesses create a branded wordpress chatbot experience that matches their website design.

BotSailor can be integrated with WordPress websites by adding the provided embed code or using supported installation methods.
The installation method may vary depending on your WordPress theme, plugins, and website structure.

Yes. Users who prefer not to edit theme files can install the BotSailor widget using methods such as the WPCode plugin or Elementor.
These options make it easier to add a chatbot for wordpress websites without directly modifying theme files.

Related Articles

Knowledgebase

How to Create a Keyword Based Bot in Telegram: Step-by-Step Guide

Sanoary Rahaman Istiaque
Sanoary Rahaman Istiaque
  • 22 Sep 2026
Knowledgebase

How to Send Sequence Messages on Telegram Using BotSailor

Sanoary Rahaman Istiaque
Sanoary Rahaman Istiaque
  • 22 Sep 2026
Knowledgebase

How to Set Up a Get Started Message in Telegram: Step-by-Step Guide

Sanoary Rahaman Istiaque
Sanoary Rahaman Istiaque
  • 22 Sep 2026
Knowledgebase

How to Collect Customer Email Addresses on Telegram Using BotSailor

Sanoary Rahaman Istiaque
Sanoary Rahaman Istiaque
  • 24 Sep 2026
Knowledgebase

How to Create a Location Reply Button for a Telegram Bot in BotSailor

Sanoary Rahaman Istiaque
Sanoary Rahaman Istiaque
  • 24 Sep 2026
Knowledgebase

How to Create a Birthday Reply Button for a Telegram Bot in BotSailor

Sanoary Rahaman Istiaque
Sanoary Rahaman Istiaque
  • 24 Sep 2026
Knowledgebase

How to Configure Webchat and Connect It to Your WordPress Website Chat

Sanoary Rahaman Istiaque
Sanoary Rahaman Istiaque
  • 28 Sep 2026