Public Knowledge Base
KB Landing Page
GET /kb
The public knowledge base landing page presents:
- Category structure — articles grouped and browsable by category
- Search — full-text search across all published articles
- Helpfulness ratings — visitors can upvote or downvote each article to signal whether it solved their problem
Individual KB Article
GET /kb/{seo_link}
Each article is served at its unique SEO-friendly slug. Articles are rendered with full HTML formatting from the TinyMCE editor, including images, tables, code blocks, and embedded media.
Admin Knowledge Base Management
Article Manager
GET /admin/kb
The article management console lets administrators:
Create Articles
Draft new articles using the TinyMCE rich-text editor with full HTML support.
Edit & Delete
Full CRUD operations — update content, change categories, and remove outdated articles.
Sort Orders
Drag-and-drop or manual sort ordering controls the display sequence on the public KB.
Draft States
Save articles as drafts and publish when ready — drafts are hidden from the public KB.
Category Editor
GET /admin/kb/categories
Organize your knowledge base with a dedicated category editor. Categories appear as browsable groupings on the public /kb landing page.
AI Article Writer
Site Store Pro includes an AI-powered article writer that can generate a full draft article from a prompt or topic title in seconds.The AI Article Writer requires a valid
OPENAI_API_KEY in your .env file. Without this key, the AI writer button will not appear in the admin editor.Setup
Add your OpenAI API key to your.env file:
Using the AI Writer
- Navigate to
GET /admin/kband click New Article (or open an existing article to edit). - Enter a title or topic prompt in the article subject field.
- Click the AI Write button in the editor toolbar.
- The system sends your prompt to the OpenAI API and inserts the generated content directly into the TinyMCE editor.
- Review and edit the draft before publishing.
How It Works
The AI writer sends a structured prompt to the OpenAI completions API and streams the generated response directly into the TinyMCE editor field. No additional packages or configuration are required beyond setting theOPENAI_API_KEY environment variable.
Helpfulness Ratings
Each public KB article displays an upvote/downvote widget at the bottom:- 👍 Helpful — increments the article’s helpful vote counter
- 👎 Not Helpful — increments the not-helpful counter
