=== SalesMine - AI Customer Care & Sales Agent ===
Contributors: mydocstor
Tags: chatbot, ai chat, woocommerce, lead generation, booking
Requires at least: 5.8
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

An AI-powered chat agent that handles customer care, captures leads, and boosts sales on your WordPress site — 24/7.

== Description ==

SalesMine turns your WordPress website into an AI sales agent. It chats with visitors, captures leads through natural conversation, and — on paid plans — books appointments and syncs live with your WooCommerce store.

**Free features:**

* AI chat widget powered by your choice of Groq, OpenAI, or Gemini (bring your own API key)
* Custom AI persona, name, and avatar
* Branded widget color and position
* Structured Knowledge Base & FAQs so the AI only ever answers from what you give it
* Train your AI in 7+ languages
* Conversational lead capture forms

**Available on paid plans (Professional / Agency, at mydocstor.com):**

* AI-driven appointment booking, rescheduling, and lookup
* Live WooCommerce sync — real product names, prices, and stock, straight from your store
* Analytics dashboard for leads, bookings, and chat trends
* CRM/booking integrations via webhook (HubSpot, Salesforce, Zapier, Make, or any custom endpoint)
* Shareable files (PDFs, images) inside the chat

SalesMine uses a Bring-Your-Own-Key model — you supply your own API key from Groq, OpenAI, or Gemini, and all AI processing happens directly against that provider. This keeps the plugin lightweight, and API usage costs (if any) are billed to you directly by your chosen provider, separately from any SalesMine license.

Learn more and see full pricing at [mydocstor.com](https://www.mydocstor.com/salesmine-ai-sales-booking-lead-agent).

= External services =

This plugin relies on a third-party AI provider that you choose and connect yourself using your own API key. No data is sent anywhere until you enter an API key and the chat widget is used.

When a site visitor sends a message in the chat widget, that message (along with the recent conversation history, and the Knowledge Base content you've entered in the plugin settings) is sent directly from your server to whichever AI provider you selected, in order to generate the AI's reply:

* **OpenAI** — if you select OpenAI as your provider. [Terms of Service](https://openai.com/policies/row-terms-of-use/) | [Privacy Policy](https://openai.com/policies/row-privacy-policy/)
* **Google Gemini** — if you select Gemini as your provider. [Terms of Service](https://policies.google.com/terms) | [Privacy Policy](https://policies.google.com/privacy)
* **Groq** — if you select Groq as your provider. [Terms of Service](https://groq.com/terms-of-use/) | [Privacy Policy](https://groq.com/privacy-policy/)

No message content is sent to any provider other than the single one you configure. SalesMine itself does not operate any AI backend and does not receive or store a copy of this data on any server owned by MyDocstor.

Separately, if a visitor submits the lead capture form, their submitted details (e.g. name, email, and any other fields you configure) are stored in your own WordPress database and are not sent to any AI provider or third party.

== Installation ==

1. Upload the `salesmine` folder to the `/wp-content/plugins/` directory, or install the plugin directly through the WordPress "Add Plugin" screen.
2. Activate the plugin through the "Plugins" screen in WordPress.
3. Go to the SalesMine settings screen and paste in an API key from Groq, OpenAI, or Gemini.
4. Fill in your Knowledge Base (About, Services, FAQs) so the AI has real business information to answer from.
5. The chat widget will appear automatically on your site.

== Frequently Asked Questions ==

= Do I need to pay for an AI subscription to use this? =

No separate SalesMine subscription is required for the free version. You do need your own API key from Groq, OpenAI, or Gemini — Groq in particular offers a generous free tier, so it's possible to run the free version at no ongoing cost.

= What's the difference between the free and paid versions? =

The free version covers the AI chat widget, persona, Knowledge Base, multilingual training, and conversational lead capture. Paid plans add AI-driven appointment booking, WooCommerce sync, an analytics dashboard, CRM/booking integrations, and shareable files.

= Does this work with WooCommerce? =

Live WooCommerce sync (real product/price/stock awareness, cart actions, order lookup) is a paid-plan feature. The core AI chat widget works on any WordPress site, with or without WooCommerce.

= Where do I manage billing or get support? =

Paid licenses are managed through mydocstor.com. Support is available at https://www.mydocstor.com/support.

== Screenshots ==

1. The SalesMine chat widget on a live WordPress site.
2. The Knowledge Base settings screen.

== Changelog ==

= 1.0.0 =
* Initial public release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
