This guide takes you from an empty project to a working SDK integration.Documentation Index
Fetch the complete documentation index at: https://docs.pnlight.app/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Access to the PNLight dashboard.
- Your app bundle ID.
- App Store Connect access if you want PNLight to check purchases.
- An app build that can install a native iOS dependency.
Create a project
In the dashboard, create a project for your app. Enter the app name, bundle ID and App Store ID.
Copy the SDK token
Open Settings and copy the project SDK token. The SDK token connects app events to this project.
Install the SDK
Add the SDK for your app stack: Swift, React Native, or Flutter.
Initialize PNLight
Call the SDK initialization method during app startup, before you check purchases or request server-driven UI.
Configure App Store credentials
Open Settings and add the issuer ID, App Store shared secret, and in-app purchase key. Use the notification URL shown in Settings when configuring App Store server notifications.
Send attribution when available
If you use AppsFlyer or another attribution provider, send attribution data through the SDK after the provider returns it.
Minimal SDK initialization
Next steps
- Render server-configured screens with server-driven UI.
- Review app performance with analytics.