Want ChatGPT or Google Gemini answering visitors on your WordPress site—not in a separate tab? You need three things: a chatbot plugin, an API key from OpenAI or Google, and your own content indexed so answers stay about your business.
This walkthrough uses Limb AI Chatbot. No code. Plan about 10–15 minutes for install, keys, and a first Learn run. We focus on a visitor-facing knowledge chatbot. If you only need a writing assistant inside the editor, read the difference first: ChatGPT plugin for WordPress.
What “add ChatGPT or Gemini to WordPress” means
ChatGPT.com and Gemini in the browser know the open web. They do not know your shipping page unless you paste it every time. A WordPress AI chatbot plugs the model into your site: visitors ask in a widget; the plugin retrieves matching text from your Knowledge Base; the model writes a reply from that context.
That pattern is often called RAG (retrieval-augmented generation). In Limb, retrieval is the Knowledge Base after you press Learn. Plain-language detail: How to train an AI chatbot on your WordPress website.
What you need
- A WordPress site (any modern theme)
- Limb AI Chatbot (free tier covers API key, Knowledge Base, and visitor chat)
- An API key from OpenAI or Google AI Studio (Gemini)—pick one to start
- About 10–15 minutes
You bring your own key (BYOK). The plugin can be free; the AI provider bills usage. Typical light traffic is often a few dollars a month—see WordPress AI chatbot cost.
Step 1: Install Limb AI Chatbot
In WordPress:
- Go to Plugins → Add New
- Search for Limb Chatbot (or install from the WordPress.org page)
- Install and activate
You should see Limb in the admin menu. Next: connect an AI provider.
Step 2: Get a ChatGPT or Gemini API key
You only need one key to go live. Start with the provider you already use, or pick Gemini if you want a cheap Flash model for testing.
Option A: OpenAI (ChatGPT models)
- Open platform.openai.com/api-keys and sign in
- Create a new secret key (name it something like “WordPress chatbot”)
- Copy the key immediately—you will not see it again
- Confirm billing is set up in OpenAI if you want more than free-trial limits
Screenshot placeholder — OpenAI create API key screen:
TODO: OpenAI API keys page — Create new secret key
Option B: Google Gemini
- Open aistudio.google.com/api-keys
- Click Create API key
- Pick a Google Cloud project (or create one)
- Copy the key
Gemini often has a free tier useful for testing. Production traffic should use billing so you do not hit hard daily caps mid-day. Provider-by-provider notes: API keys and external services.
Screenshot placeholder — Google AI Studio API keys:
TODO: Google AI Studio — Create API key
Step 3: Connect the key in Limb (AI Settings)
- In WordPress, open Limb → AI Settings
- Choose the provider that matches your key (OpenAI or Google Gemini)
- Paste the API key
- Pick a model (start with a fast, lower-cost option for testing; switch later if you need stronger answers)
- Save
Limb also supports Anthropic (Claude), xAI (Grok), DeepSeek, and OpenRouter if you change providers later—same Settings screen, different key.
TODO: screenshot — Limb AI Settings (provider + API key)
Step 4: Train the chatbot (Knowledge Base → Learn)
A key alone is not enough. Until you train, the model has little of your site’s facts.
- Open Knowledge Base
- Add the pages and posts that hold real answers (FAQ, shipping, pricing, docs, product pages)
- Optional: Q&A entries, manual text, Media files, URLs, or a sitemap
- Press Learn and wait until indexing finishes
For WordPress groups, turn on Auto if you want edits to relearn on save. Full source list and retraining tips: train guide and Knowledge Base docs.
TODO: screenshot — Limb Knowledge Base + Learn
Step 5: Set tone with instructions (optional but worth it)
Use Limb’s system / custom instructions to brief the chatbot like a new hire: who you are, what to keep short, when to hand off, and contact details that must stay exact.
Example starter:
You are the support assistant for [Business name].
Answer from the Knowledge Base. Keep replies under ~100 words when possible.
If you do not know, say so and offer [email / contact page].
Never invent shipping rates, prices, or legal terms.
Add your hours, contact email, and one or two policy one-liners visitors ask every day. Fix weak answers by editing the source page first, then Learn again—not by arguing with the chatbot in production.
Step 6: Test in Playground, then show the widget
- Open Playground in the Limb admin
- Ask the questions customers already email you
- Adjust sources or instructions until answers feel trustworthy
- Optionally tune colors and welcome message under appearance settings
- Confirm the floating widget (or shortcode) on a front-end page
TODO: screenshot — Limb Playground test chat
Free vs Pro (so you do not get surprised)
Limb Free is enough for many informational sites: BYOK, Knowledge Base, Learn, and visitor chat.
Pro only: Live Agent handoff, WooCommerce product search / cart / order help, custom logo, and deeper Knowledge Base field sources. Confirm current plans on pricing. Store-focused path: AI chatbot for WooCommerce.
Related guides
Continue with these guides:
- Best free AI chatbot plugins comparison (2026)
- How to train an AI chatbot on your WordPress website
- Claude vs Gemini vs ChatGPT for WordPress
- OpenRouter for WordPress AI chatbot
- What is a RAG chatbot for WordPress?
FAQ
How long does setup take?
Usually 10–15 minutes for key + first Learn on a small site. Large libraries take longer to index. Polishing instructions is ongoing.
How much does ChatGPT or Gemini cost with WordPress?
You pay the AI provider by usage. Light visitor chat often lands near a few dollars a month; busy sites and larger models cost more. Breakdown: how much a WordPress AI chatbot costs.
Will this slow my site down?
The chat UI loads with your pages; the AI reply runs against the provider API. Indexing work happens when you Learn, not on every front-end page view.
Do I need ChatGPT flows or decision trees?
No. Train content, set short instructions, and test. Fix source pages when answers miss.
Can I switch between ChatGPT and Gemini later?
Yes. Change provider and key in AI Settings. Re-test in Playground after you switch models.
Is there a free way to start?
Yes. Install Limb free, connect a key, Learn your best pages, and use visitor chat. Upgrade only when you need Live Agent, WooCommerce store tools, or Pro branding. More context: best free AI chatbot for WordPress in 2026.
That is the whole path: install Limb, paste an OpenAI or Gemini key, Learn your content, test in Playground, go live. For the wider “should I even use an AI chatbot?” view, start with the practical WordPress AI chatbot guide. If you are still comparing free plugins, see the 2026 free AI chatbot plugins comparison.