how to add track to timeline in cesium.viewer

Hi,

What is a simple way to add track to the timeline? Cesium.Viewer has the option to turn on timeline, but by default the timeline does not have any track on it.

Thanks

Posting answer to my own question for any beginner like me.