=== AI BOTS Doxi Chat – Asistente Inteligente ===
Contributors: aibotsdoxi
Tags: chat, chatbot, ai, whatsapp, customer service
Requires at least: 5.8
Tested up to: 7.1
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 your Doxi AI assistant to your site without touching code: install, activate, paste the code we email you, and the chat starts answering.

== Description ==

Doxi is an AI assistant that talks to your site's visitors: it answers questions, shows your products, collects contact details and, when needed, hands the conversation over to someone on your team.

This plugin connects your WordPress site to your Doxi assistant. You don't need to copy keys or edit your theme:

1. Enter the email address you use to sign in to Doxi.
2. Paste the code we send to that email.
3. Done: the chat appears on every page of your site.

You can choose pages where the chat should not appear.

**A Doxi account is required.** The plugin does not work without one.

== Installation ==

1. In WordPress, go to **Plugins → Add New → Upload Plugin**, choose the plugin zip file and click **Install Now**.
2. Click **Activate**.
3. Go to **Settings → Doxi**, enter the email of your Doxi account and click the button to receive your code.
4. Paste the code you received by email and click **Connect**.

== Frequently Asked Questions ==

= Do I need a Doxi account? =

Yes. The code is sent to the email address you used to create your Doxi account, and only if that address has been verified.

= I didn't receive the code =

Check your spam folder. The code is valid for 15 minutes: if it expired or never arrived, request a new one from the same screen.

= Can I use the same code twice? =

No. Each code works only once, and only for the site it was requested from.

= I connected Doxi but I don't see the chat =

If you use a caching plugin, clear its cache: pages cached before you connected don't include the chat. The plugin tries to clear it automatically for WP Rocket, W3 Total Cache, WP Super Cache and LiteSpeed Cache.

= What happens if I deactivate the plugin? =

The chat stops appearing on your site. If you activate it again, it stays connected: there's no need to request a new code.

= Does it work on sites that are not built with WordPress? =

This plugin is for WordPress only. On any other site, Doxi is installed by pasting a line of code that you'll find in your Doxi dashboard.

== External services ==

This plugin connects to **Doxi**, a service provided by DOX, to link your site with your assistant and to make the chat work. It uses two servers: `api.ai-bots.us` and `chatbot.ai-bots.us`.

**The plugin does not contact Doxi until you click the button to receive your code.**

What is sent, and when:

* **When you request your code:** the email address you entered and your site's address (for example `example.com` and `www.example.com`) are sent to `api.ai-bots.us`, to find your account and email you the code.
* **When you click Connect:** the email address, the code and your site's address are sent to `api.ai-bots.us`. Doxi replies with your assistant's key, which the plugin stores on your site.
* **Once connected, on every page of your site:** each visitor's browser loads the chat from `chatbot.ai-bots.us`. When a visitor writes in the chat, their messages (and anything they choose to share: voice notes, images, or their location if they grant permission) are sent to `api.ai-bots.us` so the assistant can reply.

Doxi terms of service: https://ai-bots.us/terms
Doxi privacy policy: https://ai-bots.us/privacy-policy

== Changelog ==

= 1.0.0 =
* First release: connect with a code sent by email, chat on every page, and per-page control.
