Install · Shopify
How to add a booking chatbot to Shopify
Add AskBok's AI booking chat to your Shopify store by pasting one line before </body> in theme.liquid. Customers ask, see prices and free times, and book.
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
- Shopify admin access
- Duplicate your theme first as a backup (… → Duplicate)
Quick answer
In Shopify admin go to Online Store → Themes, click the … menu next to your live theme and choose Edit code. Open layout/theme.liquid, paste your AskBok code just before the closing </body> tag and click Save. The chat appears on every store page so customers can ask and book appointments or consultations.
Step by step: AskBok on Shopify
- 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 your theme.
- 2
Open the code editor
From your Shopify admin go to Online Store → Themes, click … next to your current theme and choose Edit code.
- 3
Open theme.liquid
In the Layout folder click theme.liquid.
- 4
Paste before </body> and save
Find the closing </body> tag near the end, paste the AskBok code on the line above it and click Save.
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
- Changed themes? Add the code to the new theme's theme.liquid too.
- Prefer no code edits? Add your AskBok booking link to the store menu as “Book a consultation”.
AskBok on Shopify: FAQ
Why would a Shopify store need a booking chat?
+
For services sold alongside products — fittings, consultations, repairs, classes or appointments. The chat answers questions and books them without a separate booking app.
Does it affect checkout?
+
No. The chat runs in its own frame and doesn't touch your cart or checkout.
Can I undo it?
+
Yes. Delete the line from theme.liquid, or roll the file back to an older version in the code editor.
Steps checked against Shopify Help Center — editing theme code 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 Shopify again.
Add an AI receptionist to your Shopify site
Answers questions, quotes real prices and books free times — 24/7. Set up in about 10 minutes.