If it's an exterior model, with wires coming from a 'pipe nipple' then you connect a junction box to the nipple. Your power cord leads into the junction box, and you use wire nuts to make the connection. Although this seems like overkill, it complies with electrical codes, which are concerned with the volume of an enclosure where connections are made.