You should have two plugs. One is for the pump for the bays, which should have its own plug. The other is for the whole production side. The inlet solenoid gets power from the same source as the motor, it doesn't matter where it hooks up as long as this relay turns on both the motor and the solenoid.
View attachment 5839
For clarity, what you're calling the pump is the delivery pump/motor assembly for the bays, aka the delivery pump. What you're calling the motor is also a pump/motor assembly, it's just a different kind, and it's for the membrane, usually called the production pump.