LumiaChatFlow
FeaturesPricingSign inGet Started
  • English
  • Română
  • Nederlands
  • Dansk

Install the Chat Widget

The widget is a short script snippet. When you paste it into your website, the chat appears on your site. The snippet needs your agent's embed key.

Find your snippet

  1. Log into your LumiaChatFlow workspace
  2. Click Agents in the sidebar
  3. On the card of your agent, click Embed
  4. In the Embed Code window, pick the Theme Color, Position and Size
  5. Click Copy to clipboard

Only an owner, admin or member can see the embed code. Other roles see "Read-only access" and need to ask one of them.

The snippet

<script
  src="WIDGET_URL_FROM_YOUR_DASHBOARD"
  data-agent-id="YOUR_AGENT_ID"
  data-api-key="YOUR_EMBED_KEY"
  data-theme-color="#6366f1"
  data-position="bottom-right"
  data-size="medium"
  async>
</script>

Always copy the real snippet from the Embed Code window. It already has your agent ID, your embed key and the correct src address. Do not share your embed key in public places.

What each attribute does:

  • src: the address of the widget file.

  • data-agent-id: which agent answers.

  • data-api-key: your agent's embed key.

  • data-theme-color: the widget color, as a hex code such as #6366f1. An invalid value falls back to #6366f1.

  • data-position: the corner of the launcher. Valid values are bottom-right and bottom-left. The default is bottom-right.

  • data-size: the widget size. Valid values are small, medium and large. The default is medium.

  • async: loads the script without slowing down your page.

  • data-lang (optional, not in the copied snippet): the language of the widget's own texts, such as the buttons, the greeting and the AI notice. The widget has English (en), Romanian (ro), Dutch (nl) and Danish (da). Add it yourself to force one language, for example data-lang="nl". Without it, the widget picks the first language that fits in this order:

    1. The data-lang value, if it is one of the four languages.
    2. The language of your page (the lang attribute of the <html> tag), but only if it is not English.
    3. The first language in the visitor's browser list that the widget has and that is not English, but only if English does not come before it in that list.
    4. The Default language of your agent.
    5. English.

    A language your shop has turned off is skipped at every step. English cannot be turned off. If your page language changes to English from another language while the chat is open, and the visitor has not sent a message yet, the widget switches to English. Your agent's replies follow the language the visitor writes in, not this setting.

Add the approved website

The widget only answers on websites you approved.

  1. In the Embed Code window, find Approved websites
  2. Type your address in Approved website, for example https://www.example.com
  3. Add it to the list

Plain HTML (any site)

  1. Open the HTML file of your page, or the shared footer file or template if your site has one
  2. Paste the snippet just before the closing </body> tag
  3. Save and upload the file
  4. Repeat for every page that should show the chat, unless they share one template

WordPress

WordPress has no screen in its core settings for adding a script to every page. The simplest route is a free header and footer script plugin. Check the plugin page for current steps.

  • Plugin: WPCode - Insert Headers and Footers
  • WordPress documentation: wordpress.org/documentation
  1. Log into your WordPress admin
  2. Install and activate the plugin from Plugins → Add Plugin
  3. Open Code Snippets → Header & Footer
  4. Paste the snippet in the Footer box
  5. Click Save Changes

WooCommerce (WordPress)

WooCommerce runs on WordPress, so the steps are the same as for WordPress above: a header and footer script plugin, with the snippet in the Footer box. If you prefer not to use a plugin and your theme is a classic theme, paste the snippet just before </body> in your theme's footer.php. Use a child theme, or a theme update removes it. Block themes, such as the default Twenty Twenty-Five, have no footer.php: use the plugin. Check the plugin page for current steps.

Test on the real shop afterwards, not only in the dashboard's test chat.

Lightspeed eCom (C-Series)

Follow Lightspeed's page: Adding custom header code.

  1. In your Lightspeed eCom admin, go to Settings → Web extras → Custom head code
  2. Click Add code
  3. Paste the whole snippet and save

Use Custom head code, not the Custom JavaScript box: that box may not accept a <script> tag.

CCV Shop

  1. In your CCV Shop admin, go to Mijn webshop → Instellingen → Lay-out
  2. At the bottom of the page, paste the snippet in the Footer HTML field
  3. Save

If you do not see a Footer HTML field, ask CCV support where to add HTML to every page.

Shopify

Follow Shopify's page on editing theme code: Edit theme code.

  1. In your Shopify admin, go to Online Store → Themes
  2. Next to your current theme, open the theme actions menu and click Edit code
  3. Open layout/theme.liquid
  4. Paste the snippet just before the closing </body> tag
  5. Click Save

Gomag

The Gomag admin is in Romanian, so the labels below are in Romanian. If your menus look different, ask Gomag support where to add a script to every page.

  1. Log into your Gomag admin
  2. Go to Marketing → Coduri Personalizate
  3. Choose HEAD (Antet pagină)
  4. Paste the snippet in Cod în antetul paginii
  5. Save

The snippet loads with async, so placing it in the page head does not slow the page down.

MerchantPro

Follow MerchantPro's page on custom scripts: Cum adaug un script custom în magazin.

  1. In your MerchantPro admin, go to Website → Scripturi custom
  2. Click Adauga script
  3. In Referinta interna, type a name you will recognize, for example LumiaChatFlow
  4. Choose Snippet javascript/HTML inline and paste the snippet
  5. Set Locatie to Footer and Pagini site to Toate paginile site-ului
  6. Click Salveaza

Check that it works

  1. Open your website in a private window
  2. Look for the chat launcher in the corner you chose
  3. Click it and send one message

Tell your visitors about the chat

The people who chat with your agent are your website's visitors, and you are responsible for telling them how their messages are used. We publish a notice template you can adapt and add to your privacy notice. It is a template, not legal advice.

Set your privacy link in the agent settings so the widget shows it. The link must reach text that covers the chat; a mention in your general privacy policy alone is not enough, so adapt the notice template into that text and keep the link.

Cookie banners and consent tools

The widget sets no cookies and uses no localStorage. While a visitor chats, it keeps the conversation in the browser tab's session storage under one key, lumiachatflow_chat_<agent ID>, so the chat survives a page change. The key is gone when the tab closes or after 30 minutes without activity. It is strictly necessary for the chat the visitor started. If your consent tool lists it, put it under Necessary.

We tested CookieYes with automatic blocking: the widget works before a choice, after Reject All and after Accept All, with no extra setting.

If it does not appear

  • The script was pasted in a page builder block. Some builders remove scripts from blocks. Paste the snippet in the site's footer or theme file instead.
  • A cache or minify plugin serves the old page. Clear the cache and reload.
  • Your website is not on the approved list. The widget is blocked until you add your website under Approved websites in the Embed Code window. Use the exact address of your site.
LumiaChatFlow

An AI assistant for any website, answering from your own pages and documents. Privacy-first, with a Data Processing Agreement included.

A product by AxonLumia

Product

  • Features
  • Pricing
  • Help

Company

  • Contact: support@lumiachatflow.com
  • Subscribe by emailLumiaChatFlow news and tips, now and then. The link opens an email to us; send it to subscribe. To stop, reply "unsubscribe" to any of our emails. Details: Newsletter Notice
  • Book a call
  • LinkedIn

Legal

  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Acceptable Use
  • DPA
  • Imprint
  • Security
  • Sub-processors
  • Widget Visitor Notice

© 2026 AxonLumia. All rights reserved. Made by AxonLumia

LumiaChatFlow is a registered trademark.