They connect exactly as they would normally if you were connecting them to the motherboard but using a cable instead. The four pin socket marked for the CPU fan (or PWM) can still be attached to a standard three pin connector. Then all of them are connected to a molex connector attached to the PSU.