Putting zippers in?

I have a sweater I am supposed to sew a zipper in, but I am wondering if I should sew it in using my sewing machine or do I use a yarn needle and just push it through the fabric on the sides of the zipper? How do you all do it?

Thanks!

Nevermind, I just figured out how to do it. Thanks though!