You need an earth, perm live and switched live... Switched live is purple, live is red and earth is black. I'd run a switch inbetween the perm live if you don't want it running all the time when above 10psi.
I took mine from the battery for live and earth and tapped the switch live into the secondary water pump.