# How do I build and launch an app with Claude Code?

> Claude Code builds the web app, a brief from Cherry's portal adds the mini-app integration, and you list it free in Cherry on iPhone, Android and the web.


To build an app with Claude Code, you describe it in plain words inside a project folder, let the agent plan, write and run the code, then deploy the result as a web app at a public https address. To launch it, you list that web app yourself at [portal.cherry.fun](https://portal.cherry.fun), free and with no review queue, after Claude Code adds the mini-app integration from a brief the portal writes for it. The app then opens inside Cherry.fun on iPhone, Android, the Solana Seeker and the web, so people who installed Cherry from the App Store, Google Play or the Solana dApp Store can use it without you holding a store listing of your own.

Your first users also arrive ready to pay. They already hold a [Cherry wallet](https://cherry.fun/learn/features/cherry-wallet/) on Solana, BNB, Base and Robinhood Chain and top it up inside Cherry with a card, Apple Pay, Google Pay or PayPal, so your app gets them signed in with no on-ramp, sign-up form or wallet picker to build.

## Before you start

- **Claude Code on any of its surfaces**: the terminal, an IDE extension, the desktop app or the web. Anthropic's [Claude Code overview](https://code.claude.com/docs/en/overview) says most surfaces need a Claude subscription or an Anthropic Console account. On macOS, Linux and WSL, the native terminal install takes one line.

```bash
curl -fsSL https://claude.ai/install.sh | bash
```

- **A host that serves your app over https.** Any host works; a staging address is enough to start.
- **A crypto wallet** to accept the Developer Agreement, which the listing wizard asks you to sign.
- **An idea outside the restricted categories.** Games of chance with stakes, prediction markets, token launches and regulated financial services fall under separate rules and Partner agreements ([Mini App Policy](https://portal.cherry.fun/docs/mini-apps/policy)); this guide does not cover them.

## Step 1: Plan the app in plan mode

Start Claude Code in an empty project folder and switch to plan mode (Shift+Tab cycles the modes in the terminal). In [plan mode](https://code.claude.com/docs/en/permission-modes) Claude writes a plan and edits nothing until you approve it. Ask for a web app from the start: a Cherry mini-app is a website that Cherry opens in a frame, so a native iOS build would not fit. Put the constraints that matter later into the first prompt:

```text
Plan a mobile-first web app: a daily word puzzle where players can buy
extra hints for a small amount of SOL. React front end, a small Node
backend. Keep the user's session in memory and send it in an
Authorization header, no cookies. Show me the plan before any code.
```

The cookie line saves a debugging session: browsers block third-party cookies inside frames, so a cookie session signs the user out on the next request.

The plan is ready to approve once it names the pages, what the backend stores and how a purchase happens.

## Step 2: Build it and try it at phone size

Approve the plan and let Claude Code write the files, install packages and start the dev server; review each diff before you accept it. Then open the app in a browser window about as wide as a phone, because the automated test that runs before listing uses a phone-sized screen.

Keep your normal login for visitors who open the app outside Cherry. Inside Cherry, Step 5 replaces it.

Move on once a full round plays through in a narrow window.

## Step 3: Deploy to a public address

Ask Claude Code to add a deploy script for your host, or run the deploy command yourself. The address must answer over https with a 200, with no login screen or bot challenge in front of it, because Cherry's checks load it from outside. A listing takes a main address plus up to three test addresses.

To check, open the URL in a private browser window on your phone.

## Step 4: Start the listing and copy the brief

Open the listing wizard at portal.cherry.fun and fill in the first steps: name, pitch, icon and cover; who runs the app; where it runs; how it earns (sales, a commission, something else, or free); and the terms. You get an app ID, which names your app in every launch token Cherry sends it.

At the integration step, the wizard writes a prompt for your agent, filled with your app ID, origin and revenue model. Copy it, or download it as Markdown. It walks the agent through the SDK, the framing header for your host, sign-in, wallet use within your trust tier and the domain proof file, and includes a self-check list; it ends by sending you back to the wizard to run the checks ([Build with an AI agent](https://portal.cherry.fun/docs/mini-apps/ai-agents)).

## Step 5: Let Claude Code do the integration

Paste the brief into Claude Code in the repository that serves your app's URL, with your backend in the same workspace. Ask it to run the self-check at the end of the brief and to show you the diff before you deploy.

If you prefer a skill, Cherry publishes one for Claude Code in its public SDK repository, listed on the [For AI agents](https://portal.cherry.fun/docs/ai/for-ai-agents) page. Copy it into your personal skills folder and call it by name:

```bash
git clone https://github.com/cherrydotfun/miniapp-sdk
cd miniapp-sdk
cp -r skills/cherry-miniapp-integration ~/.claude/skills/
```

Then type `/cherry-miniapp-integration` inside Claude Code.

Either route leads to a small change. The agent installs the SDK, sends a header that lets Cherry frame your pages, and signs the user in from the launch token, verified on your backend:

```bash
npm install @cherrydotfun/miniapp-sdk@^0.1.24 @solana/web3.js @solana/wallet-adapter-base
```

```http
Content-Security-Policy: frame-ancestors 'self' https://chat.cherry.fun https://cherry.fun https://*.cherry.fun
```

It also serves a domain proof file at `/.well-known/cherry-app.json` on every origin your app uses, holding `{ "appId": "YOUR_APP_ID" }`. When Claude Code needs a detail the brief leaves out, point it at `https://portal.cherry.fun/llms.txt`, the plain-text index of Cherry's docs.

You know it worked when the app, opened inside Cherry, shows the user's name with no connect-wallet button and no login signature.

## Step 6: Run Cherry's checks and go live

Redeploy, go back to the wizard and add the address your app now runs on. Open it in your test room, a private Cherry group with your app inside that only your team sees. Then run the automated checks (reachable, framable, origin, public Terms and Privacy Policy) and the automated test, which opens the app in a real browser on a phone-sized screen, signed in as a Cherry test user, in about a minute. Every failure says what to change, so paste it back to Claude Code as it is.

When everything passes, publish. Your app is listed at once, as Unverified, and opens inside Cherry for everyone ([Listing and publishing](https://portal.cherry.fun/docs/mini-apps/listing)).

That first audience is not one market: Cherry's users run the app in ten languages and counting, so a launch on day one already reaches people well beyond your own timezone.

## Step 7: Charge from the first day

You can sell items, charge for access or take a commission as soon as the app is listed. Each payment is a Solana transaction the user approves in Cherry, on their own device. Requests on other chains are refused today, so price things in SOL or Solana tokens. Two limits shape a first version:

- **Trust tiers.** An Unverified app can take up to $50 per transaction and $50 per wallet per day. An identity check of the project owner, about three minutes in the portal, makes every project they own Verified, with up to $1,000 per transaction and $5,000 per wallet per day ([Wallet and limits](https://portal.cherry.fun/docs/mini-apps/wallet), [Verification](https://portal.cherry.fun/docs/mini-apps/verification)).
- **One-off payments only.** Subscriptions, token approvals and delayed transactions are refused for Unverified and Verified apps, so sell items or passes.

Cherry asks no fee on what the app earns. If it does well, you can send Cherry a voluntary tip; skipping it changes nothing.

## Troubleshooting

The [Troubleshooting page](https://portal.cherry.fun/docs/mini-apps/troubleshooting) maps every test result to its fix.

- **Blank screen inside Cherry.** The framing header is missing on the final URL, often after a redirect. Ask Claude Code to send it on every HTML response and remove `X-Frame-Options`.
- **The app shows its own login screen inside Cherry.** It ignores the launch token. Sign in from the token when the app runs inside Cherry and keep your login for everyone else.
- **Signed in, then signed out on the next request.** The session lives in a cookie. Keep it in memory and send it in an `Authorization` header.

## Related guides

- [List a mini-app for free](https://cherry.fun/learn/features/list-a-mini-app-for-free/): what a Cherry listing gives a builder.
- [Getting a Claude Code app into the App Store](https://cherry.fun/learn/guides/claude-code-app-store/): what the store route asks of you.
- [How to build a mini app](https://cherry.fun/learn/guides/how-to-build-a-mini-app/) from a web app you already have.
- [Vibe-coded app security checklist](https://cherry.fun/learn/guides/vibe-coded-app-security-checklist/) before you take payments.
- [How to publish a vibe-coded app](https://cherry.fun/learn/guides/how-to-publish-a-vibe-coded-app/) built in Lovable, Bolt or Replit.

Get Cherry on [iPhone](https://apps.apple.com/app/cherry-fun-solana-messenger/id6749173799), [Android](https://play.google.com/store/apps/details?id=fun.cherry) or [the web](https://chat.cherry.fun) to open your app the way your users will.

## FAQ

### Can Claude Code build a whole app by itself?

It can write most of a web app from plain-language requests. Anthropic describes it as an agentic coding tool that reads your codebase, edits files and runs commands. You still choose what to build, approve its plan, review its diffs and deploy the result.

### Does Claude Code publish the app for me?

Not to users. Claude Code can run your host's deploy command if you let it, but listing the app is a step you take yourself in the wizard at portal.cherry.fun, once the automated checks and test pass.

### Which Claude Code plan do I need to build an app?

Anthropic's Claude Code overview says most of its surfaces need a Claude subscription or an Anthropic Console account, and the desktop app needs a paid subscription. Cherry adds no cost of its own: listing the finished app inside Cherry is free.

### Is there a Cherry skill for Claude Code?

Yes. Cherry publishes a mini-app integration skill in its public SDK repository on GitHub. Copy the cherry-miniapp-integration folder into ~/.claude/skills and run /cherry-miniapp-integration in Claude Code, or paste the brief from the listing wizard.

### What can users pay for in an app I built with Claude Code?

One-off items, access or a commission, paid as Solana transactions the user approves in Cherry. A new listing allows up to $50 per transaction and $50 per wallet per day until the owner verifies, and subscriptions are refused.

### Will the app still work for people outside Cherry?

Yes. The app stays a normal website at its own address. Inside Cherry the user arrives signed in from the launch token; outside Cherry your own login keeps working.

## Sources

- [Claude Code overview](https://code.claude.com/docs/en/overview)
- [Claude Code: permission modes and plan mode](https://code.claude.com/docs/en/permission-modes)
- [Claude Code: skills](https://code.claude.com/docs/en/skills)
- [Cherry Portal](https://portal.cherry.fun)
- [Cherry docs: Build with an AI agent](https://portal.cherry.fun/docs/mini-apps/ai-agents)
- [Cherry docs: For AI agents (integration skills)](https://portal.cherry.fun/docs/ai/for-ai-agents)
- [Cherry docs: Mini-app Quickstart](https://portal.cherry.fun/docs/mini-apps/quickstart)
- [Cherry docs: Listing and publishing](https://portal.cherry.fun/docs/mini-apps/listing)
- [Cherry docs: Wallet and limits](https://portal.cherry.fun/docs/mini-apps/wallet)
- [Cherry docs: Verification](https://portal.cherry.fun/docs/mini-apps/verification)
- [Cherry docs: Troubleshooting](https://portal.cherry.fun/docs/mini-apps/troubleshooting)
- [Cherry docs: Mini App Policy](https://portal.cherry.fun/docs/mini-apps/policy)

