Quickstart
Get AppDNA running in your app in five steps. By the end, you will have the SDK installed, configured with your API key, a user identified, and your first event flowing into the dashboard.API keys are found in Console → Settings → SDK → API Keys. Production keys start with
adn_live_, sandbox keys with adn_test_.Step 1: Install the SDK
- iOS
- Android
- Flutter
- React Native
Add the AppDNA SDK via Swift Package Manager:
- In Xcode, go to File → Add Package Dependencies…
- Enter the repository URL:
- Select the package AppDNASDK and add it to your target.
Step 2: Configure the SDK
Initialize AppDNA as early as possible in your app’s lifecycle — ideally in your app delegate, application class, or root component.- iOS
- Android
- Flutter
- React Native
Step 3: Identify the User
Once your user signs in (or you have a stable user identifier), callidentify to link events to that user. You can also pass traits that AppDNA uses for segmentation and experiment targeting.
- iOS
- Android
- Flutter
- React Native
Before
identify is called, the SDK generates an anonymous ID on first launch. Events are tracked against this anonymous ID and automatically linked when you call identify.Step 4: Track Your First Event
Send a custom event with properties. These events flow into AppDNA analytics and can be used as experiment goals, retention triggers, and webhook payloads.- iOS
- Android
- Flutter
- React Native
Step 5: Verify in the Dashboard
Open the Event Debugger in console.appdna.ai to confirm your events are arriving:- Navigate to Console → Events → Debugger.
- Select your app and environment.
- You should see
workout_completedappear within a few seconds.
If you see your event in the debugger, you are all set. The SDK is installed, configured, and sending data to AppDNA.
What’s Next?
Core Concepts
Learn about offline-first design, config bundles, experiment bucketing, and more.
Paywalls
Design and deploy server-driven paywalls without app updates.
Experiments
Run A/B tests with deterministic, cross-platform bucketing.
Push Notifications
Send targeted push campaigns and automated retention journeys.