JavaScriptCustom JavaScript snippet

Drop a single script tag on any site

Works on any HTML page or framework. Add your integration key from the dashboard. The script does the rest.

 

Drop-in install

One script, no build

ES module from the CDN. Async, code-split.

Framework-agnostic

React, Vue, Next.js, Astro, plain HTML — all work.

DOM indexer

Reads pages on first load. No manual schema needed.

Self-hosted option

Enterprise plan can host the script and worker on your own infra.

On the page

twwim AI chat panel open on the storefront, answering "tell me about twwim features" with a rich markdown response
Chat mode — full conversation
twwim AI chat panel in listening mode with a live audio waveform and elapsed-time indicator
Listening — live voice capture
twwim AI compact text-input bar floating over the page, user typing "where are price. show me the page"
Compact text input bar
twwim AI compact input pill — text mode, ready for a typed command
Compact input pill

How to install

  1. 01

    Sign up

    Create an account, create a tenant, copy the integration key.

  2. 02

    Paste the snippet

    Add the script tag to your page head or layout.

  3. 03

    Verify

    Open the page, the voice pill appears.

  4. 04

    Train

    TWWIM indexes your pages on first load. No manual setup.

Custom integration FAQ

CSP impact?
Whitelist cdn.twwim.ai for script-src. No inline scripts.
Bundle size?
Initial chunk under 30 KB gzip. Code-split UI loads on first interaction.
Self-hosted?
Yes, on Enterprise. Script and inference can run in your VPC.
Your privacy matters

We use essential cookies to run the site. With your consent we also use analytics and marketing cookies. You can change this any time. Privacy Policy and Cookie Policy.