# Floating Initial Messages > Show your agent's initial messages in a welcome popup above the Chat bubble to greet visitors and start more conversations ## Prerequisites > [!NOTE] > You need a website with the QwryAI Chat bubble script already installed and working. New to QwryAI? Start with [Your First AI Agent](/docs/user-guides/quick-start/your-first-agent) to add the script first. ## Setting Up Floating Initial Messages The welcome popup takes the initial messages you've written for the Chat bubble and shows them as cards above the bubble, a few seconds after the page loads. Visitors can click a card to open the chat, or close the popup. You turn it on in the dashboard, not in your site's code. The settings travel with the embed script, so there's nothing to change on your website. ### Configuration **1. Open the Chat bubble editor** In your agent, open **Channels**, select **Manage** on the **Chat bubble** card, then open the **Display** tab and expand **Content**. **2. Write your initial messages** Type your greeting in **Initial message**. Put each message on a new line; each line becomes its own card in the popup. **3. Turn on the welcome popup** Turn on **Auto show initial messages pop-ups after set duration**, then set **Welcome popup delay** in seconds. ![The Content section of the Chat bubble's Display tab with Initial message, the Auto show initial messages pop-ups after set duration toggle, Welcome popup delay and Show auto pop-up on mobile, beside the chat preview.](annotated/01-welcome-popup.webp "Display › Content: turn on the welcome popup and set its delay.") **4. Choose what mobile visitors see** Turn on **Show auto pop-up on mobile** to show the popup on phones too. Under it, tick **Use different duration for mobile** to give phones their own **Mobile initial message delay**. To show phones different text, tick **Use different message for mobile** under **Initial message** and fill in **Mobile initial message**. **5. Save** Select **Save changes**. Sites with the script pick up the new settings on the next page load. ## Configuration Reference ### Welcome popup settings **Auto show initial messages pop-ups after set duration** `toggle` (default: off) Shows the initial messages in a floating popup above the Chat bubble. **Requirements:** * At least one line in **Initial message**. With no messages, there is nothing to show and the popup stays hidden. * The Chat bubble's **Visibility** must be on. **Welcome popup delay** `number` (default: 0) How many seconds to wait after the page loads before the popup appears. **Requirements:** * Minimum value: 0 (show right away) * Maximum value: 300 seconds **Show auto pop-up on mobile** `toggle` Shows the popup on phones as well. When it's off, phone visitors see only the Chat bubble. **Use different duration for mobile** and **Mobile initial message delay** `number` A separate delay for phones, from 0 to 300 seconds. **Use different message for mobile** and **Mobile initial message** `text` Separate popup text for phones, one message per line. If it's empty, phones show the desktop messages. **Show suggested replies in welcome popup** `toggle` Found under **Suggested messages**. Adds your suggested messages to the popup as buttons the visitor can click to start the chat. ### When the popup shows * **Until the visitor responds.** The popup keeps appearing on each page until the visitor opens the chat or closes the popup. After that it stays hidden in that browser, in every tab. * **Again after you change it.** When you change the delay or the messages, visitors who closed the old popup see the new one. * **Only for new visitors.** Visitors who have already chatted, and signed-in users you identified with [Identity Verification](/docs/developer-guides/website-integration/identity-verification), don't see it. * **After a reset.** `window.qwryai("reset")` clears the visitor's chat and lets the popup show again. > [!WARNING] > The popup shows on every page load until the visitor opens the chat or closes it. If that's too often for your site, use a longer **Welcome popup delay** so visitors only see it on pages where they stay a while. ## Best Practices > [accordion] Timing Strategy > > **Choose when the popup appears** > > * **Visitor attention:** a delay of 2 to 5 seconds catches visitors once they've started reading. > * **Page type:** use longer delays on long articles and shorter ones on pricing or product pages. > * **Mobile:** phones have less room, so consider a longer mobile delay or no popup on mobile. > [accordion] Message Design > > **Write messages people want to answer** > > * **Keep it short:** one or two short lines work better than a paragraph. > * **Match your brand's voice:** use the same tone as the rest of your site. > * **Preview it:** the preview next to the settings shows the popup as visitors will see it; check it on a phone too. ## What's Next? > [card] Chat Bubble Installation | /docs/developer-guides/website-integration/chat-bubble | Add the Chat bubble script to your site. > [card] Chat Interface Control | /docs/developer-guides/website-integration/chat-interface-control | Open the chat and send messages from your own buttons.