Add a chat assistant to your website
Put a Live Chat button on your website that answers visitors from your knowledge bases and captures urgent leads. Customise its look, and see how chats are kept and deleted.
Watch the tutorial
Video not playing? Open the tutorial video (4 min).
Website Chat is available on the Pro plan; ask an admin if you cannot see it. It puts a "Chat with us" button on your website. A visitor opens it, taps a topic or types a question, and the assistant answers from the knowledge bases you choose. If a visitor sounds urgent, for example they mention a court date, the assistant asks for a first name and a mobile number so your team can call them back. The details go into your usual automation, and a lead is created.
The assistant answers from your knowledge bases. When they have nothing on a question, it says it cannot help and points the visitor to your team.
Set it up
- Go to https://app.trustpager.com/operations/live-chat and choose New widget.
- Give it a name. Only you see the name.
- Add the websites that may show the chat, one per line, such as
www.example.com. Use the whole website name, and add the version withoutwwwtoo if your site uses both. The chat will not start on any website that is not on this list. - Pick at least one knowledge base. Only your own workspace's knowledge bases are listed.
- Change the wording, look and quick buttons if you like (see "Change how the chat looks" below). Every setting has a note under it.
- Choose Create widget.
What your visitors see
The chat opens straight away, with your greeting and quick-start buttons already showing. Visitors can start typing at once. If they send a message in the first second, it goes as soon as the chat is ready.
The chat button is round, and it turns into a down arrow while the chat is open. The window has a header with the chat's picture, its name and a small line under it (by default "Usually replies in seconds", with a green dot). There is an X to close the chat and a small dots menu that holds Delete my chat. Messages sit in rounded bubbles, typing dots show while an answer is coming, and the message box has a round send button.
Change how the chat looks
Open a chat on the Live Chat page (https://app.trustpager.com/operations/live-chat) and choose Edit. These settings are in the What the visitor sees section:
- Chat button: Round chat icon (the default) or Icon and label, which shows your Button label beside the icon.
- Line under the title: the small line under the window title. Leave it empty to show only the title.
- Font: the visitor's own font (the default), or pick one of Inter, Geist, DM Sans, Plus Jakarta Sans, Manrope, Poppins, Montserrat, Nunito, Open Sans, Roboto, Lato, Work Sans, Outfit or Figtree.
- Picture: a web address starting with https for your logo or a team photo. It shows on a white circle at the top of the chat. Leave it empty to show the first letter of the title.
- Use a gradient: turn this on and choose two or three Gradient colours. They paint the chat button, the header, the Send button and the visitor's messages, instead of the flat Colour.
Changes reach your website without you touching the install line.
Change the look with your own Claude
If you use TrustPager through Claude, the same settings are on the create and update chat widget tools, inside the appearance setting: a gradient of two or three colours, font, the line under the title, button style (icon or label) and picture address. Sending appearance replaces the whole appearance, so send every setting you want to keep. For the exact field names, see https://docs.trustpager.com/reference#chat-widgets.
Put it on your website
- On the Live Chat page (https://app.trustpager.com/operations/live-chat), choose Install on your widget.
- Copy the one line shown and paste it into your website, just before the closing
</body>tag. Put it in the layout that every page shares, so the button shows on every page. - Load it from the address shown. Please do not copy the script into your own files, so that you keep getting the current version.
Before it is on your site you can try it: in the Install window choose Test in a new tab. This works when the Portal's own address is on your allowed list. If it is not, the window tells you what to add. You can also use the test page at https://app.trustpager.com/operations/live-chat/test. You can remove it again afterwards.
If your website has a content security policy, allow edge.trustpager.net for scripts and frames.
What is kept, and for how long
- Every chat is saved so your team can read it. Find chats under Inbox > Agent Comms > Chat Agents at https://app.trustpager.com/inbox/chat-agents.
- Chats are kept for 90 days by default. You can set anything from 7 to 365 days on each widget, in the Limits and privacy section of the Edit window. Open it with the Edit button on the widget's card.
- Each night, chats older than that are erased. The messages and the visitor's name and mobile number are removed for good. A small record stays, with only counts and the urgency level, and no text or personal details. We keep it so billing and abuse checks still work.
- Leads that were already created from a chat are not touched when a chat is erased. They live in your CRM.
- The visitor's name and mobile are shown masked in lists. Open one chat to see them in full.
How to delete chats
- A visitor can delete their own chat from inside the chat window, using Delete my chat in the small dots menu at the top of the chat. Their chat is erased straight away.
- You can erase one chat by opening it under Inbox > Agent Comms > Chat Agents and choosing Erase this chat.
- You can erase many at once on the Live Chat page. Choose Erase old chats on a widget, enter a number of days, and every chat that started more than that many days ago is erased. The window tells you what will happen before you confirm. If there are a lot of chats it may ask you to run it again.
- Deleting a widget deletes all of its chats too. The chat button disappears from your website.
Erasing cannot be undone.
If a lead did not send
When a chat reaches the point where your automation should hear about it, we send it straight away. If the send does not go through, we retry a few times. If it still fails, the chat shows Send failed on its page, and you can choose Retry send. A lead is never created twice, even if you retry. You can also find these in Inbox > Agent Comms > Chat Agents by filtering for Send failed.
Pausing and limits
- Pause a widget to take the chat off your website straight away. Nothing is deleted.
- Each widget has a daily limit on AI use and on automation sends, and a limit on messages in one chat. At the AI limit the chat stops answering with AI but still records leads. Over the send limit, leads are still created, but text messages switch off for the day.
Guide visitors with a conversation flow
Besides answering from your knowledge bases, the chat can run a conversation flow: a guided chat with real tappable buttons, questions that collect a name or email, booking times offered as buttons, and a hand-over to your team. Choose your chat widget as a channel when you build the flow at https://app.trustpager.com/auto/conversation-flows. If a client portal uses the same chat widget, flows run there too.
In the Inbox, a chat a flow is handling shows In flow, Flow paused or Needs a person, and you can pause or end the flow from the strip at the top. If a flow uses "Evie answers questions", those answers count toward the widget's daily spend limit. See https://trustpager.com/help-center/conversation-flows.