Skip to content

Installation

WorkoutKit Web SDK is loaded from the hosted CDN script.

Add the SDK script

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

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

Runtime requirements

  • A page that can load the hosted WorkoutKit SDK script
  • A valid WorkoutKit base URL for workoutkit.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.