--- title: "Inline Widget for Shopping Agent" slug: "inline-widget-for-shopping-agent" description: "Insider One Inline Widget embeds your Shopping Agent in product pages to answer shopper questions in place, with no floating icon or separate chat." updated: 2026-11-19T11:29:20Z published: 2026-11-19T11:29:20Z canonical: "academy.insiderone.com/inline-widget-for-shopping-agent" --- > ## Documentation Index > Fetch the complete documentation index at: https://academy.insiderone.com/llms.txt > Use this file to discover all available pages before exploring further. # Inline Widget for Shopping Agent *Answers right where shoppers decide.* Shoppers decide on the product page. When a question goes unanswered there, they leave to search elsewhere, and often do not come back. The Inline Widget places your Shopping Agent directly in your page, already open, so shoppers get a product-specific answer without leaving the page or opening a separate chat. Unlike the Web Chat Widget, which opens from a floating icon, the Inline Widget becomes part of your page design. It shines on product details pages: your Shopping Agent already knows which product the shopper is viewing and opens with Conversation Starters for it, turning hesitation into confident purchases. In this article: - [Why marketers love the Inline Widget](/docs/inline-widget-for-shopping-agent#why-marketers-love-the-inline-widget) - [Use cases](/docs/inline-widget-for-shopping-agent#use-cases) - [How the Inline Widget works](/docs/inline-widget-for-shopping-agent#how-the-inline-widget-works) - [Before you start](/docs/inline-widget-for-shopping-agent#before-you-start) - [Create an Inline Widget](/docs/inline-widget-for-shopping-agent#create-an-inline-widget) - [Get the most from the Inline Widget](/v1/docs/inline-widget-for-shopping-agent#get-the-most-from-the-inline-widget) ## Why marketers love the Inline Widget - Meet shoppers at the moment of intent. Answers appear on the product page itself, while the shopper is deciding. - Remove the first click. The conversation is already open, and suggested questions invite shoppers to tap instead of type. - Keep it on brand. Your logo, your colors, and your size, placed exactly where you want them. - Skip the small talk. The agent knows the product from the first message, so shoppers never have to explain which one they mean. - Launch fast, refresh anytime. Set it up in a few steps in InOne, add two short pieces of code, and update the look later without touching the code again. ## Use cases ### Settle the last-minute doubt A shopper is one tap away from adding a jacket to the cart, but they are not sure about the material. Instead of opening a new tab to search, they tap a Conversation Starter for that jacket and get an answer on the spot. ### Guide shoppers on any page On category pages, the homepage, or content pages, the widget works as a shopping assistant for any question. A shopper who is still exploring can ask for ideas, and the agent responds with product cards they can open straight away. ### Compare without losing their place A shopper browses three similar products. Each product keeps its own conversation, so they can move between pages and pick up each discussion exactly where they left it. ## How the Inline Widget works - The widget sits inside your page, in the place you choose. No floating icon, no separate window. - On a product details page, the agent knows which product the shopper is viewing, so they do not need to name it. - On a product details page, the widget opens with Conversation Starters for that product and suggests [Follow Up Chips](/v1/docs/conversation-starters-and-follow-up-chips-for-shopping-agent) after each answer. Shoppers tap a suggestion instead of typing. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-P8TB9FZ5.png) - Shoppers can also type any question. The answer appears inside the widget, which grows with the conversation up to its maximum height and then scrolls inside. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-B0LJ6ASR.png) - When the agent suggests products, product cards appear inside the widget. - Each product keeps its own conversation. When a shopper moves to another product, the widget shows that product's conversation, and the earlier conversation is still there when they return. - On a page without a product, the widget works as a general chat. ## Before you start You need: - A launched Shopping Agent connected to your product catalog. - The Insider One tag installed on the pages where you place the widget. On product details pages, the widget reads the current product from it. - Access to edit your website's page templates, so you can add the widget code. ## Create an Inline Widget 1. In InOne, navigate to **Agent One > Agent One Audiences** > **Channels.** ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-IKMMEEMB.png) 2. Click **Create**. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-CUYE1AHM.png) 3. In the **Create Channel** drawer, enter a **Channel Name**, select **Web Messenger**, and click **Next**. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-QA6X0DKB.png) 4. Under **Widget Type**, select **Inline Widget** and click **Create**. InOne creates the channel and opens its **Design** step. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-EBASQGO3.png) 5. On the **Design** step, open the **Chat Window** tab and set how the widget looks: ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-S6DQVNA0.png) - **Header:** upload your logo and enter the name shown in the widget header. - **Colors:** set the header and button color (a single color or a gradient), the background color, and the message bubble colors of the AI agent and the customer. - **Size:** enter the **Desktop Height** and **Mobile Height** in pixels. These are the maximum heights of the widget, and they start at 542 px for desktop and 480 px for mobile. The mobile height applies on screens up to 480 px wide. The widget always takes the full width of the place where you put it. - **Custom CSS (optional):** turn it on to fine-tune the widget style with your own CSS. 6. Open the **Product Cards** tab and set how product cards look inside the widget, for example the text of the product card button. Click **Save and Continue**. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-U6YU49WD.png) 7. On the **Conversation Start** step, set what shoppers see before and while they type: Click **Save and Continue**. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-B54DIONW.png) - **Input Field:** enter the placeholder text of the message box (for example, "Ask about this product") and choose which input actions shoppers can use, such as media upload and speech to text. - **Disclaimer:** turn it on to show a short AI disclaimer under the message box. - **Consent:** turn it on to ask shoppers for consent (for example, under GDPR) before the conversation starts. You can add a button that links to your privacy policy, plus **Approve** and **Decline** buttons. 8. On the **Launch** step, select your Shopping Agent in the **AI Agents** card. 9. In the **Activation Status** card, select **Active** and click **Launch**. To finish the setup later, select **Draft** and click **Save as Draft**. 10. Open the channel again from the **Channels** page and go to its **Launch** step. The install card shows two pieces of code, each with a copy button. Both already carry your channel's integration ID. Copy them and add them to your page template. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-IBTKEGGH.png) > [!NOTE] > The code appears only after you launch the channel. ## Get the most from the Inline Widget - **Start with product details pages.** The agent knows the product, opens with Conversation Starters for it, and answers at the moment of the purchase decision. - **Place it where shoppers look while they decide.** Right below the product information or close to the add to cart area works well. The widget shows on every page that carries the HTML element, with one Inline Widget per page. - **Extend it to more pages.** On category pages, the homepage, or content pages, the widget works as a shopping assistant for any question. - **Give it room to shine.** Set the **Desktop Height** and **Mobile Height** so a few messages and a product card fit comfortably, and check the result on a phone. To manage size in your own stylesheet, set a height or maximum height on the HTML element, and the widget follows it. - **Enrich your catalog.** Products with complete attributes (for example, size, material, and compatibility) get more specific Conversation Starters and more precise answers. - **Keep setup light.** Because the widget lives inside your page, there is no launcher, callout, welcome message, or conversation end to configure. - **Let shoppers keep browsing.** Product cards take shoppers straight to the product, where they add it to the cart on your page as usual. If you turn on consent, shoppers are asked once per browser session. ## Related - [Shopping Agent](/shopping-agent-overview.md) - [Create and Configure the Shopping Agent](/create-and-configure-the-shopping-agent.md) - [Conversation Starters and Follow Up Chips for Shopping Agent](/conversation-starters-and-follow-up-chips-for-shopping-agent.md) - [Channels](/agent-one-audiences-channels.md) - [Agent One Audiences](/agent-one-audiences.md) - [Set Up a Web Messenger Channel](/set-up-a-web-messenger-channel.md) - [Shopping AI Agent Analytics](/shopping-ai-agent-analytics.md)