Prerequisites
Before you begin, make sure you have set up your Privy app and obtained your app ID and client ID from the Privy Dashboard.Initializing Privy
First, import the Privy SDK at the top of the file:PrivyConfig object:
Configuration
The configuration fields for the PrivyConfig are:String
required
Your Privy application ID, which can be obtained from the Privy Developer
Dashboard, under App Settings > Basics
String
required
Your app client ID, which can be obtained from the Privy Developer
Dashboard, under App Settings > Clients
PrivyLoggingConfig
(Optional) Your preferred log level and logging method. If no log level is specified, it will
default to
PrivyLogLevel.NONE.
