Connecting Slick Slider to CMS Help

Hello,

I am trying to create a slider like “Slider Syncing” using slick (slick - the last carousel you'll ever need), however I am a bit confused. How do I make it so the thumbnail images are brought from the CMS and the main image is displayed also in according to the main image of the CMS item?

I am confused as to what code goes where, sorry for the stupid question :frowning:

https://preview.webflow.com/preview/david-dor?preview=21045df93b4b9d534260a418cb68662b

I am trying to implement it in the media page.