Before we begin, you can access the complete source code for this guide on GitHub. 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 vercel and frog for building the frame in this guide, but feel free to use anything else as well! Enter this command in your terminal to create a new app:Creating the frame home page
Head over to theapi/index.ts file. Here, you’ll see a starter frame on the / route. But first, let’s change the Frog configuration to use /api as the base path and use neynar for hubs like this:
Make sure to update the API key to your API key to get analytics
/ route to match this:
/result route is made which we define in the action parameter.

Make sure that you sign in using your warpcast account, so that the requests can be validated
/result route like this:
/ route.

Analytics
Since we are using neynar hub with Frog, 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.