Why You Need a Manifest
The manifest performs two critical functions:- App Identity: Tells clients your app’s name, icon, and display properties
- Domain Verification: The
accountAssociation
proves you control both the domain and linked Farcaster account, enabling features like notifications
Manifest Requirements
Your manifest file must meet these requirements:- Must be accessible at
https://yourdomain.com/.well-known/farcaster.json
- Must return valid JSON with
Content-Type: application/json
- Must be publicly accessible (no authentication required)
- Must include both
accountAssociation
andframe
/miniapp
objects
Complete Manifest Structure
Framework-Specific Implementation
Choose the approach that matches your technology stack:- Next.js: Create API route at
app/.well-known/farcaster.json/route.ts
- Vite/Static sites: Place file in
public/.well-known/farcaster.json
- Express/Node.js: Add route handler for
/.well-known/farcaster.json
- Any framework: Ensure the URL resolves and returns the JSON
Generate Your Account Association
- Visit the Mini App Manifest Tool
- Enter your your root url for your app, where your manifest will be hosted.
- Generate your
accountAssociation
object. - Copy the generated values into your manifest.
Verify Your Setup
Test your manifest accessibility by visitinghttps://yourdomain.com/.well-known/farcaster.json
in your browser. You should see your JSON manifest returned with the correct content type.