Description
LearnHub Chat Assistant with OpenAI lets you add a fully configurable AI chat assistant to your WordPress website using your own OpenAI API key.
Configure the assistant’s instructions, welcome message, appearance and placement directly from the WordPress admin settings page.
This plugin is developed by LearnHub ApS and is not affiliated with, endorsed by, or sponsored by OpenAI.
OpenAI usage is not included. You must use your own OpenAI API key and pay OpenAI directly for usage.
A separate Pro version with additional features is available from LearnHub ApS outside WordPress.org. This WordPress.org version is a fully functional single-assistant plugin.
Shortcode
[lhca_chatbot]
Add this shortcode to any page or post to display the chat assistant.
External services
This plugin connects to the OpenAI API when a visitor sends a message to the chat assistant.
What data is sent to OpenAI:
* The visitor’s chat message
* The configured assistant instruction (system prompt)
* Optional conversation context (page title and URL, if enabled)
* Optional conversation history (previous turns, if enabled)
The site owner must provide their own OpenAI API key. The API key is stored in the WordPress database and is only accessible to authorized administrators. It is never exposed on the public frontend.
OpenAI usage is billed directly by OpenAI based on the site owner’s API key.
- OpenAI Terms of Use: https://openai.com/policies/
- OpenAI Privacy Policy: https://openai.com/policies/privacy-policy
If OpenAI tools such as web search, file search or code interpreter are enabled by the site owner, visitor messages and assistant configuration may also be processed by OpenAI as part of those tool calls.
Optional Webhook Integration
The plugin includes an optional webhook feature. If you explicitly enable and configure a webhook URL in the settings, the plugin can send chat history (including user messages and AI responses) to that URL when specific trigger words are used or when the chat is closed. This feature is disabled by default. The site owner is responsible for any third-party data processing at the configured webhook URL.
Privacy
This plugin does not collect or store personal data about visitors beyond what is necessary for the chat session. Chat messages are sent to OpenAI’s API for processing. The site owner is responsible for informing visitors about this data transfer in their privacy policy.
Installation
- Upload the plugin folder to
/wp-content/plugins/. - Activate the plugin through the Plugins menu in WordPress.
- Go to LearnHub Chat in the admin menu.
- Enter your OpenAI API key and configure the assistant.
- Use the shortcode
[lhca_chatbot]on any page or post, or enable the floating widget in the settings.
FAQ
-
Are OpenAI tokens included?
-
No. You use your own OpenAI API key and pay OpenAI directly for usage.
-
Is this an official OpenAI plugin?
-
No. This plugin is developed by LearnHub ApS and is not affiliated with, endorsed by, or sponsored by OpenAI.
-
How is my OpenAI API key stored?
-
Your API key is stored in the WordPress database as part of the plugin settings option, accessible only to authorized administrators. It is never exposed on the public frontend.
-
How do I remove my data?
-
Deactivating and deleting the plugin via the WordPress Plugins screen will trigger the uninstall routine, which removes the plugin settings option and all related data from the database. Conversation history is stored in the visitor’s browser session only and is not written to the database.
-
Is personal setup support included?
-
No. Personal setup, custom development, OpenAI account support and custom prompt writing are not included.
-
Where do I get an OpenAI API key?
-
Visit https://platform.openai.com/api-keys to create an API key.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“LearnHub Chat Assistant with OpenAI” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “LearnHub Chat Assistant with OpenAI” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.5.60
- Initial WordPress.org review build.
- Single configurable chat assistant.
- Settings stored in one WordPress option.
- Added shortcode [lhca_chatbot].
- Added OpenAI API integration using the site owner’s own API key.
- Added floating widget option.
- Added external service and privacy documentation.