From your description, it sounds like a regular swamp cooler, but with a larger motor. Most swampers have receptacles in the upper part, next to one corner. This is wired from the outside of the unit using a slb and conduit down thru the roof, into attic space. Then depending on type of wiring there, you either continue the conduit into a jbox, or change over to an approved type of raceway.

The two loads (motor & pump) just plug into the receptacles.

Using a 1 hp motor, if used at 120v, will most likely require a 30 amp plug, as the flc from the codebook is 16 amps, and when you increase that by 125%, you get 20amps. You might get by with a 20 amp circuit, but probably not. Check the nameplate for additional information to properly size the wiring & protection. You might be able to downsize this equipment if the motor can be wired 240v.

I wouldn't hardwire either of these, as that takes away your ability to disconnect them, when servicing them.

Good luck.

Rick Miell