8 min read

How to Add an AI Chatbot to Your Website in 5 Minutes

Adding an AI chatbot to your website takes under 5 minutes with GPTMate. You create an account, train the AI on your business content, customise the widget's appearance, and paste a single line of code into your site. No coding skills, no developers, no complex setup. This step-by-step guide walks you through the entire process for WordPress, Shopify, Wix, Squarespace, and custom-built websites.

Before You Start: What You Need

To add GPTMate to your website, you need two things: a website where you can edit the HTML (or access code injection settings), and the URLs of pages you want the AI to learn from. That is it. GPTMate handles everything else — the AI training, the widget design, the hosting, and the conversation handling. There is no software to install, no servers to configure, and no databases to manage.

Step 1: Create Your GPTMate Account

Visit gptmate.ai and create an account. Choose from four monthly visitor allowances, starting at £49 per month, with all non-voice features included and unlimited non-voice capacity. Voice is optional, from an additional £100 per month for 100 minutes. Annual billing saves 30%. Allowances trigger warnings only, with no automatic extra charges. Prices exclude VAT. There is no free trial. The first monthly fee or discounted annual fee is collected upfront by Instant Bank Pay, with renewals by Direct Debit. Enter your email, set a password, and verify your email address.

Step 2: Create and Train Your AI Expert

Once logged in, click "Create New GPT" to build your AI expert. Give it a name (e.g., "Sales Assistant" or your business name) and start training it. GPTMate offers several training methods:

URL crawling: Enter your website URLs and GPTMate automatically extracts content including product descriptions, service pages, pricing information, FAQs, and about pages. This is the fastest way to train your AI — paste in 5-10 of your most important URLs and GPTMate builds a comprehensive knowledge base in seconds.

Product catalogue: Add products individually with names, descriptions, prices, images, and purchase links. GPTMate places products at the top of the AI's knowledge base, ensuring it recommends relevant products during conversations. Each product can have a custom "Add to Basket" button text and link.

CSV bulk import: If you have a large product catalogue, upload a CSV file with up to 2,000 products at once. GPTMate processes them in batches and uses SKU-based duplicate detection to update existing products automatically.

Step 3: Customise the Widget Appearance

Navigate to the Branding tab to customise how your chat widget looks. GPTMate lets you upload your business logo, set your brand colours (primary and background), write a custom welcome message, and choose which data collection fields to display. The live preview shows exactly how the widget will appear on your website.

Take time to write a compelling welcome message. Instead of "Hi, how can I help?" try something specific to your business: "Welcome to [Business Name]. I can help you find the right product, answer questions about our services, or get you a quote. What are you looking for today?" Specific greetings increase engagement by 23% compared to generic ones.

Step 4: Copy the Embed Code

Go to the Embed tab in your GPTMate dashboard. You will see a single line of JavaScript code that looks like this: a script tag with your unique assistant ID. Click the copy button to copy it to your clipboard. This code is unique to your AI expert and connects the widget on your website to your trained knowledge base.

Step 5: Paste the Code Into Your Website

Where you paste the code depends on your website platform. Here are instructions for the most popular platforms:

Adding GPTMate to WordPress

Option 1: Install the "Insert Headers and Footers" plugin (or "WPCode"), go to Settings, and paste the GPTMate embed code in the Header section. Click Save. The widget will appear on every page of your WordPress site. Option 2: Go to Appearance, then Theme File Editor, open header.php, and paste the code before the closing head tag.

Adding GPTMate to Shopify

Go to Online Store, then Themes. Click the three-dot menu and select "Edit Code." Open the theme.liquid file and paste the GPTMate embed code just before the closing body tag. Click Save. The widget will appear across your entire Shopify store, including product pages and checkout.

Adding GPTMate to Wix

Go to Settings in your Wix dashboard, click "Custom Code" under Advanced, and click "Add Custom Code." Paste the GPTMate embed code, set it to load on "All pages" and place it in the "Body - end" position. Click Apply.

Adding GPTMate to Squarespace

Go to Settings, click "Code Injection" under Advanced, and paste the GPTMate embed code in the Footer section. Click Save. Note: Code Injection is available on Squarespace Business and Commerce plans.

Adding GPTMate to a Custom Website

If you have a custom-built website, paste the embed code directly into your HTML file. The recommended position is just before the closing body tag. The script loads asynchronously, so it will not affect your page load speed. If you use a templating system, add it to your base template so it appears on every page.

What Happens After Installation

Once the embed code is on your site, the GPTMate widget appears in the bottom-right corner. Visitors see your custom welcome message and can start a conversation immediately. The AI responds based on your trained content — answering product questions, collecting contact details, qualifying leads, and guiding visitors toward purchase. All conversations appear in your GPTMate dashboard where you can review transcripts, see collected lead data, and track engagement metrics.

If you have connected Zoho CRM or HubSpot, qualified leads are automatically pushed to your CRM with full conversation context. Your sales team receives pre-qualified leads ready for follow-up, not cold form submissions.

Tips for Getting the Most Out of Your AI Chatbot

Train on your best content. Start with your most visited pages — product pages, pricing, FAQs, and service descriptions. The more relevant content GPTMate has, the better its responses will be. You can always add more training URLs later.

Review conversations weekly. Check your GPTMate dashboard to see what visitors are asking. If the AI cannot answer a question, it means there is a gap in your training content. Add that information and the AI improves immediately.

Enable data collection. Configure GPTMate to collect email addresses and phone numbers during conversations. The AI asks for this information naturally, not as a form gate. This turns anonymous visitors into identifiable leads.

Explore more ways to optimise your setup in our article on AI sales funnel optimization, or compare GPTMate with alternatives in our best AI chat widgets for small businesses guide.

Frequently Asked Questions

How do I add an AI chatbot to my website?

To add an AI chatbot to your website using GPTMate: 1) Create a free account at gptmate.ai, 2) Create your AI expert and train it by entering your website URLs, 3) Customise the widget's appearance to match your brand, 4) Copy the embed code and paste it into your website's HTML. The entire process takes under 5 minutes.

Do I need coding skills to add GPTMate to my website?

No. Adding GPTMate requires pasting a single line of JavaScript code into your website. If you use WordPress, Shopify, Wix, or Squarespace, you can add it through the platform's built-in code injection or custom HTML features — no developer needed.

Can I add GPTMate to a WordPress site?

Yes. In WordPress, go to Appearance > Theme Editor > header.php (or use a plugin like Insert Headers and Footers) and paste the GPTMate embed code before the closing </head> tag. The widget will appear on all pages immediately.

Can I add GPTMate to a Shopify store?

Yes. In Shopify, go to Online Store > Themes > Edit Code > theme.liquid and paste the GPTMate embed code before the closing </body> tag. Alternatively, use the Custom Pixels feature in Settings > Customer Events.

How does the AI learn about my business?

GPTMate crawls the URLs you provide and extracts product information, service descriptions, pricing, FAQs, and other content. You can also add products manually with images and pricing. The AI only responds based on this trained content — it never makes up information.

Will the chatbot slow down my website?

No. GPTMate loads asynchronously, meaning it does not block your page from rendering. The widget script is lightweight (under 50KB) and loads after your page content, so it has no measurable impact on page speed or Core Web Vitals.

Add GPTMate to Your Website in 5 Minutes

No coding required. Choose from four monthly visitor allowances, starting at £49 per month, with all non-voice features included and unlimited non-voice capacity. Voice is optional, from an additional £100 per month for 100 minutes. Annual billing saves 30%. Allowances trigger warnings only, with no automatic extra charges. Prices exclude VAT. There is no free trial. Create your AI sales expert today.

Get Started

*GPTMate prices exclude VAT.