You can call lottie.loadAnimation() to start an animation. It takes an object as a unique param with:
animationData: an Object with the exported animation data.
path: the relative path to the animation object. (animationData and path are mutually exclusive)
loop: true / false / number
autoplay: true / false it will start playing as soon as it is ready
name: animation name for future reference
renderer: 'svg' / 'canvas' / 'html' to set the renderer
container: the dom element on which to render the animation