Installation
How to install and activate the eBook Product Assistant plugin.
Prerequisites
Before installing the eBook Product Assistant, ensure your server meets the following requirements:
- WordPress: Version 6.0 or higher.
- PHP: Version 7.4 or higher.
- WooCommerce: Installed and active. The plugin requires WooCommerce to create product drafts.
- Composer: Required to install PHP dependencies if installing from source.
Installation Methods
Option 1: Install via ZIP file
- Download the latest plugin
.zipfile from the repository releases. - Log in to your WordPress admin dashboard.
- Navigate to Plugins > Add New Plugin.
- Click Upload Plugin at the top of the page.
- Choose the
.zipfile you downloaded and click Install Now. - After installation completes, click Activate Plugin.
Option 2: Install via Git (For Developers)
If you are cloning the repository directly, you must install the Composer dependencies before the plugin will function.
cd wp-content/plugins/
git clone https://github.com/ebook-product-assistant/ebook-product-assistant.git
cd ebook-product-assistant
composer install --no-dev
After installing dependencies, activate the plugin via the WordPress admin dashboard or using WP-CLI:
wp plugin activate ebook-product-assistant
Post-Installation Checks
Once activated, navigate to WooCommerce > eBook Assistant (or Tools > eBook Assistant if WooCommerce is inactive).
If you see an error stating "eBook Product Assistant requires Composer dependencies", you need to run composer install in the plugin directory as described in Option 2.
The plugin requires WooCommerce to be active to generate product drafts. If WooCommerce is disabled, the plugin interface will display a warning and draft creation will be disabled.
Next Steps
After successfully installing and activating the plugin, you must configure your AI provider settings before you can process any PDFs.