> For the complete documentation index, see [llms.txt](https://docs.amply.tools/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.amply.tools/mini-apps/overview.md).

# Mini-apps

Design the screens a campaign shows inside your app — bottom sheets, cards, stories and full-screen flows — and change them without a release.

A campaign decides who gets an experience and when. When that experience needs screens your app doesn't have, build them in the **Builder** as a **mini-app**: an offer that slides up from the bottom, a rating card, a "what's new" story, a short onboarding flow, a survey. Publish it, pick that version in a campaign, and change it later without releasing a new build.

The Builder labels a mini-app a **document** in its list and in the campaign form. Both words mean the same thing: the mini-app and all of its screens.

**Use this when** you want a campaign to show a screen your app doesn't have yet, or one you want to change without shipping a build. **Use a** [**Deep Link**](https://docs.amply.tools/user-guide/campaigns.md#deep-link) **campaign instead** when the screen already exists in your app and Amply only has to decide who sees it and when.

![A bottom sheet, a centred card, a story and a full-screen flow, all built in the Builder](https://1054862905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVDwzd9ZLJgvvnIADl8D%2Fuploads%2Fgit-blob-611956465f1414f330d38ed9f452edef591cd711%2Fbuilder-formats.png?alt=media)

## What you can build

Every screen of a mini-app is one of four kinds:

| Kind            | How it opens                                                              | Good for                                            |
| --------------- | ------------------------------------------------------------------------- | --------------------------------------------------- |
| **Sheet**       | Slides up from the bottom; the app stays visible above it.                | Offers, short questions, feature tips               |
| **Card**        | Floats in the middle of the screen over a dimmed app.                     | Rating asks, confirmations, one-line announcements  |
| **Story**       | Full-screen slides with progress bars that play one after another.        | "What's new", feature tours, seasonal announcements |
| **Full screen** | Covers the whole screen, with buttons that can stay pinned at the bottom. | Onboarding, plan pickers, longer surveys            |

A mini-app can mix kinds of screen: a sheet can open a full-screen plan picker, and the last slide of a story can open another screen.

On the screens you place text, images, buttons, choices, text fields, toggles and sliders. Buttons and gestures run actions: go to another screen, go back, close, open a deep link in your app, ask for a store rating, save the user's answers, or send an event. Answers are saved to the user as [custom properties](https://docs.amply.tools/concepts/user-attributes.md), so a later campaign can target on them.

A mini-app has light and dark colours and can carry several languages. See [Building a mini-app](https://docs.amply.tools/mini-apps/building-a-mini-app.md) and [Languages](https://docs.amply.tools/mini-apps/languages.md).

## How a mini-app reaches users

1. **Build it** in the Builder. Your edits save as a draft automatically; nobody sees a draft.
2. **Publish it.** Publishing creates a numbered version that doesn't change: v1, v2, and so on.
3. **Attach it to a campaign** of type **Mini-app** and pick the version. The campaign's Who and When decide who sees it and when, like any other campaign.
4. **Start the campaign.** From then on the SDK shows the mini-app to users who match.

A campaign keeps showing the version you picked. Publishing a new version changes nothing until you point the campaign at it. See [Publishing and versions](https://docs.amply.tools/mini-apps/publishing-and-versions.md).

## Requirements

* **Plan.** Your plan includes the Builder. If **Builder** is missing from the project sidebar, see [Dashboard tour](https://docs.amply.tools/user-guide/dashboard-tour.md#upgrade-the-plan).
* **Role.** Only administrators of the organization can open the Builder; other members see a permission notice.
* **App version.** Mini-app campaigns reach devices on Amply SDK 0.12.0 or later. The campaign form shows the share of your devices on older versions.
* **Deep links.** No extra app code is needed to show a mini-app. An **Open deep link** action reaches your app's deep-link handler, the same one Deep Link campaigns use; see [Handling deeplinks](https://docs.amply.tools/developer-guide/handling-deeplinks.md).

## What a mini-app can't do

Plan around these:

* **No required fields or input checks.** A button always runs its actions, even when a field is empty. Where a value must exist, use a slider or a choice with a default, or open a screen of your own app that can check it.
* **No branching.** A button has one fixed list of actions. To branch, give the user separate buttons.
* **No earlier answers in text.** A screen can't repeat an answer the user gave on an earlier screen.
* **No payments.** A mini-app can't sell. To take the user to a purchase, open your app's own paywall with an **Open deep link** action.

## Build one with an AI assistant

If your team uses Claude, Cursor or another assistant connected to [Amply's MCP server](https://docs.amply.tools/reference/mcp-tools.md), it can build a mini-app from a description, and you finish it by hand in the Builder. See [Building with an AI assistant](https://docs.amply.tools/mini-apps/building-with-ai.md).

## Related

* [Building a mini-app](https://docs.amply.tools/mini-apps/building-a-mini-app.md) — the editor, screens, components and actions
* [Languages](https://docs.amply.tools/mini-apps/languages.md) — translating a mini-app
* [Publishing and versions](https://docs.amply.tools/mini-apps/publishing-and-versions.md) — publishing, history, rollback and attaching to a campaign
* [Building with an AI assistant](https://docs.amply.tools/mini-apps/building-with-ai.md) — the Builder and the MCP server together
* [Campaigns](https://docs.amply.tools/user-guide/campaigns.md#mini-app) — the Mini-app campaign type
