=== BotDolphin AI Chatbot ===
Contributors: botdolphin
Tags: chatbot, ai, customer support, live chat, lead generation
Requires at least: 5.0
Tested up to: 6.9
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 website. Automate customer support and capture leads 24/7.

== Description ==

BotDolphin is an AI-powered chatbot platform that helps you automate customer support and capture leads on your WordPress website around the clock.

**Key Features:**

* AI-powered conversations using GPT technology
* 24/7 automated customer support
* Lead capture and contact management
* Train AI with your own content
* Customizable chat widget appearance
* Conversation analytics and insights

**How It Works:**

This plugin connects your WordPress website to the BotDolphin service. The chatbot widget is loaded from BotDolphin servers and all customization is done through the BotDolphin dashboard.

1. Create a free account at [botdolphin.com](https://botdolphin.com)
2. Create and customize your chatbot in the dashboard
3. Install this plugin on your WordPress site
4. Enter your Chatbot ID in the plugin settings
5. Enable the chatbot - you're done!

== External Services ==

This plugin relies on the BotDolphin external service to provide AI chatbot functionality. The service is required for the plugin to work.

**BotDolphin API Service**

* **Service Provider:** BotDolphin
* **Service Website:** [https://botdolphin.com](https://botdolphin.com)
* **API Endpoint:** api.botdolphin.com

**What data is sent and when:**

1. **Widget Script Loading:** When the chatbot is enabled, the plugin loads a JavaScript widget from `https://api.botdolphin.com/widget.js`. This happens on every page load for your website visitors.

2. **Chatbot Configuration:** Your Chatbot ID is sent to retrieve your specific chatbot settings (colors, messages, behavior).

3. **Visitor Messages:** When a visitor types a message in the chat widget, the message content is sent to BotDolphin servers to generate an AI response.

4. **Lead Form Data:** If you have lead capture enabled and a visitor submits their information, the following data may be collected based on your configuration:
   - Name
   - Email address
   - Phone number

5. **Page URL:** The current page URL is sent for conversation context and analytics.

6. **Session Data:** A unique session identifier is used to maintain conversation continuity.

**Third-Party Service Links:**

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

**OpenAI Integration:**

BotDolphin uses OpenAI's GPT technology to power AI responses. When visitors interact with your chatbot, their messages are processed through OpenAI's API via BotDolphin's servers. Please review OpenAI's policies:

* **OpenAI Terms of Use:** [https://openai.com/terms](https://openai.com/terms)
* **OpenAI Privacy Policy:** [https://openai.com/privacy](https://openai.com/privacy)

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/botdolphin-ai-chatbot/` directory, or install the plugin through the WordPress plugins screen.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to the BotDolphin menu in your admin dashboard.
4. Enter your Chatbot ID from [app.botdolphin.com](https://app.botdolphin.com).
5. Enable the chatbot and save settings.

== Frequently Asked Questions ==

= Do I need a BotDolphin account? =

Yes, you need a free account at [botdolphin.com](https://botdolphin.com) to use this plugin.

= Where do I find my Chatbot ID? =

Log in to your BotDolphin Dashboard at [app.botdolphin.com](https://app.botdolphin.com), select your chatbot, and go to the Install tab to find your Chatbot ID.

= How do I customize the chatbot appearance? =

All customization options including colors, messages, AI behavior, and lead capture settings are available in the BotDolphin dashboard.

= Will this slow down my website? =

No. The chat widget script loads asynchronously and does not block page rendering.

= Is there a free plan? =

Yes, BotDolphin offers a free trial plan. Visit [botdolphin.com](https://botdolphin.com) for pricing details.

= What data does the chatbot collect? =

The chatbot collects visitor messages for AI processing. If you enable lead capture, it can also collect name, email, and phone number based on your settings. See the External Services section for complete details.

= Is the data secure? =

Yes, all data is transmitted over HTTPS and stored securely. Please review our Privacy Policy at [botdolphin.com/privacy](https://botdolphin.com/privacy) for details.

== Screenshots ==

1. Plugin settings - Connection tab
2. Dashboard shortcuts and quick links
3. Chat widget on website frontend

== Changelog ==

= 1.0.0 =
* Initial release
* AI-powered chatbot integration
* Lead capture functionality
* Customizable widget appearance
* Analytics and conversation tracking

== Upgrade Notice ==

= 1.0.0 =
Initial release of BotDolphin AI Chatbot plugin.
