Skip to content
AnTalkChat

Add an AI chat assistant to WordPress in five minutes

Two ways to add the AnTalkChat widget to WordPress, with a small plugin or in your theme, and how to check it works.

AnTalkChat team 2 min read
Integrations

Adding AnTalkChat to a WordPress site takes one script tag and no coding. This guide shows the two common ways: with a small plugin, or in your theme.

Before you start

  1. Your assistant has content and is published.
  2. Your website's address is listed in the assistant's allowed websites (domains). The widget works only on the addresses you list, so nobody can put your assistant on their own site.
  3. Copy the embed snippet from the assistant's install section. It looks like this:
<script src="https://chatbot.bitbyte.site/widget/v1.js" data-assistant="ast_pub_YOUR_ID" async></script>

Option 1: With a code plugin (recommended)

  1. In WordPress, go to Plugins → Add New and install a plugin that adds code to your site's footer, for example "WPCode".
  2. Create a new snippet, choose to insert it in the footer on the whole site.
  3. Paste your snippet, activate it and save.

This way the widget stays when you update or change your theme.

Option 2: In your theme

  1. Go to Appearance → Theme File Editor (use a child theme if you have one).
  2. Open footer.php and paste the snippet just before </body>.
  3. Save.

Theme updates can replace footer.php. If you use this option, add the snippet again after a theme update, or use a child theme.

Check that it works

Open your website in a private browser window. The chat button appears in the corner you chose. If it does not:

  • Check that the assistant is published.
  • Check that your site's address is in the assistant's allowed websites, including www. if your site uses it.
  • Clear your caching plugin's cache.

Make it yours

Colours, the corner, the launcher text and every visitor-facing text are set in the assistant's Branding and Texts tabs. Changes appear on your site right away, without touching WordPress again.

Keep reading

All posts →
Security

How AnTalkChat protects your data

Workspaces kept apart in the database, visitor details for the Owner only, no training on your content, and data you can export or delete.

3 min read

Give your website an assistant that knows your business

Add your web pages and notes, paste one line on your site, and let visitors get answers and book appointments any time of day.

Free for 30 days · No credit card required · Live in minutes