It is required to have a flow protection device. You should wire it on a switched line (actually called the load side). In fact, you should wire it to the same relay that the pump is controlled by, on the same terminals!