-
Notifications
You must be signed in to change notification settings - Fork 0
Installation and Setup Guide
This guide will walk you through the process of installing and setting up the WP RAG plugin, which enables RAG (Retrieval-Augmented Generation) functionality using your WordPress post data.
For a visual demonstration of the installation and setup process, watch our step-by-step video guide: Watch Installation & Setup Demo →
-
Download the plugin source code from the GitHub repository:
https://github.com/mobalab/wp-rag/releases -
Upload the plugin to your WordPress installation:
- Extract the downloaded source code
- Upload the
wp-ragdirectory to<WordPress root>/wp-content/plugins/ - The final path should look like:
<WordPress root>/wp-content/plugins/wp-rag/
-
Navigate to the WordPress plugins page in your admin dashboard and activate the WP RAG plugin.
-
In the WordPress admin dashboard, click on "WP RAG" in the left menu.
-
Go to "General Settings".
-
Click the "Register" button to initiate site verification.
Note: The verification process may take a few seconds as our API server validates your WordPress site.
-
After successful verification, check the System Status on the main plugin page. You should see a green checkmark indicating "This WordPress site is verified."
-
Navigate to "AI Configuration" from the left menu.
-
Enter your OpenAI API Key.
-
Click "Submit" to save the configuration.
- Return to the main plugin page.
- Click the "Import" button to fetch posts from your WordPress site.
- After the import completes, click the "Embed" button to generate embeddings for the imported posts.
- Use the "Test Query" section on the main plugin page to verify that the chatbot is working correctly.
- Once testing is successful, you can add the chatbot to any post or page using the following shortcode:
[wp_rag_chat]
Before deploying the chatbot, ensure all these items show green checkmarks in the System Status:
- WordPress site verification
- OpenAI API Key configuration
- Post import completion
- Embedding generation completion
If you encounter any issues during installation or setup, please open an issue on our GitHub repository.