> For the complete documentation index, see [llms.txt](https://docs.riff.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.riff.ai/reference/app-builder/preview.md).

# Preview

Preview is the default tab when you open an app in the App builder. It shows your app running live — you can interact with it exactly as your users will, and any change the Riff agent makes appears instantly without you needing to refresh.

## What you see

A full-height frame showing your app in its current state. While it connects you'll see the Riff loading screen briefly. Once ready, the app is fully interactive.

<div data-with-frame="true"><figure><img src="/files/t2HeyY8H05lYO2u3GjA5" alt=""><figcaption></figcaption></figure></div>

## How to use it

**Test as a user would.** Click buttons, fill in forms, navigate between pages. If something looks wrong, you've caught it before your team or customers see it.

**Changes appear immediately.** The Riff agent's edits hot-reload into Preview. You don't need to save or refresh — what you see is always current.

## Notes

Preview shows the **development version** of your app — not the deployed (production) version. Deploying is a separate step. See [Deploy](/reference/app-builder/deploy.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.riff.ai/reference/app-builder/preview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
