Add an AI chat agent to your TYPO3 site
Hazelchat answers your visitors from the pages and documents you approved, shows the sources under every answer and passes enquiries on to you. A free extension adds it to every page of your TYPO3 site: no template or TypoScript editing.
Version 1.0.0 for TYPO3 13.4 and 14.3. The Free plan includes 50 answers a month on one website, with no card, and stays free.
Works with TYPO3 13.4 LTS and 14.3, installed with Composer or in classic mode.
What you need
- TYPO3 13.4 or 14.3 (both long-term support versions), with PHP 8.2 or later. TYPO3 12 and older are not supported.
- A TYPO3 administrator account. Only administrators can change site settings; if your agency looks after the site, send them the steps.
- A Hazelchat account. The extension needs the hosted Hazelchat service; the Free plan includes 50 answers a month on one website, with no card.
Add Hazelchat to TYPO3 in six steps
-
In Hazelchat
Prepare your agent
Add your content, check the details and try your agent. Under Website → Install on your website, add your website's domain.
-
In Hazelchat
Copy the installation code
Copy the installation code. It holds your public widget key, which is not a password.
-
In TYPO3
Install the extension
With Composer, run
composer require hazelchat/typo3. Without Composer, open Admin Tools → Extensions, choose Get Extensions and install Hazelchat. Installing it alone loads nothing on your site. -
In TYPO3
Add the Hazelchat set to your site
TYPO3 13.4: Site Management → Sites, edit your site. TYPO3 14.3: Sites → Setup, Edit site configuration. Add Hazelchat under Sets for this Site and save.
-
In TYPO3
Paste the code and flush the caches
TYPO3 13.4: Site Management → Settings, edit your site. TYPO3 14.3: Sites → Setup, Edit site settings. Under Hazelchat, paste the code into Installation code and save. Then flush the frontend caches (the lightning icon at the top). If you pasted a Hazelchat script into a template before, remove it so the chat loads once.
-
On your site
Switch it on and test it
Back in Hazelchat, click Publish and switch on (or Switch on if your published agent is unchanged). Hazelchat checks that the script is on your website before the agent goes live. Then open your website, ask a question in the chat, return to Hazelchat and click Yes, I saw this answer.
Send this to your agency
No TYPO3 administrator account? Copy this message, put your installation code where it says so, and send it to whoever looks after your site.
Please add the Hazelchat chat to our TYPO3 site:
1. composer require hazelchat/typo3 (or install "Hazelchat" from the TER).
2. Add the set "Hazelchat" (hazelchat/hazelchat) to our site.
3. In the site settings, under Hazelchat, paste this into "Installation code":
[our installation code from Hazelchat]
4. Save and flush the frontend caches.
Guide: https://hazelchat.co/integrations/typo3/
What the extension does
It adds one script to the pages of your site and nothing else. Your content, answers, enquiries and billing all stay in your Hazelchat workspace.
The extension adds https://app.hazelchat.co/widget.js, with your public key, just before </body> on the HTML pages of every site that uses the Hazelchat set, in every language of that site. Each site in one TYPO3 installation uses its own code. It reads only two site settings, has no database tables and no backend module, and sends nothing from TYPO3 to Hazelchat. The backend, feeds and other page types never load the chat. If your site sends a Content-Security-Policy through TYPO3, the extension allows https://app.hazelchat.co for the chat. Its settings are in English and German, and it is free software under the GPL, version 2 or later.
Visitor consent
TYPO3 has no cookie banner of its own. If your consent tool must allow the chat first, turn on Wait for my consent manager in the Hazelchat site settings. The chat then stays closed and sends no chat requests until your consent tool tells it to start:
window.dispatchEvent(new CustomEvent('hazelchat-consent', { detail: true }));
Send detail: false when a visitor withdraws consent. The extension does not configure consent tools for you. If your site must block even the script download, let your consent tool block that script too.
If the chat does not appear
Is the set on the site?
The code works only on sites that have Hazelchat under Sets for this Site.
Flush the caches
After you install, change the code or remove the set, flush the frontend caches.
Check the code
Paste the whole installation code, or only its 64-character key. Anything else, such as an API key, shows nothing.
Leave the script alone
Exclude
https://app.hazelchat.co/widget.jsfrom script combining, rewriting or delayed loading. The script must keep its own address and key.Content-Security-Policy
If your site's
csp.yamlsetsinheritDefault: false, or a proxy sends its own policy, allowhttps://app.hazelchat.coinscript-src,connect-srcandframe-srcthere.A second domain
The Free plan serves one website. A second TYPO3 site on another domain needs a plan with more websites.
Change or remove
New widget key
If you rotate the key in Hazelchat, paste the new code into the Hazelchat site settings and flush the caches.
Pause the chat
Switch Hazelchat off in your workspace. It stops answering straight away, even on cached pages.
Remove it from the site
Remove the Hazelchat set from the site and flush the caches, or uninstall the extension (composer remove hazelchat/typo3). Your Hazelchat account and plan are not affected.
Updates and changes
TYPO3 finds new versions itself: composer update hazelchat/typo3, or Admin Tools → Extensions without Composer.
1.0.0 (17 October 2026): adds the Hazelchat chat to the pages of every site that uses the Hazelchat set, from one installation code; optional wait for your consent manager; English and German settings.
TYPO3 is a registered trademark of the TYPO3 Association. Hazelchat is not affiliated with or endorsed by the TYPO3 Association; the name is used here only to say which software the extension works with.
Let your TYPO3 site answer from its own pages.
Questions? Email hello@hazelchat.co. We answer within one business day. Not on TYPO3? See all the ways to install Hazelchat.