> ## Documentation Index
> Fetch the complete documentation index at: https://docs.inklyai.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Scaffold a project, capture your product, write it up, and ship a link.

You need Node.js 20 or newer. Capturing from the terminal also needs Google Chrome. See [requirements](https://docs.inklyai.dev/open-source/overview.md#requirements).

**1. Scaffold a project**

```sh theme={"dark"}
npx @inkly-org/interactive-demo-cli init my-demos
cd my-demos && npm install
```

`init` writes a project with a one-step placeholder demo in `demos/getting-started/`. Replace it with your first capture.

**2. Capture your product**

Click through your product once. Every click becomes a step.

> [tab] Your agent
>
> Give your agent the [skill](https://docs.inklyai.dev/open-source/agent-skill.md), then ask:
>
> ```text theme={"dark"}
> Make an interactive demo of our onboarding flow at https://app.example.com
> ```
>
> The agent runs the same commands you would.

> [tab] The CLI
>
> ```sh theme={"dark"}
> npx interactive-demo capture start https://app.example.com --name "Onboarding"
> # click through the product in the window that opens
> npx interactive-demo capture stop
> ```
>
> `stop` writes the recording as a new demo under `demos/`.

> [tab] The Chrome extension
>
> Record in your own browser with the [Chrome extension](https://docs.inklyai.dev/open-source/capture.md#the-chrome-extension), download the ZIP, then import it:
>
> ```sh theme={"dark"}
> npx interactive-demo init --from ~/Downloads/<file>.zip
> ```

**3. Write it up**

Capture gives you structure, not writing. The words on each step are the demo.

Your agent edits `demo.config.json` directly. You can use the editor:

```sh theme={"dark"}
npm run dev     # preview on :3000, editor at /__demo/editor/
```

See [Authoring](https://docs.inklyai.dev/open-source/authoring.md) for the config and [The editor](https://docs.inklyai.dev/open-source/editor.md) for the visual route.

**4. Ship it**

> [tab] Publish
>
> ```sh theme={"dark"}
> npx interactive-demo login && npx interactive-demo publish
> ```
>
> That is the whole hosting step. `publish` puts the demo online and prints its link. Publishing again updates the same link, so embeds keep working.

> [tab] Host it yourself
>
> ```sh theme={"dark"}
> npx interactive-demo build    # dist/<slug>/ — index.html, player.js, player.css, assets/
> ```
>
> Deploy `dist/` to any static host. Nothing in it phones home.

The embed snippets are the same either way. Only the origin differs. See [Publish and self-host](https://docs.inklyai.dev/open-source/publish-and-self-host.md).

**5. Put it in front of someone**

Send the link, frame the page, or render it inside your React app. `npx interactive-demo embed` prints the snippets for your demo.

```html theme={"dark"}
<iframe src="https://your-site.com/demos/onboarding/?embed=inline"
        loading="lazy" allow="fullscreen"
        style="border:0; width:100%; height:min(900px, 80vh)"></iframe>
```

[Sharing and embedding](https://docs.inklyai.dev/open-source/embedding.md) walks the whole choice.

## Next

> [card] [Use your agent](https://docs.inklyai.dev/open-source/agent-skill.md)
>
> Hand the whole loop to Claude Code, Codex, or another agent.

> [card] [Capture](https://docs.inklyai.dev/open-source/capture.md)
>
> Video steps, logins, and what to do when a click is missed.

> [card] [Authoring](https://docs.inklyai.dev/open-source/authoring.md)
>
> Steps, hotspots, captions, voiceover, and the theme.

> [card] [CLI reference](https://docs.inklyai.dev/open-source/cli.md)
>
> Every command, flag, and default.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.