Integration Guide · Zero Coding Required

How to Embed ChatMate on Your Website?
Step-by-Step Guide

Works instantly on any website: WordPress, cPanel hosting, Shopify, Webflow, custom HTML, or FTP. Choose the easiest path for you!

Path 2 (Do It Yourself - DIY)

Embed It Yourself in 2 Minutes

No developer, or don't want to wait? No problem! You only need to paste a single line into your website footer. Zero programming knowledge needed.

What do you need to get started?

  • 1. Your ChatMate Embed Snippet: Sign in to your Dashboard, go to Widget Settings, and click Copy Code.
  • 2. Access to Your Website: Log in to your WordPress admin, or your hosting cPanel / File Manager / CMS.
Scroll down to step-by-step guides ↓

Choose Your Website Platform

Click on the platform running your website and follow the numbered steps!

1

Log In to Your WordPress Admin

Open your browser and navigate to your WordPress dashboard (typically yourdomain.com/wp-admin), then sign in with your credentials.

2

Install the Free "WPCode" Plugin

In the left admin menu, click on Plugins → Add New.

Search for WPCode (full name: WPCode – Insert Headers and Footers). Click Install Now, followed by the blue Activate button.

Tip: If you already use a custom code plugin (such as Header and Footer Scripts, Code Snippets, or Elementor Custom Code), you don't need a new plugin—feel free to use your existing one!
3

Open Header & Footer Settings

A new menu item appeared in your left dashboard: Code Snippets → Header & Footer. Click on it!

4

Paste the ChatMate Script into the Footer Box

Scroll down to the second text box labeled Footer. Simply click into the box and paste (Ctrl + V or Cmd + V) your ChatMate snippet:

<script src="https://chatmate.hu/chatmate.min.js" data-widget-id="YOUR_WIDGET_ID"></script>
5

Click Save Changes

At the top or bottom of the screen, click the blue Save Changes button.

You're all set! Open your website in a new tab: the ChatMate AI assistant is already floating in the corner greeting your visitors!
1

Log In to Your Hosting cPanel

Open the cPanel URL provided by your hosting company (e.g., cpanel.yourdomain.com or via GoDaddy, Hostinger, Bluehost, SiteGround client portal) and log in with your credentials.

2

Open File Manager

Under the Files category, click on File Manager. This displays your server's folder hierarchy.

3

Navigate to the public_html Folder

Double-click the public_html directory (on some servers named www or httpdocs). This is where your live website files reside.

4

Locate index.html or Your Footer Layout File

For standard static HTML websites, find index.html. (If your website runs on PHP, look for footer.php, layout.php, or master template).

Right-click the file and select Edit. Confirm the modal prompt to open the built-in code editor.

5

Find the </body> Tag and Paste the Code

Scroll to the very bottom of the file. Find the closing </body> tag (you can press Ctrl + F / Cmd + F to search).

Press Enter directly before the </body> tag, and paste your ChatMate script:

<!-- ChatMate AI Widget -->
<script src="https://chatmate.hu/chatmate.min.js" data-widget-id="YOUR_WIDGET_ID"></script>
</body>
6

Click Save Changes

In the upper right corner, click the blue Save Changes button.

Perfect! The file is saved on the server, and the chatbot is immediately live on your website!

For Shopify Stores:

  1. Log in to your Shopify Admin.
  2. Go to Online Store → Themes.
  3. Next to your active theme, click the three dots (...) → Edit code.
  4. In the left file tree, open Layout → theme.liquid.
  5. Scroll to the bottom, locate the </body> tag, and paste the ChatMate snippet directly above it.
  6. Click the Save button in the top right corner!

For Webflow Websites:

  1. In your Webflow Dashboard, click on Project Settings (gear icon).
  2. Click the Custom Code tab in the top navigation.
  3. Scroll down to the Footer Code input area.
  4. Paste your ChatMate snippet.
  5. Click Save Changes, then deploy by clicking Publish in the top menu!

Google Tag Manager (GTM):

  1. Open your container at tagmanager.google.com.
  2. Click Tags → New, and name it ChatMate AI Widget.
  3. Under Tag Configuration, choose Custom HTML.
  4. Paste your ChatMate <script> snippet into the HTML field.
  5. Under Triggering, select All Pages (Page View).
  6. Click Save, then click Submit & Publish in the top right to deploy live!

Custom HTML & Modern Frameworks (Next.js, Vite, React, Astro):

  1. Open your main HTML template or root layout (e.g., index.html, layout.jsx, _app.tsx).
  2. Insert the ChatMate script anywhere before the closing </body> tag:
<!-- ChatMate AI Widget -->
<script src="https://chatmate.hu/chatmate.min.js" data-widget-id="YOUR_WIDGET_ID" async></script>

The script loads asynchronously, will not block DOM rendering or slow down your page speed metrics.

1

Connect via FTP / SFTP

Open FileZilla, Total Commander, or Cyberduck. Connect to your web server using the FTP Host, Username, and Password provided by your hosting service.

2

Navigate to Your Website Directory

Double-click the public_html (or httpdocs / www) folder on the remote server.

3

Open index.html or Footer File for Editing

Right-click the file → Edit / View (in Total Commander, press F4). Open it with your preferred editor (VS Code, Notepad++, Sublime Text).

4

Paste Before </body> and Upload

Scroll to the bottom, paste the ChatMate script directly before </body>, save the file (Ctrl + S / Cmd + S), and confirm the upload prompt to overwrite.

Upload successful! Your website has updated immediately and the chatbot is live.

How to Verify That the Widget is Live?

After saving, your AI chatbot should immediately appear on your website. Follow these 3 simple steps to test:

1. Open an Incognito Window

Browsers often cache older page assets. Open a fresh Private / Incognito window (Ctrl + Shift + N or Cmd + Shift + N on Mac).

2. Hard Refresh the Page

Load your website and press Ctrl + F5 (on Mac: Cmd + Shift + R) to bypass cache and download the latest assets.

3. Test Your AI Assistant!

Look at the floating round AI badge in the bottom corner: hover over it, click it to open the bubble, and send your first test message!

Widget not showing up or need help with any step? Don't worry, our team is always here for you!

Email Us: info@kazomi.hu