Skip to main content
The Chat Widget is a JavaScript snippet you drop on any website. Visitors can start a conversation; messages stream into Custral’s shared inbox in real time. Once a human takes over, the visitor and the agent share a single Conversation that can also receive email or SMS replies.

Install the widget

Add the script tag, pass identification, and configure appearance.

Routing

Decide which team or user picks up an inbound chat.

How it works

  • The widget is a small JavaScript snippet that connects to Custral in real time.
  • When a new visitor starts a chat, Custral opens a Conversation on a chat channel.
  • Messages flow through the same Conversation model used by email and SMS, so threads stay coherent across channels.

Identifying a known visitor

If you already know who the visitor is (a signed-in user, or a customer in your CRM), you can pass their name and email when the widget loads. Custral matches them to an existing record by email and links the Conversation automatically.