Widget & plugins
Add the CatéGPT assistant to any website. Two ways to show the chat — you can use both.
Download the plugins
Any site (HTML / other CMS)
A · Floating bubble
<script
src="https://categpt.chat/embed/widget.js"
data-site-key="cgpt_site_YOUR_KEY"
data-language="en"
data-accent="#c9a227"></script>
Paste this at the very bottom of your pages (just before </body>) or via Google
Tag Manager.
B · Embedded chat in a page
<div data-categpt-inline
data-site-key="cgpt_site_YOUR_KEY"
data-language="en"
data-height="600"></div>
<script src="https://categpt.chat/embed/widget.js" defer></script>
Paste this block exactly where the chat should appear.
Attributes
| Attribute | Default | Description |
|---|---|---|
data-site-key | — | Site key (required). |
data-language | browser language | fr, en, de, it, es, pt, pl. |
data-accent | #c9a227 | Accent colour. |
data-position | right | right or left (bubble). |
data-height | 520 | Embedded chat height (px). |
“Saint of the day” card (free, no account)
Show the saint and feast of the day (liturgical-colour dot, feast name, short excerpt, link to the day’s page) on any website. Unlike the chatbot, this card is completely free: no site key, no account.
<script src="https://categpt.chat/embed/saint-card.js" data-locale="en" defer></script>
<div data-categpt-saint-card></div>
The <div data-categpt-saint-card> block marks where the card renders; when
absent, it is inserted right after the <script> tag. data-locale accepts
fr (default), en, de, it, es, pt, pl. The displayed
date follows the visitor’s timezone; when the day’s data is unavailable the
card simply does not appear.
WordPress
- Download the plugin (.zip) above.
- In the admin: Plugins → Add New → Upload Plugin, choose the .zip, “Install Now”, then “Activate”.
- Open Settings → CatéGPT and paste your site key.
- Bubble: tick “Enable the bubble”. Embedded chat: insert the
[categpt]shortcode in a page or post.
Shortcode options: [categpt language="en" height="600"].
TYPO3
- Install the
categptextension (.zip above or Composer) and activate it. - Bubble: include the “CatéGPT — Widget” static template in your root template, set
plugin.tx_categpt.siteKeyin Constants and clear the cache. - Embedded chat: add a “Plain HTML” content element with the embedded chat block above.
PrestaShop
- Download the module (.zip) and install it: Modules → Module Manager → Upload a module.
- Bubble: click “Configure”, enable the bubble and paste your key.
- Embedded chat: create a CMS page, switch to code mode and paste the embedded chat block above.
Security
cgpt_site_…) is locked to the domains you provide: it only works on your sites. For a server-side model, the WordPress plugin can use a secret key (proxy mode) that is never exposed to the browser.Continuity to categpt.chat
The widget answers concisely and offers to see the full answer and continue the conversation on categpt.chat. The visitor arrives “fresh” (the 3 anonymous questions are not consumed by this handoff).
Billing
Usage-based (prepaid or subscription depending on your contract). Tracking is done in the CatéGPT console.
Privacy
Troubleshooting
The widget doesn’t appear. Check that the site key is correct and that your site’s domain is in the allowed origins for that key.
“origin_not_allowed”. The domain the request comes from isn’t allowed for this key — tell the CatéGPT team.
The embedded chat doesn’t show. Make sure both the <div data-categpt-inline> and the <script> tag are present, and that your editor didn’t escape the HTML (use code / HTML mode).
Nothing happens on click. The key may be suspended or the balance depleted — check in the CatéGPT console.