Don't know if it's the best way but this is how I've run mine. Sorry it's not a better picture but it's the only one I could find that shows them.
The cables run inder the diff and are cable tied together as just near the pinion to keep them away from the flange. I've also used a couple of cable ties to secure them to the frame rails under the diff so they are kept away from the axles.
Hope this helps