Skip to Content
ChatbotConnecting a PropertyConcierge — Connecting a Property

Chatbot — Connecting a Property

What: what makes the Chatbot know your rooms, rates, and domain — the tenant binding, the approved domain, the catalogue, and the bridge key. Audience: owners, technical staff. Time to complete: about 20 minutes. Prerequisite: the Chatbot overview.

Learning objectives

After this module you understand the four things that connect a property, can run the connection checklist, and know where to look when the widget shows an error.

1. The tenant binding

Each property is a tenant in the Chatbot (e.g. krishnachura-retreat). The binding connects the tenant to the property’s Suite: the Chatbot calls the Suite’s API for availability, quotes, and drafts.

The two applications keep separate databases by design, joined by HTTP and IDs — the Suite never writes to the Chatbot’s database and vice versa. See Glossary for the key terms.

Who does this: the ViveReply team registers tenants (there’s no public signup — by design). Owners get a login for their property.

2. Approved domains

The widget only runs on approved domains. Each tenant has ApprovedDomain rows — the property’s website domain must have a row with active switched on, or the widget shows an error panel instead of the chat.

This is the most common setup failure: everything is configured, but the domain row is missing or not active. There is no Suite-side fix — the row must exist in the Chatbot’s database.

Check: open your website. If you see an error panel instead of the chat button, the domain isn’t approved. Contact support with your domain.

3. The catalogue

The Chatbot maps its room list to the Suite’s room types explicitly: each catalogue entry carries its own suiteRoomId (the Suite room’s UUID), looked up by slug. If an entry points at the wrong UUID, the Chatbot quotes the wrong room’s price with full confidence.

Verify the mapping whenever rooms are added or removed — order doesn’t matter. This is a five-minute check that prevents the most embarrassing failure mode.

4. The contract (spec v1)

The Suite exposes a minimal contract the Chatbot checks:

  • GET /api/concierge/ping → {"ok":true,"suiteVersion":1} — the handshake. If this doesn’t answer, the property isn’t connected, whatever the dashboards say.

Run this URL in your browser. {"ok":true} means the wiring is alive.

5. The bridge key (for staff handoff)

To work handoffs from your Suite admin (/admin/chatbot-admin) or your own dashboard, mint a bridge key:

  1. In the Chatbot app: Settings → Bridge keys → mint, named e.g. demo1 dashboard. Copy the secret immediately — it’s shown once.
  2. In your Suite admin: paste it into Settings → Chatbot (stored encrypted, no redeploy needed) — or set CONCIERGE_BRIDGE_KEY in your hosting environment, which takes precedence.
  3. Open /admin/chatbot-admin — the queue loads.

Full reference: Bridge API. Staff workflow: Staff Handoff.

6. Connection checklist

  1. Tenant created and bound to the property’s Suite.
  2. ApprovedDomain row with active on for the website’s domain.
  3. Catalogue mapped — each entry’s suiteRoomId verified against the Suite’s rooms.
  4. Ping answers {"ok":true,"suiteVersion":1}.
  5. Bridge key minted (for staff handoff).

7. Troubleshooting

SymptomCheck first
Widget error panelThe ApprovedDomain row — missing or not active. No Suite-side fix exists.
Wrong room quotedThe catalogue’s suiteRoomId mapping — verify each entry points at the right Suite room.
Ping failsThe Suite’s ping route or the deployment — the property isn’t connected.
Auth to the Chatbot admin failsThe session secret must be set — without it, login fails and chat closes.
Bridge API 401Key revoked — mint a new one in Settings → Bridge keys.

More: Troubleshooting.

Last updated on