Docs
Contact

SDK quickstart

From a key to a first result with each SDK, step by step.

From a key to a first result, step by step. Each step links to the part of the SDK's own page that shows it.

Flutter

  1. Ask your YOU(th) contact to switch on checkups in an app for your organization, to set its monthly limits and the face video models your key may run, for access to the packages, and for access to the YOU(th) console for an admin of your organization.
  2. Issue a test key in the YOU(th) console, at admin.youth-platform.io: see Keys.
  3. Add the packages and set up Android and iOS: see Add it to your app.
  4. Start the SDK with your test key: see Start it.
  5. Show the checkup, after asking the person for the camera: see Show the checkup.
  6. Run it on a phone, not an emulator or a simulator. Press record and hold still in even light for about a minute. Your console then prints one line per biomarker, such as heart_rate 64 bpm.

Web

  1. Ask your YOU(th) contact to set your organization's monthly limits and the face video models your key may run, and for access to the YOU(th) console for an admin of your organization.
  2. Issue a test key in the YOU(th) console, at admin.youth-platform.io: see Keys.
  3. List your page's origin, such as http://localhost:5173 while you develop, in the console under SDK, Access, or tell your YOU(th) contact. Once one origin is listed, the checkup refuses every other: see What your page needs.
  4. Serve a page over HTTPS (localhost counts while you develop) with the two cross-origin isolation headers: see What your page needs.
  5. Add the iframe and the script, and start the checkup at https://sdk.youth-platform.io with your test key: see Start a checkup.
  6. Open the page on a device with a camera, allow the camera, press record and hold still in even light for about a minute. Your browser's console then shows a table of biomarkers.

Before you go live, test your integration.

Results says what each biomarker is.

Last updated