hiveku.cms.json file yet, the CMS panel can scaffold one for you with a single click. This guide walks through that first-time setup, what the scaffold creates, and how to customize it before you start adding entries.
You only need to initialize once per project. After that, adding new collections is a separate flow — see Add a New Collection.
What “Initialize” Does
When you click Initialize CMS, Hiveku:- Creates
hiveku.cms.jsonat your project root - Adds a default
blogcollection with sensible fields - Creates the
content/blog/directory - Writes one seed entry —
welcome.mdx— so the collection isn’t empty - Reloads the CMS panel pointing at the new collection
Steps
Open your project in /v3
From the dashboard, click the project you want to set up.
Switch the right pane to CMS
The right pane has three tabs at the top — Preview, Code, CMS. Click CMS.Since there’s no manifest yet, you’ll see an empty state with a description of what the CMS does and an Initialize CMS button.
Click Initialize CMS
A confirmation dialog summarizes what will be created:
hiveku.cms.jsonat the project rootcontent/blog/directory- One seed entry:
content/blog/welcome.mdx
Confirm the file appeared in the file tree
Switch the right pane to Code briefly. You should see
hiveku.cms.json at the root and a content/ folder containing blog/welcome.mdx. Switch back to CMS to keep working.Inspect the default fields
The CMS panel now shows the
Blog Posts collection with one entry (welcome). Click it to open the form.The default fields are:- title (string, required)
- publishedAt (date)
- status (select: draft / published)
- tags (array of strings)
- body (markdown, the post body)
What the Scaffold Creates
The scaffold writes a manifest with a single collection. Here’s the literal output:Customize Before Going Further
A few common tweaks people make right after initialization:Add an excerpt field
Useful for blog index pages that show a teaser per post:Add an author reference
If your blog has multiple authors, create anauthors collection and reference it from the blog:
Rename body to content
Personal preference — the field name shows up in MDX frontmatter for every entry, so make it match your style.
Replace the default seed entry
If you don’t want the placeholder welcome post, delete it from the entry list and create your real first post.Initializing Without the UI
You can also initialize from the AI chat:Verifying the Setup
A quick checklist after initialization:The CMS panel shows your collection
The CMS panel shows your collection
Open the right pane, set it to CMS mode. The collection picker should list
Blog Posts (or whatever you set up).The seed entry renders in preview
The seed entry renders in preview
Click the welcome entry. The Live Preview should navigate to
/blog/welcome and show the rendered post.If the preview shows a 404, your blog template hasn’t been wired up to read the CMS yet. Ask the AI: “My blog template at app/blog/[slug]/page.tsx isn’t reading from the CMS — fix it.”A file appeared in the code editor
A file appeared in the code editor
Switch to Code mode. You should see
hiveku.cms.json at the root and content/blog/welcome.mdx.The version history works
The version history works
Edit the seed entry, save, then open the version history drawer. You should see the new save in the list — that confirms versioning is working.
Troubleshooting
Initialize button is disabled
Initialize button is disabled
Manifest validation error after init
Manifest validation error after init
Rare, but possible if your project has an unusual structure. Open
hiveku.cms.json in the code editor and check for typos or invalid JSON. The error banner in the CMS panel points at the offending field.Preview shows 404 for the seed entry
Preview shows 404 for the seed entry
Your blog template doesn’t exist yet, or doesn’t read from the CMS. The scaffold creates the manifest and entry but doesn’t generate React components — see “My blog template isn’t wired up” in the AI chat for an automated fix.
I want to start over
I want to start over
Delete
hiveku.cms.json and the content/ directory from the code editor, then click Initialize CMS again.What’s Next?
Add a Collection
Add more collections beyond the default blog
Migrate a Site
Move hardcoded content into the CMS
Editing Content
Day-to-day use of the CMS panel
The Manifest
Full reference for
hiveku.cms.json