=== Quickchat AI Agent ===
Contributors: quickchatai, patrykqc
Tags: chatbot, ai, live chat, customer support, widget
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add an AI-powered chatbot to your WordPress site in seconds. Enter your Scenario ID and the Quickchat AI widget appears automatically.

== Description ==

Quickchat AI lets you deploy an intelligent conversational AI agent on your website with zero coding. This plugin injects the Quickchat AI chat widget so your visitors can interact with your AI assistant instantly.

**How it works:**

1. Install and activate the plugin.
2. Enter your Scenario ID from the [Quickchat AI dashboard](https://app.quickchat.ai).
3. Done — the floating chat widget appears on every page.

All widget configuration (colors, position, welcome messages, AI behavior) is managed in the Quickchat AI dashboard. This plugin is a lightweight loader that connects your WordPress site to the Quickchat AI service.

**Features:**

* **Floating widget** — Automatically shows a chat bubble on every page of your site.
* **No code required** — Enter your Scenario ID once; everything else is configured in the Quickchat AI dashboard.
* **Lightweight** — No local JavaScript bundles; the widget loads asynchronously from the Quickchat AI CDN.

**External Service Notice:**

This plugin connects to the Quickchat AI service to load and run the chat widget. When activated and configured, the following external requests are made:

* `https://bubble.quickchat.ai/chat.js` — The chat widget loader script.
* `https://app.quickchat.ai` — The Quickchat AI service that powers the chatbot.

These connections are essential for the plugin to function, as the chat widget is a Software-as-a-Service product. By installing and configuring this plugin, you consent to these external service calls.

* [Quickchat AI Terms of Service](https://quickchat.ai/terms)
* [Quickchat AI Privacy Policy](https://quickchat.ai/privacy)

== Installation ==

1. Upload the `quickchat-ai-agent` folder to the `/wp-content/plugins/` directory, or install directly from the WordPress plugin repository.
2. Activate the plugin through the "Plugins" menu in WordPress.
3. Go to **Settings > Quickchat AI** and enter your Scenario ID.
4. Save changes. The chat widget will now appear on your site.

To find your Scenario ID, log in to [app.quickchat.ai](https://app.quickchat.ai) and navigate to **Settings > Your Website > Install**.

== Frequently Asked Questions ==

= Where do I find my Scenario ID? =

Log in to your Quickchat AI dashboard at [app.quickchat.ai](https://app.quickchat.ai), then go to **Settings > Your Website > Install**. Your Scenario ID is displayed there.

You can also read it from your scenario's dashboard URL — it's the last part of `https://app.quickchat.ai/i/your-scenario-id`.

= How do I customize the widget appearance? =

All visual customization (colors, position, welcome message, avatar, etc.) is done in the Quickchat AI dashboard, not in WordPress. Changes take effect immediately on your site.

= The widget is not showing up. What should I check? =

1. Verify your Scenario ID is entered correctly in **Settings > Quickchat AI**.
2. Disable caching plugins temporarily to rule out cached pages served without the script.
3. Check that your site does not have a Content Security Policy blocking `bubble.quickchat.ai` or `app.quickchat.ai`.

= Does this work with AMP pages? =

AMP strips custom JavaScript, so the widget will not appear on AMP pages. The plugin automatically detects AMP requests and skips script injection.

= My site has a Content Security Policy (CSP). What do I need to allow? =

Allow the Quickchat AI domains `bubble.quickchat.ai` and `app.quickchat.ai` in your Content Security Policy — in particular the `script-src` and `frame-src` directives.

== Screenshots ==

1. The Quickchat AI chat widget answering a question on a WordPress site.
2. Plugin settings — enter your Scenario ID to activate the widget.
3. Customize the widget appearance, size, theme, and colors from the Quickchat AI dashboard.

== Changelog ==

= 1.0.0 =
* Initial release.
* Floating chat widget with automatic injection on all pages.
* Settings page for configuring your Scenario ID.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
