OneLineChat

How to add an AI chatbot to a WordPress site

Paste the script tag into your site's footer. The easiest way is a "header and footer code" plugin such as WPCode, so you don't have to touch theme files. Get a key at /get-api-key first.

  1. In WordPress admin, install and activate a header/footer code plugin.
  2. Open its Footer box and paste:
<script src="https://onelinechat.com/widget.js" data-key="olc_pub_YOUR_KEY" async></script>
  1. Save, then reload your site. The chat bubble appears in the bottom-right corner.

Notes

Last updated: · Markdown version