For WordPress websites

WordPress chat widget with AI

Add an AI chat widget to your WordPress site with one code snippet. It answers visitor questions around the clock from your own pages, documents and FAQs. Start with 50 free AI replies per month.

  • Answers from your content
  • Classic and block themes
  • No credit card required
yourblog.com
AI AssistantOnline
Which of your courses is best for beginners?
Start with Photography Basics. It has no requirements and covers camera settings step by step.
How long do I have access?
You keep access for 12 months after you buy the course.
Type a message...

One snippet adds the chat widget to WordPress

You set up the widget in the Asyntai dashboard. WordPress only needs the code.

  1. 1
    Create a free accountAdd your website address. The AI reads your pages.
  2. 2
    Style the widgetPick the colors, position and greeting that suit your WordPress theme.
  3. 3
    Copy the embed codeYour dashboard shows the code with your own widget ID.
  4. 4
    Paste it into WordPressUse one of the three methods below. Then open your site in a private window and check the chat button in the bottom right corner.
Embed code
<script>(function(){var l=function(){var s=document.createElement("script");s.src="https://widget.asyntai.com/static/js/chat-widget.js";s.async=true;s.setAttribute("data-asyntai-id","YOUR_WIDGET_ID");document.head.appendChild(s)};if(document.readyState==="complete"){l()}else{window.addEventListener("load",l)}})();</script>

Your dashboard fills in your widget ID. Full WordPress guide

Three ways to install it on WordPress

Pick the method that fits your theme. The plugin method works with all theme types.

A · Recommended

WPCode plugin

Free. The code stays in place when you update or change your theme.
  1. Go to Plugins, Add Plugin in your WordPress admin
  2. Search for WPCode, install it and activate it
  3. Go to Code Snippets, Header & Footer
  4. Paste your embed code in the Footer section and save
B

Theme file

For classic themes with a footer.php file.
  1. Go to Appearance, Theme File Editor
  2. Select your active theme and open footer.php
  3. Paste the code just before the closing </body> tag and save

Theme updates overwrite this file. Use a child theme, or the plugin method. Block themes have no footer.php, so use the plugin method there.

C

Elementor Pro

If you build your site with Elementor Pro.
  1. Go to Elementor, Custom Code
  2. Click Add New and set Location to <body> - End
  3. Paste your embed code
  4. Set Display Conditions to Entire Site and click Publish

Custom Code is an Elementor Pro feature. With the free version of Elementor, use the plugin method.

Not seeing the widget? Clear your browser cache and purge any caching plugin, such as WP Rocket or W3 Total Cache.

Why choose our WordPress chat widget

An AI assistant that knows your website and follows your rules.

Answers from your content

It reads your WordPress pages and posts, plus any PDF or text documents and Q&A pairs you add, and answers from them.

Always on

Visitors get an answer at any time of day or night, also when your team is offline.

Multilingual replies

The AI replies in the language the visitor writes in.

Your tone and rules

Write custom instructions for your brand voice. The AI stays on your topics and declines unrelated questions.

Change it without code

Update colors, position, greeting and behavior in the dashboard. Your WordPress code stays the same.

Chat logs and analytics

Read every conversation in your dashboard. See which questions visitors ask most.

Analytics on Starter and up

On the Standard and Pro plans you can also watch chats live and take over a conversation yourself. Compare plans

The same widget on your other websites

The snippet is plain JavaScript, so it also works outside WordPress. Each guide shows where to paste it.

Free includes 1 website, Starter 2, Standard 3 and Pro 20. See all installation guides

Get the most from your chat widget

Simple habits that keep the replies correct and useful.

Keep the knowledge base current

When you launch products, change prices or update policies, add the change to the knowledge base.

Read the chat logs

See what visitors ask. Add clear information where an answer can be better.

Use a helpful greeting

A short greeting such as "Need help? I am here to answer questions" invites visitors to ask.

Set clear topics

Tell the AI which topics to answer. It politely declines questions that are not about your business.

Questions about the WordPress chat widget

Need the full steps? Read the WordPress installation guide or email [email protected].

How do I add the chat widget to WordPress?

Create a free account and copy your embed code from the dashboard. In WordPress, install the free WPCode plugin, open Code Snippets, then Header & Footer, and paste the code in the Footer section. You can also paste it into footer.php of a classic theme, or use Elementor Pro Custom Code.

Does it work with block themes?

Yes. Block themes such as Twenty Twenty-Four have no footer.php file, so use the WPCode plugin method. It works with all theme types.

Does the widget work on mobile devices?

Yes. The chat widget adapts to phones, tablets and desktops.

Can I customize the widget's appearance?

Yes. You set the colors, position, greeting message and behavior in the Asyntai dashboard. Changes show on your site without editing WordPress again.

How does the widget know about my business?

You give it your website address and it reads your pages. You can also upload PDF or text documents, write custom instructions and add your own questions and answers. The AI answers from this content.

Will the widget slow down my WordPress site?

The embed code waits until your page has finished loading. Then it loads the chat widget in the background, so your page content shows first.

What happens when I reach my monthly limit?

We send you an email as you get close to your monthly AI reply limit. You can upgrade at any time from the dashboard, and the count starts again each month.

Can I use the widget on more than one website?

Yes. Free includes 1 website, Starter 2 websites, Standard 3 websites and Pro 20 websites. See the pricing page for details.

Ready to add a chat widget to your WordPress site?

Start free with 50 AI replies per month. No credit card required.