Using a coding agent? Give it this prompt: “Set me up with Hatchmark: fetch https://hatchmark.dev/docs/get-started/agent-setup.md and follow it.” The steps it follows are in Set up with an agent.
Create a project
Hatchmark needs Node.js 22.18 or later (23.6 or later on Node.js 23).init writes a sample project: US orders data, four metrics and a sales dashboard. To pin the
version for everyone on the project, run npm install --save-dev --save-exact hatchmark in it;
the agent’s MCP server, which init sets up, then runs that same version. For an empty project, see
Project file.
The docs write commands as hatchmark <command>; in a project, run them as
npx hatchmark <command>.
Check it
Preview it
Build it
dist/sales/index.html. The pages hold the numbers they show, so publish dist/ only where
the people allowed to see the data can reach it.
Next steps
- How Hatchmark works: the files and how they fit together.
- Connect your data: read your own file or database.
- Define metrics: the numbers your pages show.
- Build a dashboard: turn the sample into your own page.
- Components: every block you can put on a page.
- Publish dashboards: put the pages where your team can open them.