The fastest way to get Outkit running is the CLI. One install, one login, oneDocumentation Index
Fetch the complete documentation index at: https://docs.outkit.dev/llms.txt
Use this file to discover all available pages before exploring further.
init —
your project is wired, your SDK is installed, your API key is written to .env.local, and a
working swap snippet is printed in your terminal.
1. Install the CLI
- npm
- pnpm
- yarn
- bun
2. Sign in
~/.outkit/credentials.json. Confirm with:
3. Wire your project
From the root of your app:outkit init does the whole setup:
Picks a profile
Uses your team’s active profile, or offers to create one seeded with design tokens
detected from your codebase.
Writes the backend proxy
A server route that forwards to
POST /render/enhance so your API key never reaches
the browser.outkit init writes.
4. Generate an API key
.env.local as OUTKIT_API_KEY=….
5. Render
The init command printed a swap snippet for your stack. For React it looks like this:feedResponse reads the SSE stream, extracts design tokens, parses blocks incrementally,
and signals completion — at 60 fps via requestAnimationFrame batching.
6. Verify
--json to consume from CI.
To watch real renders as they happen while you develop:
Prefer the REST API directly?
The CLI is the recommended path. If you can’t run the CLI in your environment, you can still call the API from any language:ContentBlock[] with component types, typed props, and
fallback text. See the API Reference for the full surface.
To get an API key without the CLI, sign in at app.outkit.dev,
create a profile, and click Generate API Key.
What’s Next?
CLI Overview
Every command at a glance, plus the auth model and file layout.
React SDK
Full
useBlockStream API, AIRenderer props, design tokens, and proxy patterns.API Reference
Request and response schema for
POST /render/enhance.Components
Browse all 50+ component types with prop schemas.