For your power supply all you need is a molex to 6 pin adapter, then plug that 6 pin side straight into your power supply.
Or if you want to connect them to your motherboard, you'll need a molex to 3 pin adapter. On your motherboard you'll see tiny 3 pin or 4 pin spots usually labeled "pwr_fan" or "cpu_fan".