The cpu cooler plugs in to a 4 pin fan header [ usually on the top edge of the mb near the processor ]
The power supply connects to the mb via two cables . One has a 20 +4 connector .
The second supplies power to the cpu and it is 4 pin , 4 + 4 pin, or 8 pin .
You have the 8 pin. It only fits one way .