AI Tema
Skip to content
AI Tema
What it doesChannelsQuestions
Wiki
EN
РусскийRUEspañolESSrpskiSREnglishEN
Log in
AI Tema wiki
Before installationReady-to-use codeWhere and how to installInstallation detailsVerify installationCommon questions
AI Tema wiki/HTML

HTML · AI Tema

HTML website chatbot: ready JavaScript embed code

A static website or custom server template needs one external script. It adds a floating launcher without taking space in the content layout. Chat code loads when the conversation window opens.

Instructions checked: October 29, 2026

Open dashboard ↗Appearance and JavaScript API

Before installation

  1. Create a Website chat connection in AI Tema and allow your live HTTPS domain. The www and non-www addresses work together; allow other subdomains separately.
  2. Assign an incoming-message workflow to the website and activate it. Saving a draft alone does not start the bot.

Every platform uses the same lightweight AI Tema widget. It runs your workflows and does not automatically access orders, CMS data or personal data from your website.

Ready-to-use code

index.html

The UUID from data-account in your dashboard widget snippet. This is a public connection ID, not a password or token.

Enter your ID to generate code for your website.

HTML
<script
  src="https://api.aitema.cloud/api/v1/chat/widget.js"
  data-account="ACCOUNT_ID"
  defer
></script>

Where and how to install

  1. Find your shared page template: index.html, a footer partial or server layout containing </body>.
  2. Insert the personalized script directly before </body>. Keep defer so the loader runs after HTML parsing.
  3. Without a shared template, add it to each HTML page that needs chat. Do not place it inside an iframe.
  4. Deploy the updated files and visit the HTTPS website. For local testing, allow HTTP localhost or 127.0.0.1 with the correct port.

Installation details

  • A file:// page has no allowed HTTPS origin. Test with a local HTTP server.
  • For strict CSP, allow the API in script-src and connect-src; see the SDK guide for style nonce settings.
Official platform documentationHTML: script element ↗

Verify installation

  1. Visit the published website on the domain allowed in AI Tema. Clear the page cache if the widget has not appeared after your update.
  2. Open the chat and send a message. Complete the workflow to collect contact details; add the “Mark as lead” action to record a lead.
  3. Find the contact in “Contacts and leads” and open the conversation. Check the mobile view and navigation between pages.

Common questions

Can the script go in head?

Yes, with defer. The loader needs body to exist. Placement before </body> is usually easier to check.

Why do localhost:3000 and localhost:8080 differ?

The port is part of the origin. Allow the exact address used for your test site.

Other installation guides

functions.php

WordPress

Install AI Tema chat on WordPress with ready-to-use PHP and HTML. Includes child-theme setup, WordPress.com requirements and lead verification.

↗
HEAD

Tilda

Add AI Tema chat to Tilda through site HEAD settings or a T123 block. Includes a ready script, publishing steps and lead collection checks.

↗
layout/theme.liquid

Shopify

Connect AI Tema to a Shopify storefront with ready theme.liquid code, installation steps, domain checks and checkout limitations.

↗
Custom Code

Wix

Add AI Tema to Wix with a ready script, Body end placement, site-wide loading and published-domain checks through Custom Code.

↗
Footer code

Webflow

Connect AI Tema chat to Webflow with a ready Footer code snippet. Covers site settings, publishing and Webflow plan requirements.

↗
/local/templates/…/footer.php

1С-Битрикс

Install AI Tema on 1C-Bitrix through footer.php. Ready widget code, active-template selection and lead checks without a marketplace module.

↗
HEAD

Bitrix24 Sites

Add AI Tema to Bitrix24 Sites through custom HTML. Ready HEAD code, page-level settings and plan requirements for a published website.

↗
Custom Code → Before </body>

TapTop

Add AI Tema to TapTop with a script before body. Includes project-wide and page-level installation, publishing and custom-code requirements.

↗
Settings → General → HTML

Taplink

Connect AI Tema to Taplink through Settings → General → HTML code. Ready script, insertion scope and mobile chat verification.

↗
Códigos externos → Para la Tienda

Tiendanube

Install AI Tema in Tiendanube through Códigos externos. Ready storefront code, a Google Tag Manager alternative and checkout limitations.

↗
Сайт → Счётчики и коды → body

InSales

Add AI Tema to InSales without editing your theme. Ready HTML script, shared body insertion and conversation checks for your online store.

↗
Instant Site → Custom JavaScript code

Ecwid

Add AI Tema to Ecwid Instant Site through Custom JavaScript code. Ready script, supported plans and guidance for stores embedded in another CMS.

↗
Custom Code → Add Script

Framer

Install AI Tema in Framer through Custom Code and Add Script. Ready HTML, Once execution, page selection and navigation verification.

↗
Custom HTML → DOM Ready

Google Tag Manager

Add AI Tema with a Custom HTML tag in Google Tag Manager. Duplicate-safe script, DOM Ready trigger, Preview checks and container publishing.

↗
src/AitemaChat.jsx

React

Install AI Tema in React with a ready useEffect component, single SDK loading and unmount cleanup. Add SPA chat without duplicate launchers.

↗
app/components/AitemaChat.jsx

Next.js

Add AI Tema to Next.js App Router with a ready next/script component, afterInteractive loading and a shared layout without duplicate downloads.

↗
AI Tema

Automated replies and lead collection for your business.

My accountTry a workflow
© 2026 AI Tema
DocumentationPrivacy PolicyTerms of Service
A gomvp.dev product ↗