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

# Build your first app

> Start from a prompt, build a small app with Agent in Free Mode, test it in Preview, and improve it with a focused follow-up.

⏰ *Estimated time: 10 minutes*

By the end of this guide, you will have built and improved a small app from a prompt using **Free Mode**.

![The finished Gather workshop app showing the My RSVPs view in Preview](https://mintcdn.com/replit/19qgTrUVf3Dm9vud/images/first-app-gather/04-refined-my-rsvps.jpg?fit=max\&auto=format\&n=19qgTrUVf3Dm9vud\&q=85\&s=479e323ed634006a20c6776f4395762a)

Copy the prompt

Build on Replit ↗

## Before you start

You need a [Replit account](https://replit.com). This guide uses **Free Mode**, which uses intelligent model routing to select the model. Free Mode is available on the Starter, Core, and Pro plans. Your Free Mode limits depend on your plan, and Core and Pro include an allowance that refreshes every five hours.

The goal is to practice a repeatable prompting loop:

1. Describe one useful outcome.
2. Add observable success criteria.
3. Set boundaries for what not to build yet.
4. Test the result in Preview.
5. Ask for one focused improvement.

## Build the first version

**1. Start a new Website**

Start a new chat and choose **Website** as the artifact:

* If your prompt box shows **Output**, open it and select **Website**.
* Otherwise, select **Add attachment**, then **Create something new**, then **Website**.
* On desktop, you can also hover over **New** in the sidebar and select **Website**.

Open the mode selector and choose **Free**.

If your prompt box has an **Output** menu, select **Website** here:

![Home prompt box with the Output menu open, Website available, and Free mode selected](https://mintcdn.com/replit/A1uiebLXM0mfIUXo/images/first-app/website-output.png?fit=max\&auto=format\&n=A1uiebLXM0mfIUXo\&q=85\&s=6b5c7bcd74ee3db8d2d7a945e9bc04d9)

> [!TIP]
>
> You can also ask Replit to build a website directly in natural language. Selecting Website first makes the intended artifact explicit. Depending on your interface, Website appears as the selected output or as a pill in the prompt.

**2. Describe the outcome and success criteria**

Use this prompt:

Copy the prompt

Build on Replit ↗

![The Gather prompt ready to send with the Website artifact selected and Free Mode enabled](https://mintcdn.com/replit/19qgTrUVf3Dm9vud/images/first-app-gather/01-prompt-free-mode.jpg?fit=max\&auto=format\&n=19qgTrUVf3Dm9vud\&q=85\&s=2d64885ea148fca136b6a254902ddc88)

The prompt starts with one outcome: a workshop-discovery app. It then says what visitors must be able to do, defines observable success criteria, and postpones login, data, payments, and integrations.

Those boundaries keep the first build focused. You can add production capabilities after the core experience works.

**3. Let Agent build in Free Mode**

Send the prompt. Agent plans the artifact, creates the app, starts it, and checks the result. Follow progress in chat and wait until Agent presents a Website artifact and Preview is running.

Free Mode may take a few minutes for a complete first build. If Replit recommends a higher mode for a more complex request, you can decide whether to escalate; this Gather build completes in Free Mode.

![The first working Gather website in the default Build layout with Agent chat and Preview](https://mintcdn.com/replit/19qgTrUVf3Dm9vud/images/first-app-gather/02-first-version.jpg?fit=max\&auto=format\&n=19qgTrUVf3Dm9vud\&q=85\&s=a0a5a6a4ed78a2a288409eb1f7352923)

**4. Test the result in Preview**

Use the app like a visitor. Check that you can:

* Browse the workshop list.
* Open a workshop detail page.
* Submit an RSVP.
* See a clear confirmation after submitting.
* Use the main navigation.
* Resize Preview to a phone-sized width.

Compare the result with the success criteria in the prompt. If something is broken, describe the symptom to Agent instead of trying to diagnose the code yourself.

## Improve the app with a focused prompt

Once the core experience works, ask for one clear improvement at a time. For Gather, add a session-only view of submitted RSVPs:

> Add a My RSVPs view and make submitted workshops appear there for the current session. Keep the existing visual style and do not add login or a database.

![A focused follow-up prompt asking Agent to add a session-only My RSVPs view in Free Mode](https://mintcdn.com/replit/19qgTrUVf3Dm9vud/images/first-app-gather/03-refinement-prompt.jpg?fit=max\&auto=format\&n=19qgTrUVf3Dm9vud\&q=85\&s=1b4284eae7336d50c3b665c1154904d5)

Test the RSVP flow again, then open **My RSVPs**. The submitted workshop should appear for the current browser session.

![The refined Gather app showing a submitted workshop in the My RSVPs view](https://mintcdn.com/replit/19qgTrUVf3Dm9vud/images/first-app-gather/04-refined-my-rsvps.jpg?fit=max\&auto=format\&n=19qgTrUVf3Dm9vud\&q=85\&s=479e323ed634006a20c6776f4395762a)

You have now completed the core Replit loop: **prompt, build, test, and refine**.

## Grow your app

The first prompt deliberately postpones production capabilities. Add them when the core experience is ready:

> [card] [Add login](https://docs.replit.com/build/add-login.md)
>
> Give attendees accounts and private RSVP history.

> [card] [Add a database](https://docs.replit.com/build/add-database.md)
>
> Persist workshops and RSVPs across sessions.

> [card] [Add payments](https://docs.replit.com/use-cases/accept-payments-with-stripe.md)
>
> Sell tickets for paid workshops.

> [card] [Add integrations](https://docs.replit.com/build/add-integrations.md)
>
> Send confirmations or connect calendars and other services.

When you are ready to share the app, follow [Publish your app](https://docs.replit.com/build/publish-your-app.md).
