4 spd neutral safety switch

Can anyone tell me how to wire the one wire neutral safety switch? I know its one wire . I have a aftermarket wiring kit in the car. Right now I have one spade connector on the starter relay grounded which I assume bypasses neutral safety switch. I now have installed the factory switch on the pedal. Not sure if I power the wire on the neutral safety switch to an accessory from the ignition switch. If so where is the ground coming from?? seems like I should have one more wire to run to starter or starter relay. This should be simple but I'm missing something. Any help would be appreciated.