The widget is a Shopify app block. You place it once in your product template and it
then appears on every product you've indexed. There's no code involved.
Adding it
-
In the app, click Add widget to theme on the home page. You can also get
there yourself through Online Store → Themes → Customize. -
At the top of the theme editor, change the template dropdown to Products →
Default product. -
In the left sidebar, click Add block inside the product information section.
-
Under Apps, pick Ask Any AI.
-
Drag it to where you want it. Most stores put it just below the Add to cart
button, or underneath the description. -
Click Save.

📷 The theme editor with the Add block menu open, showing Ask Any AI under the Apps heading.

📷 The block placed in the sidebar list, with the widget visible in the preview pane beside it.
Where it shows up
On the template you edited, for every product that's been indexed. Products that
haven't been indexed render nothing — no empty box, no placeholder. That's on
purpose, since a widget with no knowledge base behind it would give bad answers.
If you use more than one product template, say a separate one for bundles or gift
cards, add the block to each template you want it on.
Making it match your store
All the styling lives on the block itself in the theme editor: heading, logo,
colours, corner radius, font, width. See
Customize the widget's look.
Removing it
Delete the block in the theme editor. Nothing happens to your knowledge bases, so if
you put the block back later everything works again straight away.