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

# Rey AI: Build Faster with AI in the Editor

> Rey AI is a built-in agent that knows your entire app and helps you generate screens, tables, copy, and design ideas without leaving the editor.

**Rey AI** is a built-in agent that lives directly inside the app builder. Unlike generic AI tools, Rey AI has full context of your app — its screens, components, tables, and data — so every suggestion it makes is grounded in what you've already built. Whether you're starting a new screen from scratch or refining an existing flow, Rey AI works alongside you to move faster.

## Accessing Rey AI

To open Rey AI, click the **bot icon** in the bottom-left of the canvas. A chat window opens where you can type your request in plain language. The agent is available at any time while you're working in the editor — you don't need to leave your current screen or context to use it.

## What Rey AI Can Do

> [card] Generate a Screen
>
> Describe the purpose and key elements of a screen and Rey AI builds it — complete with layout, components, and placeholder content.

> [card] Update a Screen
>
> Ask Rey AI to modify an existing screen: rearrange components, add new elements, or change the layout to better fit your needs.

> [card] Generate a Table
>
> Describe the data you need and Rey AI creates a table with the right fields, types, and sample entries to get you started.

> [card] Write Copy
>
> Ask for suggested text for any screen or UI element — headlines, button labels, empty states, tooltips, and more.

> [card] Design Suggestions
>
> Ask Rey AI for ideas to improve the UX of a specific flow, screen, or user journey based on what's already in your app.

> [card] Data Insights
>
> Ask plain-language questions about your app's data — Rey AI interprets what the data shows and surfaces patterns or answers.

## Analytics availability

Rey includes **basic analytics** today. Rey AI can help answer questions about the data available in your app.

**Advanced analytics with PostHog is coming soon**, including deeper event analysis, funnels, and session replay. See [analytics and coming-soon features](https://docs.reyapp.io/integrations/overview.md#analytics-and-coming-soon-features).

## How Results Work

When you submit a request, Rey AI generates changes and shows them in a **preview** before anything is applied to your app. Review what it produced, then choose to **accept** the changes to apply them or **reject** them to discard and try again. Nothing is committed to your app until you explicitly accept it.

> [!NOTE]
>
> Rey AI works best when you give it context about your app's purpose. For example, telling it "this is a meditation app with a paid audio library" helps it generate more relevant screens, copy, and table structures. See the [Prompting Guide](https://docs.reyapp.io/ai/prompting.md) for tips on getting the best results.


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