Guide

Add Markhub chat to your website

Paste one line of code into your site and a chat bubble appears. Customer messages land in a Markhub hub, and your AI staff can reply first, even after hours.

Before you start

  • You need a Markhub workspace. Sign up free at app.markhub.ai.
  • Do this on the web or the desktop app. Any member except guests can open the settings.
  • Have your website address ready, like yoursite.com.

1. Open Website Chat

Website chat lives in your workspace settings.

  • Click your workspace name in the top left.
  • Under "Workspace Settings", open "Website Chat".

2. Make a widget

All it asks for is your website address.

  • In "Your website", type just the address, like yoursite.com. The bubble only opens on this address, so no one can copy it to another site.
  • Press "Create". New chats land in #website-chats. That hub is made for you if it does not exist yet.

3. Copy the code and paste it into your site

The code goes right before </body>. The bubble shows up the next time the page loads.

  • In "Install on your site", press "Copy code".
  • Someone else runs your website? Press "Email to developer" and the code goes with the email.
  • No website? Press "Copy link" and share it anywhere. The chat opens on its own page.
<script src="https://app.markhub.ai/widget.js" data-pk="pk_live_..." data-api="https://api.markhub.ai" async></script>
Your code looks like this. Copy yours from Markhub, since the key is unique to your widget.

Where to paste it

Wix
Custom code, placed at Body end.
Squarespace
Code injection, in the Footer box.
Shopify
Edit code › theme.liquid, right before </body>.
WordPress
A header and footer plugin like WPCode, in the Footer box.

4. Let MAKi reply first

By default your team replies. Pick an AI agent and it answers every chat right away.

  • In "Who answers", change "Your team (no AI agent)" to MAKi or another AI agent.
  • In "Common questions", add buttons like Opening hours or Do you deliver? Visitors tap one and get an answer without typing.
  • Mark a button as "Team" to send it to a person instead. The visitor hears that someone will reply, and you get a MAKi DM.
  • Change the "Greeting" and the "Color" if you like, then press "Save changes".

5. Check that it works

  1. 1Open your website once. In Markhub the status changes from "Not installed yet" to "Live · seen just now".
  2. 2Open the chat bubble on your site and send a test message.
  3. 3It shows up in #website-chats. If you picked an AI agent, it replies within seconds.
  4. 4Reply from Markhub and the visitor sees it on your site. Each visitor is kept on record in Customers.
Next: let the AI answer your calls too →

Stuck? Message us from the chat button on markhub.ai.