How do you root a SGH-i337m?

I'm trying to root my galaxy s4, and I youtubed videos but I want to be safe and not brick my phone. Whats an up to date way to root my phone ? I tried Towelroot but my device wasn't compatitable. The i337m is a canadian s4.