Tori
  • Documentation
  • Pricing
Sign InSign Up
  • Getting started
  • Tori JavaScript guides
    • Add Tori to your site
    • Logged-in users
    • Google Tag Manager
    • Control the popup
    • Control conversations
    • Sizing and styling
  • Understanding Tori
    • Knowledge and research
    • Instructions and customisation
    • Conversations and context
    • Working with humans
  • Tori JavaScript reference
    • <tori-popup>
    • <tori-chatbox>
  • Default behaviour
    • Replies and language
    • Clarifying questions
    • Research and answers
    • Escalation
    • Staff messages and instructions
    • Off-topic questions and misuse

Add Tori to your site

The recommended way to add Tori is with <tori-popup>. It gives visitors a launcher button and opens the chat UI when they need help.

<script type="module" src="https://asktori.ai/cdn/tori-latest.js"></script>

<tori-popup
  app-id="APP_ID"
  agent-id="AGENT_ID"
></tori-popup>
Support

Ask Tori anything about the product

The popup sits on top of your page and opens when visitors need help.

A
AgentAI support agent
A

How can I help?

Just now
Say something...
The AI support agent says: How can I help? This is a non-interactive illustration.

By default, the popup starts closed, appears in the bottom-right corner, and opens fullscreen on small screens.

Use the dashboard snippet

In normal setups, copy the snippet from the Tori dashboard. It will already contain your real app ID and agent ID.

Use the examples in these docs when you want to understand or customize what that snippet does.

Inline chatbox

You can also put a chatbox directly inside a page. This is useful for a dedicated support page, onboarding step, or internal tool where chat should be part of the layout.

<script type="module" src="https://asktori.ai/cdn/tori-latest.js"></script>

<tori-chatbox
  app-id="APP_ID"
  agent-id="AGENT_ID"
  style="width: min(400px, 100%); height: 600px;"
></tori-chatbox>

Unlike the popup, the chatbox needs an explicit width and height.

Tori

Here you can add a description about your company or product

© Copyright 2026 AskTori. All Rights Reserved.

About
  • Contact
Product
  • Documentation
Legal
  • Terms of Service
  • Privacy Policy
  • Cookie Policy