12 v goes to the center terminal, and one solenoid wire goes to the grapple up terminal, and the other solenoid wire goes to the grapple closed terminal.
One wire from each solenoid is tied together and goes to ground.
You might need a fuse in the circuit, but depends on the circuit you use.
The red wire on the switch is connected to a hot wire
One of the black wires on the switch is connected to one of the black wires on the valve
The other black wire on the switch is connected to the other black wire on the valve.
The valve is internally grounded.