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