Easiest
Visual
For developers
hiveku.cms.jsonOption 1: Ask the AI
The fastest way for most additions, especially when you have a clear idea of the fields.Open your project in /v3
Open the AI chat
Describe the collection you want
Review the proposed schema
- “Make
industrya select with options: SaaS, Healthcare, Finance, Other” - “Add a
featuredboolean so we can promote a few” - “Use field-based slugs from the title instead of filename”
Approve and save
hiveku.cms.json, creates the directory under content/, and (optionally) seeds it with one example entry.Verify in the CMS panel
Option 2: Collection Manager UI
Use this when you want a visual builder and immediate validation feedback.Open the CMS panel
/v3, switch the right pane to CMS mode.Open Collection Manager
Click + New Collection
- ID —
case-studies(lowercase, hyphenated, must be unique) - Display name —
Case Studies - Path —
content/case-studies(auto-filled from ID) - Format —
MDX(with body) orJSON(structured only) - Slug from — Filename or a specific field
- Route pattern —
/case-studies/{slug}(optional)
Define the fields
- Name — camelCase identifier
- Type — picked from a dropdown (string, number, image, etc.)
- Required — toggle
- Default — typed if relevant
- Type-specific options — like
optionsfor select,collectionfor reference
Save
Add your first entry
Option 3: Edit the Manifest Directly
For developers who want full control or are scripting setup.Open hiveku.cms.json
hiveku.cms.json from the file tree.Add a new entry to the collections array
Save the file
Cmd+S / Ctrl+S. The CMS panel reloads and validates the manifest. If anything is wrong (duplicate ID, invalid field type, missing isBody on MDX), you’ll see an error banner.Create the directory
.gitkeep file:Right-click content/ → New Folder → case-studies → New File → .gitkeepAdd a sample entry
content/case-studies/ → New File → acme-corp.mdx and paste:Verifying
After adding a collection through any path:Check the collection picker
Open the form for a new entry
Save a real entry
Render it
routePattern, navigate the preview to that URL. If you also asked the AI (or wrote yourself) a page that reads this collection, the entry should render. If not, ask the AI: “Build the list and detail pages for the case-studies collection.”Troubleshooting
Manifest invalid after edit
Manifest invalid after edit
id. The error banner in the CMS panel points at the offending collection. Fix in the code editor and save.Slug conflict on save
Slug conflict on save
slugFrom: "field:title", picking a unique title resolves it.`isBody` set on a JSON collection
`isBody` set on a JSON collection
isBody: true from the field, or change the format to mdx.Two `isBody: true` fields on one MDX collection
Two `isBody: true` fields on one MDX collection
isBody: true from one of them.ID has uppercase or spaces
ID has uppercase or spaces
id must be lowercase, alphanumeric, and hyphenated. Case Studies is invalid; case-studies is correct. Display names can be any string — that’s the name field.Reference field's collection doesn't exist
Reference field's collection doesn't exist
reference field’s collection value must match an existing collection’s id. Add the target collection first, or fix the reference.The collection appears but the entry list is empty
The collection appears but the entry list is empty