. Hello World Journey
This guide walks you through building your very first DataSapien Journey end to end — from initialising the Mobile SDK in your app, to designing the Journey on the Orchestrator, to running it on a device.
. Initialise the SDK
The DataSapien Mobile SDK is what runs Journeys, stores MeData on-device and talks to the Orchestrator. You add it to your app once and initialise it on every app launch.
. Define a MeData
A MeData Definition describes one data point you want the SDK to collect on-device — its name, source, value type and constraints. The SDK fetches every Definition you publish on the Orchestrator and uses it to know how to collect and store values.
. Build the Journey
A Journey is a flow of steps that the SDK runs on the device. Each step reads from and writes to the JourneyContext — a per-execution variable bag — so later steps can use what earlier steps produced.
. Publish the Journey
In the final section of the editor, review the summary and click Publish.
. Run the Journey in your app
Your host app reaches Journeys through the JourneyService. The recommended path is SDK-provided UI: the SDK renders the Journey's screens itself in a styleable WebView, so your app only needs to fetch the Journey by name and run it.