You would want to run it from the plug at the pump to the relay in the relay box supplying voltage to the pump