Rope Swing

Hello ladies and gents, I am new here but I have a very quick question. How do you make an object say a rope swing back and forth with box 2d. I am doing a game from the platformer starter kit as a base and I am adding some physics like rope and swing bridges, but I would like to know is how do you make the rope swing independtly I have the rope implemented and drawn to the screen but I can't get to move.

Original thread: https://box2d.org/forum/viewtopic.php?t=6734