Installing Vatdi AI Chat for Joomla 5 & 6
This guide walks you through installing the extension end-to-end. Takes about 3 minutes total.
What you need before you start
| Requirement | Notes |
|---|---|
| Joomla 5.0 or newer | Joomla 6.x is supported |
| PHP 8.1 or newer | Same minimum Joomla 5 requires |
| A Joomla Super User account | Or any admin with permission to install extensions |
Outbound HTTPS to vatdi.com |
Port 443 from your server |
php-curl extension |
Enabled on virtually every modern host |
You do not need a Vatdi account beforehand — Easy Connect creates one for you the first time.
Method A — Web installer (recommended)
Best for every merchant. Works from any modern browser, no SSH needed.
Step 1 — Download the package
Download the latest package, vatdi-joomla-<version>.zip, from
https://vatdi.com/integrations/joomla. Do not unzip it —
Joomla installs the ZIP as-is.
Step 2 — Upload via the Extensions Installer
- Log in to your Joomla admin at
https://your-site/administrator/. - Go to System → Install → Extensions.
- Click the Upload Package File tab.
- Drag the
vatdi-joomla-<version>.zipfile into the upload zone (or click and pick it). - Wait 5–10 seconds. You should see the green success message:
Installing package was successful.
Vatdi AI Chat v<version>
Joomla installs the package and its three sub-extensions in one step:
com_vatdi(component) — the admin config screenplg_system_vatdi(system plugin) — widget injection + commerce hooksplg_content_vatdi(content plugin) — article hooks
Both plugins are enabled automatically on install.
Step 3 — Verify the plugins are enabled
- Go to System → Manage → Plugins.
- Filter by
vatdi. You should see two rows, both with a green tick in the Status column:System - Vatdi AI ChatContent - Vatdi AI Chat
If either is disabled, click the red circle to enable it.
Skip to Connecting your store below.
Method B — Manual (SSH / File Manager)
Use this if your host's PHP upload limit is too small for the ZIP (rare — the package is well under 1 MB), or if your admin session times out during large uploads.
-
Upload
vatdi-joomla-<version>.zipto a folder on your server (e.g./tmp/vatdi/) via SFTP or your host's file manager. -
Extract it in place:
cd /tmp/vatdi unzip vatdi-joomla-<version>.zip -
In the Joomla admin, go to System → Install → Extensions → Install from Folder tab.
-
In the Install directory field, paste the absolute path to the extracted folder (the one that contains
pkg_vatdi.xml), then click Check and Install. -
Confirm the same green success message as Method A.
Connecting your store (both methods)
-
In the Joomla admin, go to Components → Vatdi AI Chat.
-
Under Connection, click Easy Connect.
-
The button spins for a few seconds while it:
- HMAC-signs a handshake with
https://vatdi.com/api/joomla/easy-connect - Provisions your Vatdi merchant account if you're new
- Stores the returned
store_key+store_secret
If the site's admin email already has a Vatdi account, Vatdi first emails that account's owner a link to approve adding the site; the connection completes once it is approved.
- HMAC-signs a handshake with
-
When the status line shows Connected to Vatdi since {date}, you're done. The initial catalog sync (articles, plus VirtueMart / HikaShop data when present) keeps running in the background after the button reports success — on a large catalog it can take a few minutes.
-
Load your site's frontend in a private/incognito window. The Vatdi chat launcher should appear in the bottom-right within 1–2 seconds.
Click Open Dashboard on the config screen to jump straight into your Vatdi dashboard — the button gets a fresh single-use auto-login token every time you click it.
There is no Options button on this screen by design. Joomla's global component-options editor saves only the fields it knows about and rewrites the whole parameter blob, which would erase your stored connection. Manage permissions from System → Global Configuration → Permissions instead.
Verifying it works
Widget renders on the frontend:
Open your homepage in an incognito window. The chat launcher should appear
bottom-right. In DevTools → Network tab, reload the page — you should see
vatdi.com/widget-loader.js return HTTP 200.
Real-time sync fires on save: Edit any Joomla article and save. Within a few seconds the change is reflected when the chatbot answers questions about that article. To verify from the server side, tail the Vatdi log:
tail -f administrator/logs/com_vatdi.log.php
Successful pushes are silent. Errors log as Vatdi AI Chat: pushKnowledge failed ….
Initial catalog sync completed: Open your Vatdi dashboard → Knowledge Base. You should see rows for your articles (and VirtueMart / HikaShop items if either is installed) within a few minutes of clicking Easy Connect. Row counts should match your published, active content — unpublished, archived and trashed items are deliberately excluded.
Push cron (required for VirtueMart, recommended for everyone)
The extension exposes a push-cron URL — your own server calls it on a
schedule and the catalog is pushed OUTBOUND to vatdi.com. That matters in
two situations:
- VirtueMart. VirtueMart routes its CRUD triggers to its own plugin groups, which a system plugin does not reliably receive, so the sweep is what keeps a VirtueMart catalog fresh. Every 15 minutes is the recommended cadence.
- Cloudflare Bot Fight Mode or another WAF that challenges Vatdi's crawler. Pushing outbound avoids the WAF entirely.
Set it up:
-
On the Components → Vatdi AI Chat screen, under Push Cron, copy the URL shown.
-
Add it to your server crontab:
*/15 * * * * wget -qO- "https://your-site/index.php?option=com_vatdi&task=push.run&token=XXXX" > /dev/null 2>&1
The URL includes a 32-character token derived deterministically from your store secret — no separate secret to manage.
Troubleshooting
Everything the extension logs — the component, both plugins and the push cron — goes to a single file:
tail -f administrator/logs/com_vatdi.log.php
Widget doesn't appear on the frontend
Check in this order:
- Components → Vatdi AI Chat — is the status Connected and is Enable AI Chat set to Yes?
- System → Manage → Plugins, filter by
vatdi— is System - Vatdi AI Chat enabled? - Did you flush the Joomla cache after installing? System → Maintenance →
Clear Cache → tick all → Delete. (Connecting and disconnecting flush
the
_systemcache group automatically, so this is only needed if you edited things by hand.) - Is your template heavily customised? Every stock Joomla template renders
<jdoc:include type="head" />in<head>— but a hand-rolled template might drop it. If so, copy the widget snippet from the config screen into your template'stemplates/{your-template}/index.phpbefore</body>. - Is there a Content Security Policy blocking the loader? Add
vatdi.comto your CSPscript-srcandconnect-srcdirectives.
Easy Connect returns "Could not determine an admin email"
The extension pulls the merchant email from System → Global Configuration
→ Site → Mail from address (config.mailfrom). Set that value and retry.
Easy Connect returns a network error
Almost always one of:
- Outbound HTTPS blocked: from SSH, run
curl -I https://vatdi.com/api/joomla/easy-connect— if that hangs or returns nothing, ask your host to allow outbound HTTPS tovatdi.com. php-curlextension missing: check withphp -m | grep curl. If absent, installphp-curland restart PHP-FPM / Apache.- HTTPS certificate bundle out of date: if the site's own certificate is
fine, this is usually a stale
curl.cainfo. Updatephp.ini'scurl.cainfoto a current cacert.pem.
Real-time updates don't reach Vatdi
Check administrator/logs/com_vatdi.log.php. Common causes:
- Same outbound HTTPS problem as above — try
curl -I https://vatdi.com/api/stores/mefrom SSH. - Credentials expired (very rare): click Disconnect then Easy Connect again to reprovision.
VirtueMart items aren't updating the moment I save them
Expected. VirtueMart dispatches its plgVmOn* triggers to its own plugin
groups (vmcustom / vmshopper / vmextended), which a Joomla system
plugin is not guaranteed to receive. Set up the push cron above and your
VirtueMart catalog stays current within the cron interval. A dedicated
vmextended plugin is on the roadmap.
HikaShop hooks aren't firing
The extension detects HikaShop via class_exists('hikashop_config') (and
VirtueMart via class_exists('VmConfig')). If the module is installed but the
class isn't discoverable at plugin load time — usually because the module
autoloader was customised — the hooks silently no-op and the push cron picks
the changes up instead. Article hooks continue to work either way. Contact
support@vatdi.com with your administrator/logs/com_vatdi.log.php tail and
we'll add a shim.
VirtueMart syncs zero products
The extension reads VirtueMart's translation tables
(#__virtuemart_products_<lang>) using VirtueMart's OWN configured language,
falling back to the site default. If nothing syncs, check the log for a
CatalogBuilder buildVirtueMartProduct entry naming a missing table, and
confirm your VirtueMart language configuration matches an existing table.
Uninstall
- Go to System → Manage → Extensions.
- Filter by
vatdi. - Select the row Vatdi AI Chat (type:
Package). - Click the Uninstall button in the toolbar.
Joomla removes the package and both plugins in one step. Your Vatdi
conversation history and analytics stay on the platform and can be restored
by re-installing and clicking Easy Connect. If you want your Vatdi merchant
account deleted permanently, email support@vatdi.com from the merchant
email address on file.
Support
| Channel | Where |
|---|---|
| Docs | https://vatdi.com/docs |
| support@vatdi.com | |
| Response time | Within 4 business hours |
Free setup service is available on every plan — email support with your site URL and someone from our team will handle the install for you.