It is recommended to wire the swg to the same terminals as the pump, so both are powered on and off at the same time. Wiring it so that the flow switch is your primary protection leaves the opportunity for a hydrogen gas accident to occur if the flow switch should happen to fail.