The code on this page is extracted from a sample project that compiles against each SDK release; the quickstart cannot drift from the SDK.
1. Install
Install the SDK from the PIO package registry via UPM, pinned to an exact release. The registry is public, so no key is needed. The exact manifest lines are on Installation & versioning.2. Configure
In the dashboard: create your project, then note its API key, account id, and project id. Define an action definition for your first decision point and pick its default action.3. Initialise
Register every action definition your game requests, each with a fallback, then initialise once at startup.Samples~/BasicIntegration/Assets/Scripts/QuickstartBootstrap.cs
4. Request a decision
Ask at the decision point and apply the returned action. Failure handling is built in: offline, degraded, or timed out, the call returns your registered fallback. A nullAction marks the baseline control group; show that player your control experience.
Samples~/BasicIntegration/Assets/Scripts/QuickstartBootstrap.cs
5. Track events
Valued events feed reward derivation; bare events record occurrences.Samples~/BasicIntegration/Assets/Scripts/QuickstartBootstrap.cs
6. Verify
Run the game and exercise the decision point. Then confirm the round trip: thePIO/Verify Integration editor menu, or the dashboard’s integration-health view, shows events arriving and the next step if they are not.