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

# Build your first app

> Go from signing in to your first app running in a cloud simulator.

This guide takes you from signing in to Newly (app.newly.app) to your first app running in a cloud simulator.

## Before you start

* **A browser.** Newly at app.newly.app needs nothing installed. You can build, preview on cloud simulators and ship to TestFlight entirely from your browser. There's no Newly phone app to download.
* **A plan, or credits from Newly.** Newly has no free credits at sign-up. You can't create a project or run a Newly Agent prompt with 0 credits unless Newly gives you credits or a gift plan. You pick a plan in step 4.

> [!NOTE]
>
> You don't need a phone or Xcode to build and try your app. It runs on cloud simulators inside Newly.

## Build your first app

**1. Open Newly**

Go to app.newly.app in your browser.

**2. Sign in and answer a few questions**

Sign in with an email code, Google or GitHub. See [Sign up and sign in](https://docs.newly.app/get-started/sign-in.md).

The first time you sign in, Newly asks a few short questions, such as "How did you hear about us?" and "How much of this have you done before?". A three-card tour follows. Press **Start building** on the last card.

**3. Describe your app on Home**

Home shows a prompt box under "Let’s make something new". Describe the app you want in a few sentences: who it's for, the main screen, and what someone does there.

To copy the look of an existing site, paste a link to a public website into your prompt.

Send the prompt. Newly creates a project, names it from the first line of your prompt, and starts a chat in it.

**4. Pick a plan if Newly asks**

If your account has no credits, sending your first prompt opens **Billing** with "Pick a plan to start building with Newly." Choose a plan and finish checkout, then send your prompt. No project is created until you have credits.

If Newly sent you a gift link, open it in your browser before you pick a plan. See [Plans and top-ups](https://docs.newly.app/billing/plans-and-top-ups.md).

If you're a member of someone else's organization, only an owner or admin of that organization can buy credits. Ask them to add a plan.

**5. Watch the agent work**

Newly Agent builds a small first version on purpose: usually one screen with sample data. That gets something running quickly, and you shape it from there.

The status line shows what the agent is doing, such as building the app or checking the preview. While the agent works, the send button turns into a stop button. After about 10 seconds the status line adds "You can stop safely: completed work stays saved."

**6. See your app**

Press **Preview** in the chat's title row. This opens the preview pane and starts your simulator when a build is ready. You can also press **Start my simulator** in the preview pane. Your app opens on a cloud simulator that you can tap and scroll like a phone.

See [Previewing your app](https://docs.newly.app/preview/overview.md) for the iOS and Android simulators.

**7. Keep improving it**

Ask for one change at a time, then check the result in the preview. For example: "Add a settings screen with a dark mode switch."

* To talk through an idea without changing code, switch the prompt box to **Ask** or **Plan**.
* If a change goes wrong, use **Restore to here** on an earlier message to go back. See [Undo and Restore to here](https://docs.newly.app/code/undo-and-restore.md).

## What uses credits

Newly Agent's work in your chat uses credits. Watching your app in a cloud simulator doesn't draw down credits. See [How credits work](https://docs.newly.app/billing/how-credits-work.md) for the full list.

## Next steps

> [card] [How credits work](https://docs.newly.app/billing/how-credits-work.md)
>
> What uses credits and how plans refill them.

> [card] [Previewing your app](https://docs.newly.app/preview/overview.md)
>
> Cloud simulators and the preview pane.

> [card] [Testing on a real phone](https://docs.newly.app/preview/test-on-a-phone.md)
>
> Try your app on your own iPhone.

> [card] [Ship your iOS app to TestFlight](https://docs.newly.app/publish/testflight.md)
>
> Owners and admins can send an iPhone build to TestFlight from a chat.


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