Just splice to the "hot when key is on wire" from the ign switch, or from the fuse box to the gauge, ground the other side to ground.

Pat