Add ChatMate to your website with a code editor

This guide adds the ChatMate chat widget to your website by editing the file on your computer — 5 steps, about 5 minutes.

  1. Open your site's folder in VS Code (or your editor) and open index.html.

    Picture coming soon · step 1The words above are the whole instruction — the picture is a drawing of this screen, not a step of its own.
  2. Press Ctrl+F (Mac: ⌘F) and search for </body>.

    Picture coming soon · step 2The words above are the whole instruction — the picture is a drawing of this screen, not a step of its own.
  3. Paste the ChatMate code on the empty line just above </body>. Copy the ChatMate code from the Add the code screen in ChatMate.

    Picture coming soon · step 3The words above are the whole instruction — the picture is a drawing of this screen, not a step of its own.
  4. Press Ctrl+S (Mac: ⌘S).

    Picture coming soon · step 4The words above are the whole instruction — the picture is a drawing of this screen, not a step of its own.
  5. Publish it the way you usually publish — FTP, your host's uploader, or your deploy tool.

    Picture coming soon · step 5The words above are the whole instruction — the picture is a drawing of this screen, not a step of its own.

Check it worked

open your site in a new tab; the chat button appears in the corner within a minute.

Stuck?

Press "I'm stuck" in ChatMate and tell us the step number.