Install MiniKit (part of OnchainKit) into your existing Next.js App Router project.

Prerequisites

Your project uses the app/ directory (App Router).
Your app is deployed and publicly accessible over HTTPS (e.g., Vercel).
You have access to your Farcaster custody wallet for manifest signing.
Sign in to Coinbase Developer Platform to get a Client API key.

Install dependencies

npm install @coinbase/onchainkit
Verify @coinbase/onchainkit appears in your package.json.