Skip to content
Dashboard
Open .md fileOpen llms.txtA list of every page, for AI tools

Get started

Quickstart

Add the Iris widget to your site in two steps.

Paste this before </body> on every page. Replace the App ID with yours from Settings → Install in the dashboard.

index.html
<script>
window.Iris = window.Iris || { queue: [] };
["init", "identify", "logout", "on", "open", "close", "setPageContext", "update", "sendMessage"].forEach(function (name) {
Iris[name] = Iris[name] || function () {
var args = arguments;
return new Promise(function (resolve, reject) {
Iris.queue.push([name, args, resolve, reject]);
});
};
});
Iris.init({ appId: "app_7Hq2xK9mPz" });
</script>
<script async src="https://iris-cdn.playitback.dev/v1/iris.js"></script>

While Settings → Widget → Allowed origins is empty, any https website can load the widget with your App ID. To limit it, add your site’s origin. See Allowed origins and CSP.

Allowed origin
https://shop.example.com

Open your page and select the launcher in the bottom corner. Send a message. It shows in the dashboard inbox within a few seconds.