Skip to main content

How to integrate SIWN?

Example integration

Check out this sample application (github) that integrates Sign in with Neynar and allows users to cast.

Step 0: Set up your app in the Neynar developer portal

Go to the Neynar Developer Portal settings tab and update the following
  1. Name - Displayed to the user in Step 3.
  2. Logo URL - Displayed to the user in Step 3. Use a PNG or SVG format.

Step 1: Install the package

Step 2: Find clientId and apiKey

clientId -> Neynar Developer Portal, Settings tab. e.g. 00b75745-xxxx-xxxx-xxxx-xxxxxxxxxxxx\ apiKey -> Neynar API Key

Step 3: Add a button in your Signin screen

And all set

Appendix

interface ISuccessMessage is exported from @neynar/react-native-signin which looks like this