Messages that stay
Every message is saved. Visitors get their history back when they return, and you can read any past conversation.
Live chat
A chat box you add with two lines of HTML. Conversations live in your InputDock dashboard next to your forms, with the full history of every visitor.
What you get
Every message is saved. Visitors get their history back when they return, and you can read any past conversation.
Name, phone and email can each be off, optional or required. Visitors are asked once, with their first message.
Messages arrive as they are sent, with unread counts and an optional sound in the dashboard.
Bold, italic, underline, strikethrough and lists, the way WhatsApp does it. Web addresses become links.
Theme colour and corner radius from the dashboard, or per page with data attributes. Rendered in a Shadow DOM, so your CSS stays out.
List the sites allowed to show the chat, rotate the public key at any time, and rate limits protect the endpoint.
Setup
In your dashboard, open Chats, then Settings. Give the chat a title, pick which details to ask visitors for (name, phone, email), choose its colour and how round the corners are, and list the websites that may show it. Then save.
Copy the embed code, with your public key already filled in, to the place on your page where the chat should appear.
Visitors write, you answer from Conversations. Every message in both directions is stored with the conversation.
<div data-inputdock-chat="ck_your_public_key"></div>
<script src="https://cdn.inputdock.com/v1/chat.js" async></script>The chat script sits next to the form script on the CDN. Use the key from your own dashboard; the one above is a placeholder.
Options
All optional except the key. Settings from the dashboard apply unless an attribute on the page overrides them.
| Attribute | Example | What it does |
|---|---|---|
| data-inputdock-chat | ck_… | Required. The chat’s public key from Chats → Settings. Safe to publish. |
| data-theme | light | dark | auto | Colour scheme for this page. |
| data-accent | #2563eb | Accent colour. Overrides the theme colour from the dashboard. |
| data-radius | 12 | Corner radius in px (0 to 32). Overrides the dashboard setting. |
| data-sound | off | Mute the notification sound for incoming replies. |
Chat-style forms are different: they ask one question at a time and end in a submission. Looking for forms? See Forms.
Set it up under Chats in your dashboard, then paste the snippet.