A Next.js template with Plate AI, plugins and components.
- Node.js 20+
- bun
Choose one of these methods:
npx shadcn@latest add @plate/editor-aiUse this template, then install dependencies:
bun installCopy the example env file:
cp .env.example .env.localConfigure .env.local:
AI_GATEWAY_API_KEY– AI Gateway API key (get one here)UPLOADTHING_TOKEN– UploadThing API key (get one here)
Start the development server:
bun devVisit http://localhost:3000/editor to see the editor in action.