Skip to content

Installation

TrainingKit Web SDK is loaded from the hosted CDN script.

Add the SDK script

Add the script in your HTML page before you call trainingkit.init() or trainingkit.start():

html
<script
  type="application/javascript"
  src="https://cdn.fizzup.com/js/trainingkit-sdk/1.0.0/sdk.js"
></script>

Runtime requirements

  • A page that can load the hosted TrainingKit SDK script
  • A valid TrainingKit backend base URL for trainingkit.init()
  • A valid workoutId to launch
  • A backend endpoint for token retrieval if API authentication is enabled

Next step

Continue with the Quickstart to launch your first workout.