Specific connections should be explained in the manual that comes with the pump. Sometimes the info is on the inside of the back cover of the motor.
Al