Skip to content

Install

Add MivoChat to a Shopify app site

For a Shopify app's marketing storefront, add MivoChat to the active theme's shared layout.

In the active Shopify theme, add the full snippet from MivoChat immediately before </body> in layout/theme.liquid. The Shopify app embed is not published; chat runs on storefront pages, not checkout.

Prefer to let your AI coding agent do it? Copy the agent prompt.

Installation steps

  1. 1

    Prepare

    In Shopify Admin, open Online Store → Themes and edit the active theme's code.

  2. 2

    Configure

    Open layout/theme.liquid and paste the exact snippet immediately before </body>.

  3. 3

    Publish

    Save, allow both the myshopify.com and custom storefront domains as applicable, and publish.

  4. 4

    Verify

    Test a live storefront page. The widget does not load in checkout or thank-you pages.

Manual theme install

The MivoChat Shopify app embed is coming soon, so do not look for a published marketplace app. Use the manual theme method and keep a copy of the original theme before editing.

In Shopify Admin → Online Store → Themes, duplicate the active theme before choosing Edit code. Find the existing closing </body> in layout/theme.liquid; paste the MivoChat script immediately above it and avoid editing a product section file that renders only on selected templates.

Check the storefront

Test a public product or marketing page, not the Shopify theme editor. Confirm answers use your public app documentation and that the team can reply from its chosen channel.

Publish the edited theme only after previewing it, then test both the myshopify.com address and the branded domain in private browser sessions. Checkout and thank-you templates are excluded from this theme-level install, so link to your help page in checkout communications if buyers need support there. If a theme update replaces theme.liquid, compare the new file with your saved snippet before publishing that update. Reopen theme preview after each save because an existing preview tab can show the previous version.

Before you change the setup

Who this is for
a Shopify app publisher using its storefront to explain setup, plans, and integrations
What you need
theme-owner access, a duplicate theme for rollback, the public key, and the storefront domains to approve
Where it goes
Shopify Admin → Online Store → Themes → Edit code → layout/theme.liquid, just before </body>
Watch out for
this theme install serves storefront pages; it does not add chat to checkout, customer accounts, or Shopify admin

Test the support boundary

  • How does a merchant install the app embed?
  • Where are API rate limits described?
  • Can you reveal private merchant account data?

Frequently asked questions

The theme editor preview differs from storefront

Open the published theme's storefront URL in a private browser window; the editor frame can have another origin and different scripts.

The widget vanishes after a theme change

The edited file belongs to one theme. Reapply the loader to the newly active theme after checking that its layout has no existing copy.

The store's checkout has no widget

That is expected for this storefront theme snippet; provide a support link for checkout-related issues instead of promising checkout coverage.

`myshopify.com` passes but the branded domain fails

Approve the custom storefront hostname separately in Install settings → Allowed websites and repeat the test on that URL.

Keep exploring

The r3-final-a evaluation measured 95% answerability-tier accuracy on 224 questions; this is an evaluation result, not a guarantee. AI replies use Anthropic. See the method and results and subprocessors and data locations.

Try MivoChat on your support pages.

Start a 14-day trial, connect public pages, and test what gets answered or handed to your team. Check current paid billing status on pricing.