> ## 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.

# Projects and chats

> How Newly organizes your work into projects and chats.

In Newly (app.newly.app), your work is organized into projects and chats. Every chat runs in the cloud.

## Projects

A project is one app. It holds your app's code, its chats, and its backend if it has one.

You create a project by sending your first prompt from Home. Newly names the project from the first line of your prompt, then starts a chat in it. See [Build your first app](https://docs.newly.app/get-started/quickstart.md).

### Finding your projects

The Home sidebar has a **Projects** group with three views:

* **All Projects**: every project you can open.
* **Created by me**: projects you created.
* **Shared with me**: projects other people shared with you. See [Share a project](https://docs.newly.app/code/sharing-projects.md).

Until you pick a view, the list under the group is **Recents**: your 5 newest projects.

When you have projects, the banner on Home shows your last project with "Pick up where you left off." Press **Open Project** to go straight back to it.

A project's address is `app.newly.app/projects/<id>`. The id at the end is your project id, which you also use with the newly CLI. See [Get your code](https://docs.newly.app/code/get-your-code.md).

## Chats

A project can have many chats. Start another one with the **+** (New chat) button in the chat header.

* Each chat keeps its own conversation and its own memory of what you discussed.
* A chat runs one request at a time. Messages you send while the agent works wait in a queue. See [Chatting with the agent](https://docs.newly.app/build/chatting-with-the-agent.md).
* Separate chats are useful for separate pieces of work, such as one chat for a new screen and another for a bug.

### Chats hand the code to each other between turns

Every chat in a project works on the same line of code, but they don't share one live
copy. Each chat has its own working copy, and they sync at turn boundaries:

* When a chat finishes a turn, its work is saved and published to the project's code.
* When a chat starts a turn, it first picks up everything published since its last one.

So a chat begins where the other chats' finished turns left off. A change you make in one
chat isn't visible in another until that other chat starts its next turn, and work still
in progress in a chat mid-turn isn't visible anywhere else yet.

**Restore to here** and **Undo** follow the same rule: they move the project's code back,
and each other chat picks that up on its next turn rather than being changed underneath it
while it works.

See [Where your code lives](https://docs.newly.app/code/where-your-code-lives.md) and [Undo and Restore to here](https://docs.newly.app/code/undo-and-restore.md).

### Running and parked chats

By default, up to 3 chats can run at once. An idle chat parks after about 15 minutes, and your next message resumes it. A chat doesn't park while the agent is working or a native build is running. See [Parked chats and limits](https://docs.newly.app/build/sleep-and-limits.md).

## Related

> [card] [Share a project](https://docs.newly.app/code/sharing-projects.md)
>
> Invite people and choose what they can do.

> [card] [Delete a chat, project or account](https://docs.newly.app/account/delete.md)
>
> What you can restore, and for how long.

> [card] [Parked chats and limits](https://docs.newly.app/build/sleep-and-limits.md)
>
> Parking, resuming and the three-hour turn limit.


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