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

# Build a greenfield application, from prompt to pull request

> Go from an idea to a reviewed pull request and a running Preview in Interactive Chat, with you approving the plan and the code.

By the end of this guide you will have a new application in your repository, a pull request you have reviewed and a Preview environment you can open. You work with Revolte in Interactive Chat, so you can change direction at any point.

**1. Create your account and connect a repository**

Set up your account and workspace, then connect the repository where the application will live. See [Create your account and workspace](https://docs.revolte.ai/get-started/account-setup.md) and [Connect GitHub](https://docs.revolte.ai/integrations/repository/github.md).

**2. Describe what you want to build**

State the outcome, the behavior you expect and any constraints. You give Revolte intent, not a full specification. See [Build from a prompt](https://docs.revolte.ai/workflows/build-from-prompt.md) and [Effective prompts](https://docs.revolte.ai/get-started/prompt-library.md).

**3. Add specs and designs**

Attach requirements, API specs or design files so the plan starts from real context. See [Add files and context](https://docs.revolte.ai/workflows/add-files-and-context.md). If you have a design or an OpenAPI spec, the recipes [Turn a Figma design into working code](https://docs.revolte.ai/use-cases/figma-to-code.md) and [Build APIs from a spec](https://docs.revolte.ai/use-cases/api-from-spec.md) show how.

**4. Approve the plan**

Review the approach Revolte proposes before it writes code. Ask for changes in the same conversation. See [Start a thread and build in Interactive Chat](https://docs.revolte.ai/workflows/chat-feature.md).

**5. Review the code and commit**

Follow the work, inspect the generated code and commit the result when you are satisfied. See [Start a thread and build in Interactive Chat](https://docs.revolte.ai/workflows/chat-feature.md).

**6. Launch a Preview**

Generate deployment configuration, review the files, commit them and launch a managed Preview environment. See [Deploy your first Preview](https://docs.revolte.ai/deploy-operate/from-interactive-chat.md).

## You are done when

* The pull request is merged, or the changes are committed to your branch.
* The Preview opens and the main flow works.

## Next

> [card] [Add and maintain test coverage](https://docs.revolte.ai/use-cases/engineering/test-coverage.md)

> [card] [Ship from first commit to production](https://docs.revolte.ai/use-cases/engineering/first-commit-to-production.md)


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