Getting started
Set it up once, then build
Open your project
In Cursor or another agent that can run commands. Starting from scratch? An empty folder works.
Copy the setup prompt
Paste it into your agent
It sets up the project, then asks what to build.
After that, just ask:
- “Build a landing page for my app.”
- “Use Hero 12 with Navbar 07 and Logos 04.”
- “Add grid lines to the page and make it dark.”
A prompt works once, for 60 minutes. Copy a fresh one and try again.
The setup command fetches the key from our server and writes it straight into a file in your project, without showing it in the chat. Your assistant can open that file like any other file in your project. The prompt asks it not to. On a Team license, everyone on the team uses the same key.
Your project needs Tailwind v4 and shadcn/ui. Starting from scratch? This creates one:
npx shadcn@4.21.4 init --defaultsConnect Divplate
Add the registry to
components.json:components.json { "registries": { "@divplate": { "url": "https://divplate.com/r/{name}.json", "headers": { "Authorization": "Bearer ${DIVPLATE_TOKEN}" } } } }Add your license key
Put it in
.env.local, in the same folder ascomponents.json:.env.local DIVPLATE_TOKEN=your license keyOn a Team license, everyone on the team uses the same key.
Install a block
npx shadcn@4.21.4 add @divplate/hero-04Then use it:
app/page.tsx import { Hero04 } from "@/components/blocks/sections/hero-04" export default function Page() { return <Hero04 /> }
For the exact colors from the previews, add the theme:
npx shadcn@4.21.4 add @divplate/themeIt recolors the shadcn components you already have, too. More in Colors.