Three ways to put the chat somewhere, guides for twelve stacks, and SDKs for apps. Your workspace gives you each snippet with your own address and chat name filled in.
The chat button appears in the corner of every page that has this tag. Put it in your shared layout, just before the closing body tag.
<script defer src="https://YOUR-APP-ADDRESS/widget.js" data-slug="your-chat" data-api="https://YOUR-APP-ADDRESS" ></script>
The chat sits inside a page, at the place and size you give it.
<iframe src="https://YOUR-APP-ADDRESS/embed/your-chat" style="border:0;width:100%;height:600px" title="Chat" ></iframe>
The chat is a page of its own. Link to it from a button, an email or a QR code.
https://YOUR-APP-ADDRESS/c/your-chat
Replace YOUR-APP-ADDRESS and your-chat with the values from your workspace, or copy the finished snippet from the Integration page there.
Any site where you can edit the page markup: static sites, server-rendered templates, PHP, Rails, Django, Laravel.
Single-page apps built with Vite, Create React App or any React setup.
App Router or Pages Router, using the built-in next/script component.
Vue 3 single-page apps and Nuxt 3 sites.
Angular CLI projects.
SvelteKit sites, and plain Svelte apps built with Vite.
Self-hosted WordPress, with a plugin or from a child theme.
Online Store themes.
Site-wide custom code. Needs a paid site plan.
Site-wide custom code from the dashboard. Needs a premium plan with a connected domain.
Site-wide code injection. Your plan must include code injection.
Sites that already load tags through a GTM container.
For web apps that want the chat as part of their own interface instead of a button in the corner. You can turn on voice: visitors speak a question, and replies can be read aloud.
npm install @webfinancedirect/ai-chat-web
For iOS and Android apps built with React Native. Your app mounts one component and the chat runs inside it. Voice works here too: visitors speak a question, and replies can be read aloud.
npm install @webfinancedirect/ai-chat-react-native
The script tag and the iframe work only on the websites you list for that chat, so nobody else can put your chat on their site. The full page has nothing to allow: its link works from anywhere.