Easiest
Ask the AI
Visual
Collection Manager UI
For developers
Edit
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
From the dashboard, open the project.
Describe the collection you want
Be specific about purpose and fields. The more detail, the less back-and-forth.Or, if you’re less sure:
Review the proposed schema
The AI returns a manifest entry — collection ID, fields, route pattern, default sort. Approve or revise:
- “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
Once you’re happy, the AI updates
hiveku.cms.json, creates the directory under content/, and (optionally) seeds it with one example entry.Option 2: Collection Manager UI
Use this when you want a visual builder and immediate validation feedback.Open Collection Manager
Click the gear icon at the top of the panel — it’s next to the collection picker.
Click + New Collection
A form appears with the collection’s top-level properties:
- 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
Click + Add Field for each one. For each field:
- 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
Click Create Collection. The Collection Manager closes, the manifest is updated, and the new collection appears in the picker.
Option 3: Edit the Manifest Directly
For developers who want full control or are scripting setup.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
The CMS panel creates the directory automatically when you save the first entry. If you want it created up front, add an empty
.gitkeep file:Right-click content/ → New Folder → case-studies → New File → .gitkeepVerifying
After adding a collection through any path:Open the form for a new entry
Click + New Entry. Every field you defined should render with the right control.
Save a real entry
Fill in the required fields and save. Confirm the file appears in the file tree at the expected path.
Troubleshooting
Manifest invalid after edit
Manifest invalid after edit
The most common cause is a typo or duplicate
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
Two entries with the same slug can’t coexist in one collection. Rename one. If you’re using
slugFrom: "field:title", picking a unique title resolves it.`isBody` set on a JSON collection
`isBody` set on a JSON collection
Validation rejects this — body fields are only valid on MDX collections. Remove
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
Exactly one body field is allowed per MDX collection. Remove
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
A
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
Expected for a brand-new collection. Click + New Entry to add the first one.
What’s Next?
Field Types
Pick the right type for each field
References
Link collections together
Editing Content
Day-to-day editing in the CMS panel
Migrate to CMS
Pull existing hardcoded content into your new collection