Reference
Init options
Appearance is normally managed in the dashboard — no code changes needed. Inline options win when both are set, which makes them useful for a per-site override without touching the bot's configuration.
| Option | Type | What it does |
|---|---|---|
| idrequired | string | Your bot key from the dashboard Install tab. Starts with bot_ and is safe to expose — it is bounded by your domain allow-list, not by being secret. |
| title | string | Overrides the header title set in the dashboard. |
| greeting | string | Overrides the first message the visitor sees. Naming what the assistant covers here produces better questions than an open invitation does. |
| accent | string | Hex colour overriding the dashboard accent, e.g. "#0F9D6B". |
| position | "right" | "left" | Which corner the launcher sits in. Defaults to "right". |
All options together
window.MatterChat = window.MatterChat || { q: [] };
window.MatterChat.q.push(["init", {
id: "YOUR_BOT_KEY",
title: "Acme Support",
greeting: "Ask about shipping, returns, or sizing.",
accent: "#0F9D6B",
position: "right",
}]);