Short answer: to add an AI chatbot to WordPress with your own Groq key, you install a chat plugin, get a free API key from Groq, paste that key into the plugin, and fill in a short knowledge base about your business. From then on, the chat widget on your site answers visitors using AI — and because the key is yours, you’re in control of the usage, not paying a monthly SaaS fee per conversation. Below is the full step-by-step, using ChatCubo, our own WordPress plugin built for exactly this.
Most “AI chatbot” services for websites charge a recurring fee and run the AI on their servers. Bringing your own key flips that: you connect WordPress directly to a fast, low-cost (often free) AI provider and keep control of the account. Here’s how to set it up.
Why add an AI chatbot to your WordPress site?
Because it answers visitors instantly, day and night, without you being online. A good chatbot can explain what you do, answer common questions (“do you ship to my area?”, “how much does X cost?”), and point people to the right page — which means fewer lost leads and less repetitive email. The key is that it should answer from your real business information, not make things up. That’s what a knowledge base is for.
What is a Groq API key, and why bring your own?
Groq is an AI provider that runs large language models (like Llama 3.3 and GPT-OSS) extremely fast, and it offers a free API key with a generous free tier. An API key is just a secret token that lets your site talk to Groq’s models. “Bring your own key” means the plugin uses your Groq account instead of a middleman’s, so you’re not paying a per-conversation markup and you can see your own usage. For most small business sites, the free tier is more than enough.
What you need
- A WordPress site where you can install a plugin.
- A free Groq account and API key (created in a couple of minutes at Groq’s console).
- The ChatCubo plugin installed on your site.
- A few sentences describing your business (your knowledge base).
Step by step: add an AI chatbot to WordPress with your Groq key
1. Install the plugin. Add ChatCubo to your WordPress site and activate it.
2. Get your free Groq API key. Create a free account at Groq’s developer console, generate an API key (it starts with gsk_), and copy it.
3. Paste the key into the plugin. In ChatCubo’s settings, paste your Groq API key and pick a model (for example a Llama 3.3 or GPT-OSS model). Save.
4. Fill in your knowledge base. Write a short description of your business: what you offer, your hours, your area, your prices or a link to them, and any FAQs. The chatbot uses this to answer accurately instead of guessing.
5. Set the name and avatar. Give the assistant a name and an avatar so it feels like part of your brand.
6. Test it and go live. Open your site, ask the widget a few real questions, and tweak the knowledge base if any answer is off. That’s it — your WordPress site now has an AI chatbot running on your own key.
What can the chatbot answer?
Whatever you put in the knowledge base, plus general phrasing help from the AI. If you tell it your services, prices, hours and policies, it can answer questions about them in natural language, in the visitor’s own words. It won’t know things you didn’t give it, which is exactly what you want for a business assistant — accurate, on-brand answers rather than invented ones.
Free vs Pro: what’s included
| Feature | Free | Pro |
|---|---|---|
| AI chat with your Groq key | Yes | Yes |
| Knowledge base | Yes | Yes |
| Custom name & avatar | Yes | Yes |
| Conversation memory | — | Yes |
| Custom colors / branding | — | Yes |
| WhatsApp hand-off | — | Yes |
| Auto-open & lead capture (email, CSV, Calendly) | — | Yes |
The free version is a complete, working AI chatbot: chat powered by your Groq key, a knowledge base, and a custom name and avatar. The Pro version adds conversation memory, full color/branding control, a WhatsApp hand-off, auto-open and lead capture (email, CSV and Calendly) for turning chats into contacts.
Does it cost money to run?
The plugin’s free version is free, and Groq’s API has a free tier, so a typical small business site can run the chatbot at no cost. If your traffic is high enough to exceed Groq’s free limits, you pay Groq directly for what you use — and because it’s your own key, there’s no per-conversation surcharge from a third party. You stay in control of the account and the spend.
Is it safe?
Yes. Your Groq key is stored in your own WordPress site and used only to send the visitor’s question to Groq and return the answer. Because you bring your own key, the AI account is yours — you can rotate or revoke the key anytime from Groq’s console. The chatbot answers from the knowledge base you provide, so you control what it says about your business.
Frequently asked questions
Can I add an AI chatbot to WordPress for free?
Yes. ChatCubo’s free version gives you an AI chat widget powered by your own Groq key, plus a knowledge base and a custom name and avatar. Groq’s API also has a free tier, so a small business site can run it at no cost.
Do I need to know how to code?
No. You install the plugin, paste your Groq API key, and write a few sentences about your business. No coding required.
What is “bring your own key”?
It means the chatbot uses your own Groq API account instead of a reseller’s. You get direct pricing (including Groq’s free tier) and full control of the key, which you can revoke anytime.
Will the chatbot make things up?
It answers from the knowledge base you give it, so the more complete and accurate that is, the better its answers. It’s designed to help visitors with your real business information, not to invent facts.
Can it capture leads or send people to WhatsApp?
Lead capture (email, CSV, Calendly), a WhatsApp hand-off, conversation memory and custom branding are in the Pro version. The free version focuses on answering visitors.
Add it to your site
ChatCubo is our own WordPress plugin, built to add an AI chatbot to your site using your own Groq key — no monthly SaaS fee per conversation. See ChatCubo →
Want us to set it up, write the knowledge base, or build a custom AI assistant for your workflow? 👉 Message us on WhatsApp — we build WordPress plugins and AI integrations and we’re happy to help.
