Site icon WPMarmite

How to add a chatbot to WordPress

It’s cropping up everywhere. You find it on almost every page of the Internet. It’s ready to answer your questions at a moment’s notice.

Does the word “chatbot” ring a bell? Yes, you know, that little dialog box that pops up on your page and requests that you chat with it.

This furry popup is just what you need.

It’s one thing to encounter it during your own web visits. But a little bird tells me that you also want to offer your visitors a chatbot on your own WordPress site.

There are quite a few advantages to adding one, provided you understand how to integrate it into your site.

By the end of this article, you’ll know exactly how to do that, step by step.

Ready to get started? Follow the guide!

Originally written in August 2019, this article was last updated in November 2023.

Your best WordPress projects need the best host!

WPMarmite recommends Bluehost: great performance, great support. All you need for a great start.

What is a chatbot?

Introduction to chatbots

A chatbot is an automated computer robot that uses rules and/or artificial intelligence (AI) to simulate a written human conversation with visitors to your site.

Available 24/7, chatbots most often take the form of an instant messaging system (voice chatbots are also increasingly being developed).

A chatbot can be used on any type of WordPress site: showcase site, blog, e-commerce store, etc.

Chatbots are becoming increasingly widespread in a variety of fields, including customer service, marketing, task management, etc.

What are the features of a chatbot?

Provided it’s programmed for it, a chatbot can perform a variety of functions on your WordPress site. Here’s a sample of what it can do:

As you can see, a chatbot is capable of fulfilling a multitude of missions. And you know what, that’s not all.

Our friend the chatbot wears many different hats. I’ll explain it all just below.

What are the different kinds of chatbots?

While the term chatbot is used generically to describe a computer robot, there are three “main” categories.

That’s why we distinguish between:

They’re all used to communicate with web users and offer them different things. Let’s take a look at each of them, to make sure everything is clear to you.

A chatbot is based on rules

A “classic” or “standard” chatbot is based on a set of programmed rules that determine how it should react according to specific keywords or expressions.

With a standard chatbot, it’s up to you to define what it can do. Roughly speaking, a standard chatbot allows your web users to express themselves, take a survey, ask questions and receive answers… as long as they keep it simple.

In fact, this computer robot has a limited understanding of natural language and cannot grasp the context or nuance of users’ questions.

Its responses are predetermined and not personalized, making it ill-suited to complex conversations.

The intelligent chatbot analyzes and learns

In contrast, an intelligent chatbot doesn’t just use keywords. It analyzes the meaning of the sentence and learns from past interactions with your visitors, in order to respond more precisely.

Its responses are more natural — in the sense of sounding less robotic — and more complex than those provided by a standard chatbot.

To achieve this, an intelligent chatbot uses artificial intelligence techniques and machine learning.

It’s able to take into account the context of the conversation and generate responses based on this context, making interactions more personalized.

It’s therefore better suited to complex conversations, and can handle more nuanced and varied questions.

Live chat: Humans to answer your questions

Finally, the last major category of chatbot is live chat. On the face of it, a live chat can look just like a classic chatbot.

What makes the difference is that you’re not talking to a robot (where you can get away without writing a complete sentence), but to a human interlocutor.

This real-time communication tool is very often used in customer service and technical support, as it offers a fast, direct response to users’ needs.

Why add a chatbot to your WordPress site?

The chatbot is a popular and fast-growing tool, appreciated by users and businesses alike.

According to this study, the chatbot market will reach $543 million by 2026. It also reveals that 62% of consumers prefer to use a chatbot online, rather than wait for human intervention.

And by the way, 70% of customers find the experience positive. You have to admit that there are many advantages to using a chatbot, though there are certain disadvantages as well.

What are the advantages of a chatbot?

Generally speaking, a chatbot offers several advantages for your WordPress site:

What are the disadvantages of a chatbot?

If you’re considering installing a chatbot on your WordPress site, you should also bear in mind some of the disadvantages that come along with it:

Still interested in adding a chatbot to your WordPress site? To give you a clearer picture of how to go about it, we’ll now go over a selection of the top chatbot plugins.

Installing a plugin is indeed the easiest and fastest way (no coding required) to integrate a chatbot into your website.

What are the best chatbot plugins on WordPress?

If you’re looking for any kind of plugin, there’s one place to go: the official WordPress directory.

It currently lists plugins, including several dozen dedicated to the creation of a chatbot (classic, intelligent, or live chat).

The big advantage is that all the plugins listed in the official directory have at least one free version.

So you can test them out to get a feel for their functionality, then go one step further with more options by upgrading to a paid package, if available.

To help you in your search, here are some of the most popular, with over 1,000 active installations and regular updates.

For the sake of readability, I’ll divide them into two categories (chatbot and live chat), although some are multi-taskers.

Introduction to WordPress chatbot plugins

To start with, here are a few generalist chatbot plugins that stand out from the crowd:

Note that you’ll also find free chatbot WordPress plugins that require integration with a CRM like Hubspot or Zoho.

Overview of WordPress live chat plugins

In addition, you’ll also come across plugins with more specific uses, for example to create live conversations. You can do this with:

In addition to WP plugins, there are also premium platforms offering highly sophisticated chatbot tools, such as Intercom, Botsify, Writesonic, Landbot, and Acobot.
Often more comprehensive than a free plugin, these platforms also require a much larger budget. They can be useful if you have a high volume of requests to process on a daily basis. Otherwise, starting with a free plugin is a good compromise.

What should I consider when choosing a chatbot plugin?

Does one option stand out to you from the selection above? Before settling on a particular plugin, consider the following points:

WP Umbrella : Manage all your WordPress websites under one dashboard

Update your themes and plugins, monitor and backup your WordPress sites effortlessly. 

How do I make a chatbot on WordPress with the AI Engine plugin?

For the purposes of this test, I’m now going to show you, step by step, how to create a chatbot on WordPress using the AI Engine plugin.

I chose AI Engine for several reasons:

The most popular plugin for creating chatbots and live chat on WordPress is called Tidio. It’s easy to use and offers a wide range of options, as can be seen from the feedback it receives on the web.

However, it’s limited to 50 conversations per live chat in its free version, which is why I didn’t go any further with it.

The first version of this article covered the collectchat plugin. At the time of updating this article, it was impossible to download it as it was “awaiting full review” on the official directory.
By the time you read this, the situation may have changed and you may be able to activate it. Please note that this is an effective plugin (provided it hasn’t changed in the meantime) that WPMarmite used on its home page a few years ago.

Join the WPMarmite subscribers

Get the last WPMarmite posts (and also exclusive resources).

Step 1: Install and activate the AI Engine plugin

To get started, install and activate the AI Engine plugin on your WordPress dashboard.

To do this, go to Plugins > Add New, then type “AI Engine” in the search bar:

Once this is done, you’ll see a new menu called “Meow Apps” appear in the left sidebar of your admin interface.

Two sub-menus are available:

  1. Dashboard. This is a general dashboard that brings together all the plugins created by Jordy Meow. You can activate them here, if required, while accessing general settings tabs for performance, or PHP errors.
  2. AI Engine. Here you can access all the tools (and their settings) offered by the AI Engine plugin. Of course, there’s the one for creating a chatbot. But the plugins has other tricks up its sleeve. You can also use the plugin and AI Engine to generate content, images, and more.

Step 2: Connect the plugin to OpenAI

The second step required to take full advantage of the plugin’s features is to connect it to an artificial intelligence service. For this, the plugin’s author recommends OpenAI, the parent company of the famous ChatGPT.

If you don’t have an OpenAI account, go to their site and sign up for free in just a few minutes. Start the process by clicking on the “Try ChatGPT” button in the top right-hand corner of the page:

Already have an OpenAI account? Retrieve your API keys from your customer area. Click on your profile, then on “View API Keys.”

Then click on “Create new secret key”:

Copy this API key. Go back to WordPress, then paste the key in the “Settings” tab, in the “API Key” field:

To be able to create and customize your first chatbot, make sure the feature below is available in the “Dashboard” tab. Tick the box if it isn’t:

Step 3: Set up the chatbot’s general settings

Start setting up your chatbot by entering some general settings in the “Default” tab. Let’s take a look at the two most important.

Main Settings

In the “Main Settings” drop-down menu, you can choose:

Context feeds the beast, so to speak. This is where you need to give as much information as possible to the artificial intelligence, so that it can provide the most precise and personalized answers possible to your visitors.

Be as exhaustive as possible. For example, if you have a WooCommerce store that sells beauty products, detail what your expertise is (e.g. “You’re an expert in beauty products”).

Explain what types of products you sell, your price range, your market and values, your history, your targets, etc.

You can also tell the AI the tone you want to use in the chatbot’s responses (friendly tone, for example, use of formal or informal language, etc.).

In short: provide as much context as possible. The more context you provide, the higher the quality of your responses.

Visual Settings

In the next menu, “Visual Settings,” customize the welcome texts proposed by the chatbot. Take this opportunity to enter:

You can see a preview of your chatbot on the right:

If you want something more discreet on your pages, click on the “Popup” box.

You’ll be able to select the icon of your choice, and choose its location from the “Popup Settings ” drop-down menu (bottom right, bottom left, top right, or top left).

So much for the basic general settings. You can also add other chatbots, for example to create one specific to a particular page, by clicking on the little “+” icon.

Each chatbot created can be duplicated or deleted in the “Actions” submenu:

Step 4: Customize the style of your WordPress chatbot

Let’s move on to customizing the visual appearance of your chatbot. To do so, toggle the “Theme Editor” button:

Two new tabs appear, corresponding to the two available modes (ChatGPT and Messages). You can customize both the chatbot itself, and the popup window associated with it.

You can modify the following elements:

Step 5: Integrate the chatbot into your site

When you’ve finished customizing the settings, there’s no need to save. The plugin automatically does that for you.

All that’s left is to select where you want to integrate your chatbot. By default, you have two options:

  1. Display the chatbot on all your pages.
  2. Display the chatbot on the page of your choice.

To integrate the chatbot on your entire site, select “Default” in the “Site-Wide Chat” option:

Prefer to integrate your chatbot on a specific page? Simply copy the generated shortcode, which takes this form: [mwai_chatbot id="default"].

Go to the page of your choice, then paste your shortcode into a “shortcode” block in the WordPress content editor.

And that’s it!

AI Engine offers a Pro version available from $49/year for use on a single site. This version addresses the limitations of ChatGPT. One interesting feature: with the premium version, the chatbot is able to recognize the content of each of your pages and analyze it, to offer even more complete answers.

As you can see, there’s nothing too complex about this operation, is there? This plugin is really simple to use and effective.

Conclusion

As you’ve seen throughout these lines, creating a chatbot on your WordPress site can enable you to automate certain tasks, while saving precious time on a daily basis.

If you have a lot of customer service questions, for example, it may be worth your while to look into this kind of tool.

On WordPress, it’s quick and easy to add a chatbot using a plugin like AI Engine.

Now you know how to set it up and configure it to your liking. Are you already using it? Or are you planning to start?

Tell us all about it in the comments.

Exit mobile version