Set up the Ask AI button
Turn on the app embed, then select how shoppers reach the AI store: the floating button, the Ask AI block or your own link.
The Ask AI button opens the AI store from your storefront. It appears when the Ask AI button app embed is on in your published theme. The embed sets the colors and text of every Ask AI button.
Requirements
- A published theme.
- Permission to edit the theme.
Turn on the app embed
On Home, select Open theme editor. The editor opens with the Ask AI button switch on.
Select Save.
Return to Home. It shows Live on your storefront and an Active badge. If it does not, select Check again.
To turn it on without Home, open the theme editor, go to App embeds and turn on Ask AI button.
Style the buttons
- In the embed's settings, under All Ask AI buttons, set Button text (default "Ask AI"), Button background and Button text and icon.
- Select Save.
The settings apply to every Ask AI button on your store.
Position the floating button
The floating button is displayed on every page while the embed is on.
Under Floating button, set the Corner: Bottom right or Bottom left.
Set the Style: Icon and text or Icon only.
Set the Distance from the bottom (px). Increase the value so that the button does not overlap another chat bubble.
Select Save.
Add buttons to pages
- Add the Ask AI button block to a section of your theme, such as the header, where your theme accepts app blocks.
- Add a link to any page with the class
comergent-ai-buttonand the address/apps/chat:<a href="/apps/chat" class="comergent-ai-button">Ask AI</a>.
On a product page, every button opens the AI store on that product.
Related topics
Last updated

