There must be some test ports, gauge ports, and other smaller pipes branching off of the main, no?

Just attach to one of these with an appropriate clamp, making sure that there is a solid metallic path back to the main pipe.