> ## Documentation Index
> Fetch the complete documentation index at: https://base-a060aa97-eb-mini-app-ia-overhaul.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Manifest Creation

> Generate your Farcaster account association and expose the /.well-known/farcaster.json endpoint

With a stable URL, create and configure your manifest so users can save and discover your Mini App.

## Generate account association via CLI

```bash Terminal
npx create-onchain --manifest
```

<Info>
  Use your Farcaster custody wallet to sign. You can import it using your recovery phrase from Farcaster (Settings → Advanced).
</Info>

After signing, the CLI updates local `.env` variables:

* FARCASTER\_HEADER
* FARCASTER\_PAYLOAD
* FARCASTER\_SIGNATURE

Update your deployment environment with these values.

<Warning>
  While testing, set `noindex: true` in your manifest to avoid indexing.
</Warning>

## Expose `/.well-known/farcaster.json`

In Next.js, add a route handler at `app/.well-known/farcaster.json/route.ts` that returns your accountAssociation and frame properties. Ensure all asset URLs are HTTPS and publicly accessible.

<Check>
  Open `https://yourdomain.com/.well-known/farcaster.json` in a browser to verify JSON output.
</Check>

## Add frame metadata for embeds

Define `fc:frame` metadata so your app renders a rich embed with a launch button when shared.

<Warning>
  All image and API URLs must be publicly accessible via HTTPS.
</Warning>

<Card title="Feature catalog: Manifest & Embeds" icon="puzzle-piece" href="/mini-apps/features/embeds-and-previews">
  Implement minimal metadata and validation steps
</Card>

<Card title="Launch Guide — Manifest & Discovery" icon="rocket" href="/mini-apps/quickstart/launch-guide#manifest">
  Why it matters and what "good" looks like
</Card>
