WordPress AI Chatbot

Use the official Nivon plugin from WordPress.org to add an AI support agent to your WordPress site, without editing theme files or writing code.

WordPress logo

What you can do

Official WordPress.org plugin

Install Nivon from the WordPress Plugins screen like any other plugin.

No theme edits

The plugin loads the chat widget for you.

Deferred loading

The widget script loads in the footer with deferred loading, so it doesn't block page rendering.

Answers from your content

Your agent answers from the website pages, docs, and files in its knowledge base.

Install Nivon on WordPress in three steps

You need a Nivon account with an agent and admin access to your WordPress site.

01

Install the plugin

Search for Nivon in Plugins > Add New, then install and activate it.

02

Copy your keys

In your agent's Integration tab, copy the publish key and chatbot ID, and add your domain to allowed domains.

03

Paste and save

Go to Settings > Nivon Options, paste both values, and click Save Changes.

FAQs

A WordPress AI chatbot from Nivon answers your visitors' questions using your own website pages, docs, and files. Install the free Nivon plugin, paste your publish key and chatbot ID, and the chat widget appears on your site. No theme edits or code needed.

How to add an AI chatbot to WordPress

Step 1: Install and activate the plugin

In your WordPress admin, go to Plugins > Add New, search for Nivon, and click Install, then Activate. You can also download it from WordPress.org.

Step 2: Copy your publish key and chatbot ID

  1. Log in to the Nivon dashboard, open your agent, and go to the Integration tab.
  2. Copy the data-publish-key and data-chatbot-id values from the script snippet.
  3. Add your WordPress site's domain to the agent's Allowed domains list.

Step 3: Paste your keys and save

In WordPress, go to Settings > Nivon Options, paste both values, and click Save Changes. Visit your site to see the chat widget.

Prefer code? Add the snippet to functions.php

If you'd rather not use a plugin, add this to your child theme's functions.php and replace the placeholders with your keys. The Integration tab shows this snippet with your keys filled in. For other platforms, see Installation Guides.

functions.php
function add_nivon_chatbot() {
  echo '<script src="https://assets.nivon.ai/agent/widget.min.js"
    data-publish-key="YOUR_PUBLISH_KEY"
    data-chatbot-id="YOUR_CHATBOT_ID"
    defer></script>';
}
add_action('wp_footer', 'add_nivon_chatbot');

Use cases

  • Business and service sites: answer questions about services, pricing, and booking around the clock.
  • WooCommerce and online stores: handle shipping, returns, and product questions from your policies and product pages.
  • Blogs and membership sites: help readers find the right article or answer account questions.

Troubleshooting

The chatbot isn't showing up

  • Check that both the publish key and chatbot ID are saved in Settings > Nivon Options.
  • Check that your site's domain is in the agent's allowed domains list.
  • If you use a caching plugin, clear the cache and reload the page.

The chatbot gives wrong or thin answers

Add more sources to the knowledge base, such as your website, docs, or files from Google Drive or Notion, then test in Test Agent.

Get started

Great customer support starts with Nivon's AI chatbot

Build an AI customer support chatbot that learns your product, answers customers instantly in your team's voice, and is there for them 24/7.

Start for free
  • Set up in minutes
  • 95+ languages supported
Nivon dashboard for creating an AI chatbot agent