Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion docs/mini-apps/quickstart/create-new-miniapp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,28 @@ cd waitlist-mini-app
npm install
```
</Step>

<Step title="Add Environment Variables">
Add your deployed project URL to Vercel's environment variables using the command below.
```bash Terminal
vercel env add NEXT_PUBLIC_URL=https://your-vercel-project-name.vercel.app
```
</Step>


<Step title="Update Manifest configuration">
The `minikit.config.ts` file is responsible for configuring your manifest located at `app/.well-known/farcaster.json` and creating embed metadata.

<Tip> You can customize the manifest by updating the `miniapp` object.</Tip>
<Info>
Note: ROOT_URL references your NEXT_PUBLIC_URL environment variable, so it will automatically use the Vercel URL you set in Step 3.
</Info>


For details on each field, see the [field reference](/mini-apps/features/manifest#field-reference).
```ts minikit.config.ts
export const minikitConfig = {
accountAssociation: { // this will be added in step 5
accountAssociation: { // this will be added in step 6
"header": "",
"payload": "",
"signature": ""
Expand Down