# WordPress and WooCommerce

https://flowhelp.ai/docs/install/wordpress

You paste the flowhelp snippet into your site's footer. You do not need a flowhelp plugin. There are three ways, and the one you pick depends on your theme.

## Before you start

Copy the line from the dashboard: **Settings → Installation**, card “Snippet”. It looks like this and holds your assistant's key.

```html
<script async src="https://cdn.flowhelp.ai/loader.js" data-key="pk_live_…"></script>
```

Also add your site's address under **Settings → Installation → “Allowed domains”**. See [Allowed domains](https://flowhelp.ai/docs/install/domains).

## Three ways to paste the line

**WPCode plugin**

**Works with any theme.** WPCode is a free plugin from the WordPress directory for adding code. It is not a flowhelp plugin.

1. Go to **Plugins → Add Plugin**, search for “WPCode”, click **Install Now**, then **Activate**.
2. Open **Code Snippets → Header & Footer**.
3. Paste the line into the **Footer** field and click **Save Changes**.

The line lands on every page of your store, checkout included, and stays when you change themes.

**Footer widget (classic theme)**

**No plugin needed.** This is for classic themes such as Storefront. You have one if the **Appearance** menu has a **Widgets** item.

1. Open **Appearance → Widgets** and expand one of the footer areas, for example **Footer Column 1**.
2. Click **+**, search for “HTML” and choose the **Custom HTML** block.
3. Click **Edit HTML**, paste the line and click **Update**, then **Update** at the top of the screen.

The line lands on every page of your store, checkout included.

**Site editor (block theme)**

**No plugin needed.** This is for block themes such as Twenty Twenty-Five. You have one if the **Appearance** menu has **Editor** and does not have **Widgets**.

1. Open **Appearance → Editor → Patterns** and choose **Footer** under template parts.
2. Open the footer your site uses and add a **Custom HTML** block.
3. Click **Edit HTML**, paste the line, click **Update** and finally **Save**.

> With the site editor: in block themes, the WooCommerce checkout page has its own template without a footer. The line does not reach it, so there is no chat at checkout. If you want the chat there too, choose WPCode.

## Elementor and other page builders

The widget works with a site built with Elementor. Put the snippet in the page footer (`wp_footer`), for example with a custom-code plugin. The styles of your site do not change the chat window, and the chat window does not change your site.

## Check that it works

- Open your store in a private browser window. A chat button appears in the corner of the page.
- In the dashboard, under **Settings → Installation**, the “Widget status” card shows “Live” and your store's domain.
- No chat, and your store uses a caching plugin? Clear its cache and reload the page.

If the button is still missing, see [The widget doesn't show up](https://flowhelp.ai/docs/install/troubleshooting).

## What the assistant knows about your store

The assistant answers from what it reads on your pages. It has no access to your WooCommerce database.

**It knows:**

- Your home page and store policies first (shipping, returns and terms), then your contact page and other key pages, then products and categories, up to your plan's page limit.
- A product's price, description and availability as of the last time it read the product page. How often it rereads your store depends on your plan. See [Refreshing knowledge](https://flowhelp.ai/docs/knowledge/refresh).
- It answers in your customer's language, even when your store is in one language only, and links to the page the answer came from.

**It does not know:**

- Orders, customer accounts or live stock levels.
- It does not take orders or payments.
- It cannot track a parcel. The customer asks you, through the contact form or by handing the conversation to a person.

## Questions

**Do I need a flowhelp plugin?** No. One line in your site's footer is enough. WPCode is a free plugin for adding code, and the other two ways need no plugin at all.

**Will the chat slow down my store?** The line and the chat window load asynchronously, so they do not hold up your page.

**Where do I find the line to paste?** In the dashboard, under **Settings → Installation**. The line contains your assistant's key.

**How do I remove the chat from my store?** Delete the line from the place where you pasted it and save.

## See also

- [Add the widget to your site](https://flowhelp.ai/docs/install/snippet)
- [Allowed domains](https://flowhelp.ai/docs/install/domains)
- [The widget doesn't show up](https://flowhelp.ai/docs/install/troubleshooting)

Last changed: November 24, 2026
