Product
How it worksDemosFeaturesPricingFAQFree chatbot
Who it's for
Local businessOnline storesFor agenciesFind an agency
Install
WordPressShopifyWixSquarespaceWebflowGoDaddyAll guides and videos
Resources
AboutBlogWhy BotDeskSecurity
Log in Build my demo
Setup guide

Add an AI Chatbot to Your WooCommerce Store

WooCommerce runs on WordPress, so you use the same free BotDesk plugin. Paste your key and your assistant answers shoppers on every page of your store.

Start 30-Day Free Trial What is BotDesk?

Setup in 4 steps

Get Your WooCommerce Chatbot Live

The easiest way is the free BotDesk AI Chat plugin. Prefer not to add a plugin? There is a copy-and-paste method below the steps.

Install the plugin, 37 seconds

No sound, with captions. Real WordPress: copy your site key from the Install on your site page, install BotDesk AI Chat from Plugins > Add Plugin, paste the key into Settings > BotDesk, save, and the chat is live on your store.
1

Set up your bot and copy your API key

Create your BotDesk account and type in your store's address. BotDesk reads your store and learns your products, shipping and return policies on its own, so there's nothing to type in by hand. Then copy your API key. It starts with bd_. Don't type it by hand.

  • On a store plan: in your store dashboard, open Install and click Copy code. Your key is the part inside data-api-key="…".
  • Otherwise: open the Install tab in your BotDesk dashboard, open Site key (used in your install code) near the bottom, and click Copy.
2

Install the BotDesk plugin (recommended)

In your WordPress admin, go to Plugins > Add Plugin (called Add New on older WordPress). Search for BotDesk AI Chat, click Install Now, then click Activate. (Here is the plugin's page on WordPress.org if you want to check it first.)

Never added a WordPress plugin before? A video from WordPress (not made by BotDesk)

Optional: WordPress's own video on adding a plugin

Video: installing and activating a WordPress plugin (by WordPress, 2024)Starts at 1:02. It shows the WordPress side. Your BotDesk code comes from Install on your site in your dashboard. This video is made by WordPress, not BotDesk, and it adds a contact-form plugin as its example. Where it searches for that plugin, search for BotDesk AI Chat instead. Watch on YouTube
3

Paste your API key

Go to Settings > BotDesk. Paste your key into the API key box, make sure Show widget is checked, and click Save Changes. That's all the plugin needs: your bot's look and everything else come from your BotDesk account.

4

Check your store

Open your store in a new tab. The chat bubble appears in the bottom corner of every page, including product pages. Click it and ask a product question to test it.

Prefer not to add the BotDesk plugin?

Paste the install code instead

If your store already uses a code snippets plugin such as WPCode, copy your install code from the Install section of your BotDesk dashboard and paste the whole code into that plugin's Footer box, then save. It looks something like this:

<script async src="https://botdesk.studio/widget.js" data-api-key="YOUR_API_KEY" data-name="AI Assistant" data-color="#1F5AA8" data-greeting="Hi! How can I help you today?"></script>

Copy yours from the dashboard instead of typing it: your copy has your own key where this one says YOUR_API_KEY. The code carries your key and a few display settings. Everything else, like what the bot knows, your hours and where leads go, loads from your BotDesk account.

Then check your store as in step 4.

Optional: answer "where's my order?" (Store Pro)

Connect your WooCommerce orders

On the Store Pro plan, the bot can look up an order and tell the shopper its status and tracking. It only answers after the shopper gives the order number and the email on the order.

  1. In WordPress, go to WooCommerce > Settings > Advanced > REST API and click Add key.
  2. Give it a description, set Permissions to Read, and click Generate API key.
  3. In your BotDesk store dashboard, open Install, go to the Order tracking card, and open Not on Shopify? Connect a WooCommerce store. Paste your store address, the consumer key and the consumer secret, and click Connect WooCommerce.

We check the key against your store before saving it, store it encrypted, and only ever read orders. See the plans made for online stores.

If the chat doesn't show

Caching and Speed Plugins

Speed plugins can hide the chat or hold it back. If the chat bubble is missing, or only shows after you scroll, find your plugin below. After any change, clear that plugin's cache and reload your site in a private window. To add BotDesk to an exclude list, type botdesk.studio/widget.js.

WP Rocket

Go to Settings > WP Rocket and open the File Optimization tab. If Delay JavaScript execution is on, the chat bubble only shows after a visitor scrolls, taps or moves the mouse. To show it straight away, add botdesk.studio/widget.js to the Excluded JavaScript Files box, save, and clear the cache.

LiteSpeed Cache

Go to LiteSpeed Cache > Page Optimization and open the Tuning tab. Add botdesk.studio/widget.js to JS Excludes and to JS Deferred/Delayed Excludes, save, then purge all.

Autoptimize

Autoptimize only combines scripts stored on your own site, so it normally leaves BotDesk alone. If the bubble goes missing after you change its JavaScript settings, go to Settings > Autoptimize, add botdesk.studio/widget.js to its list of scripts to exclude, save, and empty its cache.

Cloudflare Rocket Loader

Rocket Loader is a Cloudflare setting (Speed > Settings, under Content Optimization) that changes how scripts load. The BotDesk plugin, from version 1.0.2, marks its script so Rocket Loader skips it: update the plugin. If you pasted the code yourself, add data-cfasync="false" right after <script, before src. Or turn Rocket Loader off.

SiteGround Speed Optimizer

Its Combine JavaScript Files setting can stop the chat loading. The SiteGround guide shows what to exclude.

Another plugin, or still missing?

Turn off the plugin's options that combine or delay JavaScript one at a time, clearing the cache each time, until the bubble shows. Then turn the others back on. Or ask us for free setup help and we'll find it.

After you install

Check It, Then Make It Yours

These settings live in your main BotDesk dashboard. On a store plan, open the account menu at the top of your store dashboard and choose Business dashboard.

Check that it's live

Open your website and look for the chat bubble in the bottom corner, then ask it a question. You can also open the Install tab in your dashboard, type your website address and click Check if it's live.

Where your leads go

When the bot takes a visitor's name and phone number, we email it to you and it also shows in the Leads tab. It goes to the email you signed up with unless you change it: open What your bot does, click Emails to you, and fill in Where should we send new leads?

The Free plan takes up to 10 leads a month. Starter and up take unlimited leads.

Changes reach your site by themselves

Change anything in your dashboard, like what the bot knows, how it looks, the pop-up message or the booking button, and save. Changes reach your site automatically within a few minutes. You don't need to paste the code again. Not seeing a change yet? Do a hard refresh: Ctrl+Shift+R, or Cmd+Shift+R on a Mac.

Business hours vs team availability

Your business hours (What your bot knows, then Business info, then Hours) are what the bot tells visitors when they ask if you're open. The team schedule in the Team tab (any paid store plan, or Growth and up) only decides when your staff show as available for live chat. They are separate, so changing one doesn't change the other.

Holidays, vacations and closed days

Open What your bot knows, then Business info, and scroll to Hours. Under Closed days and holidays, tap a holiday, use Going on vacation? for a run of dates, or click + Add a closed day. Check that Your time zone is right, then click Save settings. The bot will tell visitors you're closed on those days.

Products, stock and prices

On WooCommerce, BotDesk learns your products by reading your store's pages. It doesn't connect to your product list, so it doesn't see live stock or price changes until Auto-Sync reads those pages again. Live stock and prices are only available for Shopify stores today. The optional WooCommerce connection above (Connect your WooCommerce orders) is for order lookups ("where's my order?") on Store Pro.

Remove BotDesk from your site

If you used the BotDesk plugin: in WordPress, go to Plugins, find BotDesk AI Chat, click Deactivate, then Delete. Deleting also removes the key the plugin saved. Only want to pause it? Untick Show widget in Settings > BotDesk instead.

If you pasted the code instead: open the snippets plugin you used (such as WPCode), delete the BotDesk code from its Footer box and save. It starts with <script and contains botdesk.studio/widget.js.

If you connected your WooCommerce orders, also delete the REST API key you made for BotDesk in WooCommerce > Settings > Advanced > REST API.

Then clear your site's cache if it has one, and reload your site to check the chat bubble is gone. Removing the code only takes the chat off your site. It doesn't cancel your BotDesk plan or delete your chats and leads: see How do I cancel or change my plan? in the FAQ.

Set this up for a client? What happens to a client's bot, leads and chats when you remove them.

Stuck? We'll help

Send us your website address and we'll help you get it live by email, free.

Someone else runs your website? Open Install on your site in your BotDesk dashboard and click Email steps to my web person. Or email hello@botdesk.studio. We'll reply by email within 24 hours.

FAQ

WooCommerce Install Questions

Do I need a separate plugin for WooCommerce?

No. WooCommerce runs on WordPress, so you use the same free BotDesk AI Chat plugin, or paste the install code into a footer box. The chat shows on every page of your store.

Will it know my products?

BotDesk learns your products from your store's pages when it reads your site. Add anything it should always know, like shipping times or your return policy, in What your bot knows, then Facts & FAQs.

Can it tell shoppers where their order is?

Yes, on the Store Pro plan. Connect a read-only WooCommerce REST API key in your store dashboard (steps above). The bot only shares an order after the shopper gives the order number and the email on the order, so nobody can look up someone else's order.

Will BotDesk slow down my store?

It adds a little, and here is how much. The chat code is one file of about 238 KB, which is about 73 KB once compressed for sending (we measured it in October 2026). It loads at the end of your page, so your content shows first. Then it makes one small request for your bot's settings. It runs nothing on your server. If a speed plugin delays scripts until a visitor scrolls or taps, the chat bubble shows up then. See Caching and speed plugins above to change that.

Can I change what the chatbot says later?

Yes. Log into your BotDesk dashboard any time to update your business info, hours, services and FAQ answers. Changes reach your site automatically within a few minutes. You don't need to paste the code again.

Get Started

Your WooCommerce Store, Now With a 24/7 Assistant

Start free, paste your key, and your store assistant is live in minutes.

Start free, or try a paid plan for 30 days

Free plan: no card. Paid plans: 30-day free trial, card at checkout, no charge until day 31, cancel anytime. Store plans from $19/mo. 5-minute setup.