Skip to main content

How to Set Up and Publish Ask AI (AI Shopper)

Create Ask AI from Widgets → Features → Try now, customize Content and Style, then publish on Shopify or with an embed snippet.

Written by David T

Ask AI is a product-page button that opens your shopper agent so shoppers can get instant product answers on the page.

How to Set Up

  1. In Tolstoy, open Widgets.

    Widgets page
  2. In the Customer Agent menu, open Features.

    Features page with Ask AI and Try now
  3. On Ask AI, click Try now. This creates Ask AI if you do not have one yet, and opens the editor.

    Ask AI editor after Try now
  4. In Content, set which collections and templates should hide or show the button. In Style, customize the button look.

    Ask AI Style settings
  5. Use Test and the preview before you publish.

How to Publish

Shopify

  1. Click Publish.

  2. If prompted, enable the Tolstoy app embed in Shopify.

  3. Click Add block or Add section to open the Shopify theme editor.

  4. Add the Ask AI block or section to your product page template, then Save in Shopify.

  5. Confirm it appears and opens correctly on a live product page.

Non-Shopify

  1. Open the publish flow and copy the embed snippet.

  2. Paste it on the product page. If the snippet shows a plain PRODUCT_ID placeholder, replace it with that page’s product identifier.

  3. Publish, then test on the live site.

Best Practices

  • Place Ask AI where shoppers already look for product help on the product page.

  • Test a few real product questions before publishing.

Troubleshooting and FAQs

I already see Ask AI under Widgets

Open it from the Widgets list to edit Content, Style, and publish. Use Features → Ask AI → Try now the first time you create one.

Why do I see an Enable Tolstoy step?

On Shopify, the Tolstoy app embed needs to be enabled before Ask AI can appear.

Did this answer your question?