Get Started

Scaffold an application with generative UI, slides, reports, and conversation history on OpenUI Cloud.

The OpenUI CLI scaffolds a Next.js application connected to OpenUI Cloud with streaming generative UI, slides, reports, and conversation history. The CLI walks through setup, including the API key.

Create

Run the create command and answer the prompts. The template option selects OpenUI Cloud.

pnpx @openuidev/cli@latest create --template openui-cloud

Run

Start the dev server:

pnpm dev

Open http://localhost:3000 and send a message. Ask for a chart, then a slide deck on the same topic. Close the tab and return. The conversation is still there.

What the scaffold includes

  • A working chat interface where responses render as interactive components.
  • Slides and reports enabled out of the box.
  • Conversation history and artifact storage, with no database to set up.
  • A codebase ready to be shaped into a product.

For the capabilities in detail, see Introduction. For a technical overview of the architecture, see How it works.

On this page