Let’s get started!Documentation Index
Fetch the complete documentation index at: https://docs.neynar.com/llms.txt
Use this file to discover all available pages before exploring further.
Creating a new frames project
We will use Next.js to build the frame in this guide, but feel free to use anything else if you want! Enter this command in your terminal to create a new app:Using the neynar middleware
Create a new fileframe.ts and add the following:
Make sure to update the API key to your API key to get analytics
Creating the frame home page
Create a new fileroute.tsx in the app folder and add the following:
/result route is made which we define in the target prop.

Make sure that you sign in using your warpcast account, so that the requests can be validated
/result page. Create a new file called result/route.tsx
/ route.

Analytics
Since we are using neynar middleware with framejs, we also get analytics out of the box. Head over to the usage tab and click on the frame that you are currently using. It will provide you with various analytics like total interactors, interactions per cast, etc.