Configure the SDK
Superwall does not refetch its configuration during hot reloads. So, if you add products, edit a paywall, or otherwise change anything with Superwall, re-run your app to see those changes.
As soon as your app launches, you need to configure the SDK with your Public API Key. You'll retrieve this from the Superwall settings page.
Sign Up & Grab Keys
If you haven't already, sign up for a free account on Superwall. Then, when you're through to the Dashboard, click Settings from the panel on the left, click Keys and copy your Public API Key:
Initialize Superwall in your app
To use the Superwall SDK, you need to wrap your application (or the relevant part of it) with the <SuperwallProvider />
. This provider initializes the SDK with your API key.
You've now configured Superwall!
How is this guide?