What is the proper way to bring power to this pump?
The wire on the pump is not rated to be exposed or cord connected.

You will need to mount the pump inside an enclosure such as a Hoffman box or equivalent.



Then you can terminate a raceway or cable to the enclosure and the wiring will be protected inside.

Since RV's are covered by the National Electrical Code, this will satisfy the NEC.

Good luck!