Add ChatMate to your website with GitHub

This guide adds the ChatMate chat widget to your website through your GitHub repository — 5 steps, about 5 minutes.

  1. In your repository, open your site's file — usually index.html in the top-level folder.

  2. Click the pencil icon at the top right of the file to open the editor.

  3. Press Ctrl+F and search for </body>.

  4. Paste the ChatMate code on the empty line just above </body>. Copy the ChatMate code from the Add the code screen in ChatMate.

  5. Click Commit changes…, then Commit changes. Your site rebuilds in about a minute.

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.