the gray wire should be the hot wire so it would need to go to a power source when the key is in the on position and the crank position the back one should be a ground to the frame or engine since the mower wasn't set up for this type of carb you will more then likely have to run new wires but shouldn't be a big problem good luck