Hire Mika
Setup Guide

How to Add a Chatbot to Your Shopify Store in 5 Minutes

No app needed. Here is how to add a chatbot to your Shopify store with one line of code, without installing another plugin from the App Store.

March 10, 2026 · 4 min read

Shopify store owners already manage enough apps. Between email marketing, reviews, shipping, and inventory, the last thing you need is another app with its own dashboard, its own billing, and its own learning curve.

Good news: you can add a chatbot to your Shopify store without installing a single app. One line of code, five minutes, done.

Why most Shopify chat apps are not worth it

The Shopify App Store has no shortage of chatbot options. Most of them share the same problems.

They add bloat. Every Shopify app adds JavaScript to your storefront. Chatbot apps tend to be some of the heaviest, adding 200 to 500KB of scripts that slow down page loads. In e-commerce, every extra second of load time costs you conversions.

They are built for big stores. Apps like Gorgias, Tidio, and Re:amaze are powerful but designed for stores with support teams. If you are a boutique doing a few hundred orders a month, you do not need ticket routing, agent assignment, and omnichannel support.

Decision trees do not sell. Most chatbot apps make you build conversation flows. "If customer asks about shipping, show FAQ #3." Your visitors do not think in menu options. They have specific, unpredictable questions about your products. A scripted bot gives them a robotic, frustrating experience.

They charge per agent or per conversation. Pricing models that scale with usage sound fair until you hit a busy month and your chat app bill doubles.

The one-line alternative

Instead of installing an app, you can add a chatbot by pasting a single script tag into your Shopify theme. It looks like this:

<script src="https://api.hiremika.com/v1/embed.js?v=3" data-key="pk_your_key_here" async></script>

No app installation. No App Store approval process. No new dashboard to learn. The script loads asynchronously and does not block your page from rendering.

How to add it (step by step)

Shopify gives you direct access to your theme code, which makes this straightforward.

Method 1: Theme editor (recommended)

  1. In your Shopify admin, go to Online Store > Themes
  2. On your active theme, click ... > Edit code
  3. In the left sidebar under "Layout," click theme.liquid
  4. Find the closing </body> tag near the bottom of the file
  5. Paste the script tag on the line directly above </body>:
<script src="https://api.hiremika.com/v1/embed.js?v=3" data-key="pk_your_key_here" async></script>
  1. Replace pk_your_key_here with your actual public key from your Mika dashboard
  2. Click Save

The chatbot now appears on every page of your store.

Method 2: Shopify Custom Pixels (no theme editing)

If you prefer not to touch your theme code, Shopify has a newer feature called Custom Pixels.

  1. Go to Settings > Customer events
  2. Click Add custom pixel
  3. Name it "Mika Chatbot"
  4. In the code editor, add:
const script = document.createElement("script");
script.src = "https://api.hiremika.com/v1/embed.js?v=3";
script.dataset.key = "pk_your_key_here";
script.async = true;
document.body.appendChild(script);
  1. Click Save and then Connect

Note: Custom Pixels run in a sandbox and may have limitations depending on your theme. Method 1 (theme.liquid) is the most reliable approach.

Works on all Shopify plans

Unlike some platforms that restrict custom code to higher-tier plans, Shopify lets you edit your theme code on every plan, including Basic Shopify. No upgrade needed.

What happens after you save

The chatbot appears on your store immediately. If you have already signed up and Mika has learned your business during onboarding, it starts working right away. Visitors can ask about your products, shipping policies, return process, and hours. When they are ready, they share their contact info and you get a lead notification.

No training. No conversation scripting. Mika already knows your business from scanning your website during signup.

"Will it slow down my store?"

No. The script loads asynchronously, meaning your product pages, images, and checkout all load first. The chatbot loads in the background. The entire widget is under 50KB gzipped, lighter than a single product image.

It runs in its own isolated iframe, so it does not interfere with your theme, cart, checkout, Shopify Payments, or any installed apps. Your store functions exactly as before.

Common questions

Does it work with Shopify 2.0 themes? Yes. The theme.liquid file exists in both vintage and 2.0 themes. The process is identical.

Does it conflict with Shopify Inbox? No. They are completely separate. If you have Shopify Inbox enabled, both will appear. Most store owners disable Inbox after adding Mika since the chatbot handles conversations automatically without requiring you to be online.

Does it work on the Shopify POS or mobile app? The chatbot appears on your online store when viewed from any device. It does not appear in the Shopify POS or the Shopify mobile admin app, as those are separate surfaces.

Can I customize how it looks? On the Pro plan, you can match the chatbot's brand colors to your store's theme. On all plans, the chatbot is designed to blend naturally with your storefront.

Does it work with Shopify markets (international)? Yes. The chatbot loads on all versions of your store regardless of market or language settings. Mika supports bilingual conversations in English and Spanish.

The bottom line

Your Shopify store does not need another app. One line of code in your theme, five minutes, and your store goes from a product catalog to a 24/7 lead capture machine.

Your visitors are already browsing. Give them someone to talk to.

Ready to start capturing more leads?

Mika lives on your website 24/7, answers visitor questions in English and Spanish, and sends you warm leads. No forms, no coding, no ongoing work.