Install · WordPress

How to add a booking chatbot to WordPress

Add AskBok's AI booking chat to any WordPress or WooCommerce site with the free WPCode plugin: paste one line in the footer and customers can ask and book 24/7.

What you'll add · Chat button on every page

<script src="https://askbok.com/widget.js" data-widget-key="wk_…" async></script>

You'll need

  • A self-hosted WordPress site (or a WordPress.com plan that allows plugins)
  • Admin access
Try the chat first

Quick answer

Install the free WPCode plugin, go to Code Snippets → Header & Footer, paste your AskBok code into the Footer box and click Save Changes. A chat button appears on every page of your WordPress site; visitors can ask questions, see your real prices and free times, and book without leaving the chat.

Step by step: AskBok on WordPress

  1. 1

    Copy your AskBok code

    In your AskBok dashboard open AI Chatbot → Install on your website and click Copy code. You'll paste it into WordPress.

  2. 2

    Install WPCode

    In WordPress go to Plugins → Add New, search for “WPCode”, click Install Now, then Activate.

  3. 3

    Open Header & Footer

    Go to Code Snippets → Header & Footer.

  4. 4

    Paste and save

    Paste the AskBok code into the Footer box and click Save Changes. Open your site in a private window — the chat button is in the corner.

Your own code (with your key) is in AskBok → AI Chatbot → Install on your website. No website, or your plan doesn't allow code? Use your booking link.

If the chat doesn't appear

  • Using a caching plugin? Clear its cache after saving.
  • Want the chat inside your Contact page instead? Paste the contact-page code into a Custom HTML block on that page.
  • Elementor Pro users can also use Elementor → Custom Code with location “</body> – End”.

AskBok on WordPress: FAQ

Does the chat slow down my WordPress site?

+

The code loads asynchronously after your page and the chat runs in its own frame, so it doesn't block your content or clash with your theme.

Does it work with WooCommerce?

+

Yes. WooCommerce runs on WordPress, so the same footer code shows the chat on your shop pages too.

Can I show it only on some pages?

+

Use the contact-page code in a Custom HTML block on the pages you choose, instead of the site-wide footer code.

Steps checked against WPBeginner — add header and footer code with WPCode on 14 November 2026. Menu names sometimes change — if yours look different, ask us in the chat.

What happens after you install

  • Visitors see a chat button (or the chat inside your page). The receptionist answers from your services, prices, opening hours and FAQs — it never invents prices or times.
  • When someone wants to book, it shows real free times from your availability and connected calendar, holds the slot and books it after they confirm.
  • You get the booking in your dashboard and calendar, the customer gets a confirmation email, and every conversation is saved in your inbox and leads list.
  • You can take over any chat yourself, and change the chat's colour, name and greeting any time without touching WordPress again.

Add an AI receptionist to your WordPress site

Answers questions, quotes real prices and books free times — 24/7. Set up in about 10 minutes.