an outdoor extension cord is what you need to hook it up.(b/c it has a ground wire.
just cut it and attach it to the wires from the fan.(if it doesnt work, flip the wires...only got two options)

good luck