=== Uppzy AI Chatbot ===
Contributors: uppzy
Tags: chatbot, ai, widget, support
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Install the Uppzy AI chatbot on your WordPress site with your Uppzy public key.

== Description ==

Uppzy AI Chatbot adds the Uppzy AI widget to your WordPress site with a simple site/public key setup.

This plugin focuses on safe installation only:

- load the widget automatically on front-end pages
- validate the saved public key against Uppzy
- block output when the domain does not match the current WordPress site
- keep widget content and styling in the Uppzy dashboard

This version does not create Uppzy sites, sync WordPress content, or manage analytics.

== External services ==

This plugin connects to Uppzy services to validate the configured public key and to load the widget runtime.

It sends data to `api.uppzy.com` only after a site administrator installs, activates, and configures the plugin.

Service usage:

- On settings save, the plugin sends the configured public key to `https://api.uppzy.com/api/v1/sites/public/{publicKey}` to validate the key and confirm the connected domain.
- On front-end page loads, the plugin loads the widget runtime from `https://api.uppzy.com/widget/widget.js`.
- When the widget is used by visitors, the visitor browser may send chat requests and related widget traffic to Uppzy endpoints.

Links:

- Privacy Policy: https://uppzy.com/privacy-policy
- Terms of Service: https://uppzy.com/terms-of-service

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`.
2. Activate `Uppzy AI Chatbot` in WordPress.
3. Go to `Settings > Uppzy AI Chatbot`.
4. Paste the public key from your Uppzy dashboard.
5. Save the settings and confirm the validation result.

== Frequently Asked Questions ==

= Where do I find the public key? =

Open your Uppzy dashboard and copy the public key from your widget setup screen.

= Why is my widget not loading? =

The plugin only loads the widget when:

- the widget is enabled
- a public key is saved
- Uppzy validates the key
- the key domain matches the current WordPress site

= Can I edit widget text or colors in WordPress? =

No. Widget design and assistant behavior stay in Uppzy.

= Does the plugin contact an external service? =

Yes. The plugin validates your saved public key with Uppzy and loads the widget runtime from Uppzy. See the "External services" section for details.

== Changelog ==

= 0.1.0 =

- Initial release
