=== CauserieBot ===
Contributors: causeriebot
Tags: chatbot, chat, ai, widget, support
Requires at least: 5.8
Tested up to: 6.9
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add your CauserieBot AI chatbot to your WordPress site in a few clicks.

== Description ==

CauserieBot lets you embed an AI chatbot on your WordPress site without writing any code.

**Features:**

* Secure connection via API key
* Pick the chatbot to display from your CauserieBot account
* Automatic widget injection in the site footer
* One-click enable / disable

**How it works:**

1. Install and activate the plugin
2. Go to Settings > CauserieBot
3. Create an API key at [dashboard.causeriebot.com/settings](https://dashboard.causeriebot.com/settings)
4. Paste the key and click "Load my chatbots"
5. Select your chatbot and save

**Note:** a CauserieBot account is required to use this plugin. You can create a free account at [causeriebot.com](https://causeriebot.com).

The plugin is fully translatable. French translation is included; other languages are welcome via [translate.wordpress.org](https://translate.wordpress.org/).

== Installation ==

1. Download and unzip the plugin into `/wp-content/plugins/causeriebot/`
2. Activate the plugin from the "Plugins" menu in WordPress
3. Go to Settings > CauserieBot to configure

== Frequently Asked Questions ==

= Where do I create my API key? =

At [dashboard.causeriebot.com/settings](https://dashboard.causeriebot.com/settings), in the "API Keys" section.

= Does the chatbot show on every page? =

Yes, by default the widget is injected site-wide. You can disable it from the settings.

= Do I need a paid CauserieBot account? =

The free plan is enough to get started. Pro and Business plans offer more conversations and features.

= Does the plugin send data to external services? =

Yes — see the "External services" section below for full details.

== External services ==

This plugin connects to the CauserieBot service to provide chatbot functionality. The connection to this external service is required for the plugin to work.

**1. CauserieBot API — fetching the chatbot list**

When you click "Load my chatbots" in the settings page, the plugin sends an authenticated request to `https://dashboard.causeriebot.com/api/public/chatbots` with your API key in the `Authorization` header to retrieve the list of chatbots associated with your CauserieBot account.

* Data sent: your CauserieBot API key.
* When: only on demand, when you click "Load my chatbots" from the settings page. No data is sent automatically.

**2. CauserieBot widget — front-end chatbot**

When the chatbot is enabled, the plugin loads a JavaScript file from `https://dashboard.causeriebot.com/widget.js` on the public side of your site. This widget displays the chatbot interface and communicates with CauserieBot servers to process visitor messages.

* Data sent: the selected chatbot ID (server-side), then on the visitor side, the messages typed into the chatbot as well as standard browsing metadata (user agent, IP address, referrer) collected by CauserieBot to provide the service.
* When: on every public page of the site when the chatbot is enabled.

This service is provided by CauserieBot. By using this plugin you agree to the CauserieBot terms and privacy policy:

* Terms of Service: [https://dashboard.causeriebot.com/terms](https://dashboard.causeriebot.com/terms)
* Privacy Policy: [https://dashboard.causeriebot.com/privacy](https://dashboard.causeriebot.com/privacy)

== Screenshots ==

1. The plugin settings page with the API key and chatbot selection.
2. The chatbot displayed on the front-end of a site.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
First public release.
