this is from memory so might not be 100% , last time i played with it was years ago !
if the engine was from a PATS immobilizer car :
To get to the shut off solenoid you will need to remove the pump , cut away a brass shroud on the back of the pump which covers the solenoid and there will be 3 black wire 2 need an ignition live the other needs earth , try different combo's until it starts easily (it may be possible with the pump in situ but i found it easier with it removed so i could see what was what)
non PATS immobilizer :
as above but the solenoid isn't covered with a shroud