EN
Webmail

Talkmio on Laravel, TYPO3, Odoo and HubSpot CMS: Install Guide

Talkmio on Laravel, TYPO3, Odoo and HubSpot CMS: Install Guide

Talkmio on Laravel, TYPO3, Odoo or HubSpot CMS is a smaller job than it sounds, because each of these platforms has a prepared way in. Laravel has a Composer package with a Blade component, TYPO3 has an extension, Odoo has a website module, and HubSpot CMS accepts the chat script through the site footer. These four platforms sit in the middle of the usual list: they are not the website builders that most guides cover, and they are not obscure either. They run company websites, portals, shops and intranets for businesses that often have strong reasons to want live chat but no spare week to fit it in. This guide goes through the four installations step by step, explains how signed-in users are identified, lists the checks that matter after installation, and points out the slips that cost time.

Talkmio is the AI live chat and inbox from Internet Solutions. Its assistant, Mio, answers visitors from your own website content in their language, hands conversations to your team when a person is needed, and turns e-mails and messages from other channels into tickets in one inbox. You can read the overview on our Talkmio page. What matters for this article is that the widget itself is the same everywhere: one script loaded from an address that contains your site key. Each platform below simply provides a different place to put it.

The same three preparations for every platform

  1. Create a free account. The free plan needs no credit card.
  2. Add your website and copy the site key. In app.talkmio.com open Websites, add the site and copy the twelve-character key.
  3. Know where Mio will get its answers. Mio answers from your pages, FAQ and documents, so check that the content you want customers to find is on the website or in the knowledge base. The guide to the Talkmio knowledge base shows what to add and how to test the answers.

Laravel: a Composer package and a Blade component

The Laravel integration is a Composer package that provides a Blade component named x-talkmio. It loads the widget and identifies the authenticated user by name and e-mail address. The package is supplied as a zip file, talkmio-laravel-1.0.0.zip, from the integration page, and it is installed from a local path.

Steps

  1. Unzip the package into packages/talkmio-laravel in your project.
  2. Add a path repository entry to composer.json, pointing to that folder.
  3. Run composer require talkmio/laravel:@dev.
  4. In the .env file add TALKMIO_SITE_KEY=YOUR_SITE_KEY.
  5. In your main layout, before the closing body tag, add <x-talkmio />.

Keeping the key in the environment file follows normal Laravel practice and lets you use a different key, or none, for local development and staging. If you do not want signed-in users to be identified, set TALKMIO_IDENTIFY=false and the component will load the widget without passing names or e-mail addresses. The Laravel documentation on Blade templates and components explains how components are rendered if you want to place the chat only in some layouts, for example the public site and not the admin area.

A Symfony note

The Laravel page also covers a common neighbour. If your project is built on Symfony, there is no package, but the one-line script works in a Twig base template: paste <script src="https://app.talkmio.com/w/YOUR_SITE_KEY.js" async></script> into it, before the closing body tag.

TYPO3: an extension for versions 12 and 13

TYPO3 is widely used for larger corporate, university and public sector sites, where changes go through a defined process. The Talkmio extension supports TYPO3 12 and 13. It adds the chat widget to every page and identifies logged-in frontend users. It is supplied as talkmio-typo3-1.0.0.zip.

Steps in a Composer installation

  1. Unzip the package into packages/talkmio.
  2. Add it as a path repository in the project’s composer.json.
  3. Run composer require talkmio/typo3-talkmio:@dev.

Steps in a classic installation

  1. Upload the folder to typo3conf/ext/talkmio.
  2. Activate it in Admin Tools → Extensions.

Configuration, the same for both

  1. Open Admin Tools → Settings → Extension Configuration and choose talkmio.
  2. Paste your site key and save.
  3. Clear the caches.

The widget is added through the TypoScript setting page.footerData, so there is nothing to change in your templates. That is good news for teams with several templates or sites in one installation, because nobody has to edit each template. The cache clearing step is the one most often forgotten: if the bubble does not appear after saving the key, clear the caches first. The TYPO3 documentation explains the extension configuration screen and cache handling in the version you run.

Odoo: a website module for versions 16 and 17

Odoo is a business suite, and many companies use its website module for the public site and its portal for customers. The Talkmio module, website_talkmio, supports Odoo 16 and 17. It adds the chat widget to your Odoo website and identifies signed-in portal users. It is supplied as talkmio-odoo-1.0.0.zip.

Steps

  1. Unzip website_talkmio into your addons path and restart Odoo. On Odoo.sh, upload it through Apps instead.
  2. In Odoo open Apps, update the apps list, search for “Talkmio” and install it.
  3. Open Website → Configuration → Settings, find Talkmio AI Live Chat, paste your site key and save.

Because the module identifies signed-in portal users, your team sees who is asking when a customer who has an account writes in. For a company that uses the portal for orders and invoices, that is a real saving: no one has to ask for the customer’s name and e-mail first. As always, pass only the data you are comfortable sharing and mention the chat service in your privacy information. The Odoo documentation explains addons paths and the installation of custom modules in more detail.

HubSpot CMS: one footer script

HubSpot Content Hub and CMS Hub are the simplest of the four. There is no package: the chat goes into the site footer HTML.

  1. Open Settings → Website → Pages.
  2. Choose the domain.
  3. Find Site footer HTML and paste <script src="https://app.talkmio.com/w/YOUR_SITE_KEY.js" async></script> with your own key.
  4. Save.

Blog and landing pages pick the script up too, since the footer is part of the domain’s settings and applies across the pages served on it. If you run several domains in one HubSpot account, repeat the step for each domain where you want the chat, and check that each domain actually shows the bubble.

The four platforms compared

PlatformPackage or versionsHow it installsWhere the key goesIdentifies users
LaravelComposer package with a Blade componentPath repository, then composer require.env as TALKMIO_SITE_KEYAuthenticated users, can be turned off
TYPO3TYPO3 12 and 13Composer or classic extension folderExtension configurationLogged-in frontend users
OdooOdoo 16 and 17Module in the addons path, installed in AppsWebsite settingsSigned-in portal users
HubSpot CMSContent Hub and CMS HubSite footer HTML, no packageIn the script addressNot described on the integration page

If you also run a website on another platform, Talkmio’s integrations overview lists modules and snippets for many others, and you can find it on the integrations page. We covered Joomla, Drupal, Magento, PrestaShop and OpenCart in a separate guide on Talkmio modules for Joomla, Drupal, Magento, PrestaShop and OpenCart, and the website builders in the article on Shopify, Wix, Webflow and Squarespace.

Testing the installation

Talkmio recommends the same test on every platform. Open your site in a private browser window and ask Mio two or three questions your customers often ask. Check that each answer comes from your own pages. If something is missing, add it to your website or knowledge base and ask again. Then run through a short platform-specific list.

  • Laravel: check a signed-in page and a public page, and confirm that the key is read from the environment on the server and not only on your machine.
  • TYPO3: clear the caches, then load a page on every site or language you run.
  • Odoo: check the public website and, if you use it, the portal after signing in.
  • HubSpot CMS: check a regular page, a blog post and a landing page.

Slips that cost time

SlipSymptomRemedy
Key left as YOUR_SITE_KEYNo chat or a script errorReplace it with your own twelve-character key
Caches not cleared (TYPO3, Laravel config)Old pages without the bubbleClear the caches and configuration cache
Component placed only in one layoutBubble on some pages onlyPut it in the layout shared by all pages
Script pasted twiceTwo bubblesKeep one installation route
Staging key used on productionConversations arrive in the wrong placeUse the key of the right website entry

Staging, deployment and upgrades

Business platforms are rarely changed directly on the live server. Changes move from a development copy to a test copy and then to production, and the chat should follow the same path. A sensible approach is to install it first on the test copy, check it there, and then deploy it with the rest of the release. Keep the site key in configuration, not in code: in Laravel that is the environment file, in TYPO3 the extension configuration, in Odoo the website settings, and in HubSpot the footer of the domain. That way, deploying the code does not overwrite the key, and a copy of the site made for testing does not accidentally send test conversations into the live inbox.

Plan for upgrades as well. When you move TYPO3 to a new major version or Odoo to a new release, check that the Talkmio extension or module supports the new version before you upgrade, because the integrations list the versions they support. For Laravel, test the page layout after framework upgrades, since a changed layout file can drop the component. If a module does not yet support your version, the one-line script is always available as a fallback, because it works on any website.

Finally, give the installation an owner. Write down where the key is stored, who can change it and which routes were used, in the same place you keep your other technical notes. When a colleague later asks why there are two bubbles or why the chat is missing from the portal, the answer should take a minute to find.

Privacy and the people who answer

Installing the chat is a technical task, but running it is a service. Before launch, decide who answers when Mio hands over a conversation, what hours you promise, and how the chat is described in your privacy policy. Our article on live chat and GDPR explains how to handle conversation data. For platforms that identify signed-in users, add a sentence about it to your privacy information too.

Frequently Asked Questions

Which Laravel component does Talkmio provide?

A Composer package with a Blade component named x-talkmio. You place it in your layout before the closing body tag, set TALKMIO_SITE_KEY in the environment file, and it loads the widget and identifies the authenticated user.

Which TYPO3 versions are supported?

The Talkmio extension supports TYPO3 12 and 13. You can install it with Composer or by uploading the folder to typo3conf/ext/talkmio, then enter your site key under Extension Configuration and clear the caches.

Which Odoo versions are supported?

The website module supports Odoo 16 and 17. Install it from Apps and paste your site key in the Website settings under Talkmio AI Live Chat.

How do I add Talkmio to HubSpot CMS?

Open Settings, Website, Pages, choose the domain and paste the Talkmio script into the Site footer HTML. Blog and landing pages pick it up too.

Can I stop the chat from identifying signed-in users in Laravel?

Yes. Set TALKMIO_IDENTIFY=false in the environment file and the chat will not pass the user’s name and e-mail address.

What if my platform is not on the list?

The widget is one script tag, which works on any website. If you want a module for another platform, you can write to the Talkmio support team, who build modules on request.

The Bottom Line

Laravel, TYPO3, Odoo and HubSpot CMS each have a direct route for Talkmio: a Blade component, an extension, a module or a footer script. Prepare the site key and the content first, follow the platform’s steps, clear the caches, and test in a private window before telling anyone. Decide in advance who answers, and describe the chat in your privacy information. If you would like the installation done for you, or you need a website, a portal or an internal system built around the chat, the Internet Solutions development team can help.