Mechanical design

Hello

I have a problem fixing a chain on a pulley and doing the animation on the solidworks 

and thank you in advance

I haven't tried it on solidworks yet, I've been working on it just for 1 month but here is some link that could help

 

https://www.youtube.com/watch?v=19MASFCnJr0
https://www.youtube.com/watch?v=orqr5ZhObsU
https://www.youtube.com/watch?v=LkcDP6XcFhc