> For the complete documentation index, see [llms.txt](https://docs.riff.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.riff.ai/interactive-guides/how-to-deploy-an-application.md).

# How to deploy an application

Get your app ready for other people with one prompt, then deploy it.

{% @riff-academy/riff-academy-guide url="<https://databutton.github.io/riff-academy/deploy.html?section=what-this-shows>" %}

Deploying gives your app a web address and lets your team in. Before you press the button, one prompt gets the app ready for people who aren't you, and sets it up so you can keep improving it once they're using it.

Who can open your app once it's deployed is covered in [Access](https://docs.riff.ai/reference/app-builder/access.md). Everything on this page is yours.

#### Before you deploy: send one prompt

In your app's chat, send:

> Run the deployment checklist skills before I deploy.

The agent reads your app, then asks a few questions only you can answer: who should be able to sign in, who should see how the app is used, what people should be able to give feedback on, and whether changes to important data need an undo.

When it's finished, it reports back with four things: what it **built**, what it **fixed**, what it **left open on purpose**, and what is still **your decision**.

{% hint style="info" %}
Run it before every release, not just the first. Each improvement goes back through the same checks.
{% endhint %}

***

#### What it sets you up to do

The checklist covers four things. Each one sets up a later stage of your app's life.

**Help, feedback & usage: so you can listen and learn**

* A **How it works** page, so people know what the app is for without asking you.
* A quick 👍 / 👎 on results, and an **Ideas** board where people suggest improvements and vote. You reply and set a status, so they see their feedback acted on. Have something else in mind? Let the agent know.
* A **Usage** page, visible only to the people you choose: who uses the app, how often, where it fails, and which results people find useful.

**What this gives you:** feedback arrives as part of the work instead of in emails and corridor chats. When you come back to improve the app, you start from evidence, not memory.

**Easy to use: so people don't get stuck**

The main journeys are checked and fixed on the screens people actually use, including a laptop, not just the monitor you built it on. That covers loading feedback, empty results that look broken, and screens with too much on them.

**What this gives you:** fewer people give up in the first week, and fewer questions land with you.

**History & undo: so mistakes can be put right**

Where people can change data that matters, every change is recorded (who, when, and what it was before) and can be restored. If your app only reads data, you won't need this, and the agent asks rather than assumes.

**What this gives you:** you can let more people edit with confidence, and answer "who changed this?" in seconds.

**Final review: so someone can sign it off**

One complete check of access, data and setup: anything reachable that shouldn't be, how credentials are stored, and personal data the app doesn't need. It ends in a clear go or no-go, written up as a record your approver can read.

**What this gives you:** a sign-off based on what was checked, fixed and decided, not on trust.

***

#### Your part

* **Answer its questions.** It builds around your answers, not around a default.
* **Read the report and make the calls it leaves you.** For example, whether to stop pulling in personal data the app never uses.
* **Look before you share.** Open what it built in the preview. The interactive guide above walks through each one.

***

#### Deploy, then keep improving

Press **Deploy**. The Deploy window checks your app before it goes out.

If your team asks for approval to deploy, request it from the Deploy window. A team Owner or Admin approves it once for you and this app, and after that you deploy directly.

Once it's live, the app keeps working for you:

| Stage       | What happens                                                                                                                             |
| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| **Listen**  | Your users' reactions, ideas and usage are collected as they work.                                                                       |
| **Learn**   | Check the Usage page on a regular rhythm, for example after each month-end.                                                              |
| **Improve** | Bring what you've learned back to Riff, for example "Look at the feedback on flags and suggest what to change", then release the change. |

The live app doesn't change until you deploy again, so you can keep building safely. Every change goes back through the same prompt before it ships.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.riff.ai/interactive-guides/how-to-deploy-an-application.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
