# How to add WhatsApp chat to WordPress (button, live chat or AI chatbot)

> Three ways to add WhatsApp chat to WordPress: a click-to-chat button, a live chat plugin, or an AI WhatsApp chatbot. Step-by-step setup for the AI option.

- URL: https://aisk.chat/blog/how-to-add-whatsapp-chat-to-wordpress/
- Published: 2026-11-01
- Category: Guides
- Author: Aisk Team (Aisk.chat)

## Quick answer

You can add WhatsApp chat to WordPress as a tap-to-chat button, a live inbox, or an AI chatbot that answers from your site. Aisk is the AI option: connect WhatsApp through Twilio, reuse your knowledge base and WooCommerce data, and keep every conversation in one dashboard.

Adding **WhatsApp chat to WordPress** usually means one of three things, and people mix them up in search results. You can put a button that opens your phone number, run a live inbox so a person types every reply, or connect an **AI WhatsApp chatbot** that answers from your own site.

This guide compares the three, then walks through the AI setup with [Aisk](https://aisk.chat/).

## Pick the right kind of WhatsApp chat

### 1. Click-to-chat button

A floating icon or a link like `https://wa.me/15551234567` opens WhatsApp with a pre-filled message. No AI, no catalog, no tickets.

**Use it when** you want every conversation yourself and volume is low.

**Skip it when** the same five questions arrive after hours, or you sell products and cannot sit on the phone.

### 2. Live chat / helpdesk that includes WhatsApp

Hosted tools put WhatsApp into a shared team inbox. A person still writes the answers. AI, if it exists, is usually a paid add-on with message caps.

**Use it when** you already have staff online and need assignment, notes and a helpdesk more than you need a bot.

### 3. AI WhatsApp chatbot

The customer messages your WhatsApp number. The plugin reads the question, finds the answer in your pages, products or orders, and replies. A human only steps in for the rest.

**Use it when** most questions already have answers on your site. That is what this walkthrough sets up.

Store-specific detail: [WhatsApp chatbot for WooCommerce](https://aisk.chat/blog/whatsapp-chatbot-woocommerce/). Both channels together: [WhatsApp and Telegram](https://aisk.chat/blog/whatsapp-telegram-woocommerce/).

## What you need for the AI option

- WordPress 5.0+ (WooCommerce only if you want product search and order tracking)
- The free [Aisk plugin](https://wordpress.org/plugins/aisk-ai-chat/)
- An OpenAI API key, with a monthly budget set in OpenAI
- A [Twilio](https://www.twilio.com/whatsapp) account and a WhatsApp sender (sandbox is fine for a first test)

## Step 1: Install Aisk and connect OpenAI

1. In WordPress, go to **Plugins → Add New**, search **Aisk**, install and activate.
2. Create a key at [platform.openai.com](https://platform.openai.com/api-keys). Add a payment method and a usage limit.
3. Paste the key into **Settings → Aisk** and save.

Keep the key private. [What you actually pay](https://aisk.chat/blog/openai-costs-ai-chatbot/).

## Step 2: Train the chatbot on your site

Click **Generate Embeddings**. Aisk indexes the pages, posts and (if you sell) WooCommerce products you selected.

Then fill gaps under **External Knowledge**:

- PDFs — size guides, manuals, warranty terms
- External URLs — a help center that does not live in WordPress
- Custom text — shipping rules, opening hours, "how to start a return"

If an answer is wrong later, fix the page and regenerate. [How to train an AI chatbot](https://aisk.chat/blog/train-ai-chatbot-on-your-website/).

## Step 3: Confirm the website widget first

Open your site in a private window and ask:

1. A question your homepage should already answer
2. A product search in a customer's words (WooCommerce)
3. An order number and email for a test order
4. Something the site does *not* cover, to check the fallback

WhatsApp will use the same brain. If the widget is guessing, connecting Twilio will not fix it.

## Step 4: Connect WhatsApp through Twilio

1. Create a Twilio account and set up a WhatsApp sender.
2. In **Settings → Aisk**, open the WhatsApp section and paste your Twilio credentials.
3. Copy the webhook URL Aisk displays into Twilio's WhatsApp configuration.
4. Message the Twilio WhatsApp number from your phone.

No reply? Check the webhook, the OpenAI key, and that embeddings exist. Twilio's debugger will show whether the inbound message reached them.

## Step 5: Decide what happens when the bot can't answer

Add your support email or phone in Aisk, and enable **support tickets**. Tickets from WhatsApp land in the same dashboard as website chats. Complaints, refunds and payment questions should go to a person — say so in your welcome or fallback text.

## Step 6: Tell customers the number exists

A chatbot nobody messages is a setting, not a channel. Add the WhatsApp number to:

- Your contact page and footer
- Order confirmation emails ("Questions? Message us on WhatsApp")
- The website chat welcome message

Do not buy ads for the number until you have tested after-hours questions yourself.

## Costs to plan for

- **Plugin:** Aisk has no paid tier. [Features](https://aisk.chat/features/).
- **OpenAI:** per-message replies plus occasional embeddings.
- **Twilio:** WhatsApp message fees. Read their current pricing before you leave the sandbox.

WhatsApp's rules on unsolicited outbound messages still apply. This setup is for customers who write *to you*.

## If you only want the button

A chatbot is optional. For a plain click-to-chat link:

1. Get a number on [wa.me](https://wa.me/) — `https://wa.me/15551234567?text=Hi%2C%20I%20have%20a%20question`.
2. Add it to a menu item, a footer link, or a floating image in your theme or page builder.
3. Put hours next to it so people do not message into a void.

That is free and enough for a low-volume site. Move to the AI steps above when the same questions keep arriving after you have gone offline.

## Privacy

WhatsApp messages pass through Twilio; replies are generated with OpenAI. Name both in your privacy policy. Ours is on the [privacy page](https://aisk.chat/privacy/).

When you want the same assistant on Telegram as well, create a bot with @BotFather and paste the token. [Telegram chatbot for WordPress](https://aisk.chat/blog/telegram-chatbot-wordpress/). Setup reference: [docs](https://aisk.chat/docs/).

## Frequently asked questions

### How do I add WhatsApp chat to WordPress?

The simplest option is a click-to-chat button that opens WhatsApp with your number. For automatic answers, install Aisk, connect an OpenAI key, generate embeddings, then add your Twilio WhatsApp credentials and webhook in Settings → Aisk.

### What's the difference between a WhatsApp button and a WhatsApp chatbot?

A button opens a chat with you. A chatbot replies from your pages, products and orders without someone sitting on the phone. Use a button if you want every message yourself; use a chatbot for repetitive questions.

### Do I need WooCommerce to add WhatsApp to WordPress?

No. Aisk answers from your WordPress pages and PDFs on any site. WooCommerce is only required if you want product search and order tracking in the same chat.

### Is there a free way to add WhatsApp chat to WordPress?

A click-to-chat link is free. An AI WhatsApp chatbot with Aisk has no plugin fee; you pay Twilio for WhatsApp messages and OpenAI for replies.
