Skip to content

Website chat

Beta

Last checked against the product on 14 November 2026.

A chat button on your website: visitors ask, and the same agent answers them, with the same instructions and tools it uses on WhatsApp. You paste one line into your site. Each environment has its own website chat, so a sandbox’s test chat and Live’s never mix.

Where: Deploy → Channels → Website chat.

  1. Open Channels → Website chat in the environment it is for, and select Add website chat. It starts with your business name at the top of the chat and, when your profile has an https website, that site in Allowed domains.
  2. Under Install, copy the snippet from the Website tab and paste it before </body> on every page where the chat should appear. The WordPress, Shopify and Google Tag Manager tabs say where that is on each, in four steps.
  3. Open a page of your site. The chat button appears in the corner on the next page load.

Check it worked: the install check under the tabs changes from “Not seen on a website yet” to “Seen on www.example.com” a minute or so after a page with the snippet loads. Test installation opens a page of your site with a marker: the chat tells you, and only you, that it is installed.

Someone else edits your website? Email these instructions writes them an email with the snippet. They don’t need a Tendus account.

No website? The Chat link tab gives the same chat on a page of its own. Put it behind a Contact button, in an email signature or on printed material.

The chat shows only on the sites in Allowed domains, even if someone copies your snippet onto another site. Each entry is a site’s full address, starting with https://, such as https://www.example-hospital.com; one entry covers all its pages. www. and the bare domain are separate sites, so the console offers to add the other one too. Up to 20.

A Live chat shows nowhere until at least one site is listed. A sandbox chat also shows on http://localhost, on any port, so your developers can try it before it goes on your site.

  • Appearance: the name at the top of the chat, your accent colour (the button and the visitor’s messages), the corner it sits in, and an optional label beside the button, such as “Ask us”. The chat shows your logo from Workspace at its top and beside the agent’s messages. The preview beside the settings shows each change as you make it. A colour that text can’t be read on is refused.
  • How it talks to visitors: Chat on the page; Chat on the page, with Continue on WhatsApp, which lets a visitor carry on from their phone; or WhatsApp only, where the button opens WhatsApp with a message ready to send. The WhatsApp options need a WhatsApp number in the same environment.
  • Conversation starters: the greeting a visitor sees first, and up to four suggested questions they can tap.
  • Fallback contact: a phone number, an email address or a contact page. The chat shows it when the agent can’t help or can’t answer at all, so a visitor can always reach a person.
  • Privacy: every chat says “You’re chatting with an AI agent for {your name}. Messages are recorded so the team can review them.” Add your privacy policy and the chat links to it under that line.

Select Save changes. Your site shows them on its next page load.

On Live, the page lists what is still missing for visitors to be served well: a site in Allowed domains, a fallback contact, and your privacy policy.

For a store, the agent can show products as cards under its reply: the picture, the name, the price, the price before a discount, and a link to the product on your site. It picks the ones that fit what the visitor asked; everything on a card comes from your own catalogue, exactly as your system returned it, never from the agent’s words. The catalogue tool needs a display.products mapping in its manifest (our engineers set it up with you; see Your systems). On WhatsApp the agent names the products in its reply instead.

For your developers: Tendus('on', 'product', fn) is called with the product’s id when a visitor opens a card, for your analytics or to add it to the basket.

Website visitors’ conversations are in Conversations beside WhatsApp’s, marked Website chat, and the channel filter can show them alone. A visitor’s conversation stays in their browser for 30 days, so they can leave a page and come back to it. A conversation closes after a day without a message; New conversation in the chat’s menu closes it sooner.

A visitor can send 10 messages a minute and 150 a day.

The Developers tab lists the JavaScript calls: open, close or prefill the chat from your own buttons, or listen for its events in your analytics (events say who sent a message and when, never the text). Add data-tendus-open to any element to make it open the chat. For a site whose consent tool holds every third-party script, add data-tendus-manual to the snippet: nothing appears until the site calls Tendus('boot').

A site with a strict Content Security Policy adds the chat’s host to script-src, style-src and frame-src; the snippet needs nothing inline.

To help a customer with their own account, such as their tickets in Zendesk or their deals in HubSpot, the agent needs to know who the visitor is. It never takes a visitor’s word for it. A visitor becomes verified in one of three ways:

  • A code by email. The chat offers “Verify your email”: the visitor types their email, Tendus sends a 6-digit code, and they type it back. It works on any site, with nothing to install. A code works for 10 minutes.
  • Your Shopify theme. A short snippet in your theme tells the chat which customer is logged in. See Connect Shopify.
  • Your own sign-in. Your server signs a short token for the signed-in user and your page hands it to the chat with Tendus('identify', { getToken }). The Developers tab under Install shows how. Call Tendus('logout') when the user signs out.

A verified visitor sees “Verified · f•••@example.com” at the top of the chat, and continues the same conversation on another device. Sign out in the chat’s menu forgets them on that device.

Choose who can chat under Signed-in visitors:

  • Off: nobody is verified. The agent answers general questions only.
  • Optional: anyone can chat; verified visitors also get help with their account.
  • Required: only verified visitors can chat. Others see “Verify your email to chat”, or “Sign in to the website to chat with us” when email codes are off.

Visitors can verify with a code sent to their email is on unless you turn it off, for example to accept only your own sign-in. Select Save changes.

Your server and your Shopify theme sign with a signing secret. Create signing secret makes one and shows it once, with the Shopify snippet already filled in, so copy it then. Afterwards the console shows only its last four characters. Keep it on your server or in your theme, never in your site’s pages.

Rotate makes a new one, shown once in the same way. The previous one keeps working for 24 hours, so update your server or theme before then. Rotate it when someone who could see it leaves, such as a person with access to your theme. Remove stops your sign-in and the Shopify snippet from verifying anyone at once; email codes keep working if they are on.

The key in your snippet isn’t a secret: anyone can read it in your site’s HTML, and Allowed domains are what keep the chat on your sites. If you want a new one anyway, Replace key makes it; the old key keeps working for 24 hours, so paste the new snippet before then.

Remove website chat takes the chat off your site on the next page load. Its conversations stay.