It’s labeled on the board as well. 12V - GND - Signal (as oriented in your image). If you switched 12V and Signal, the fan won’t turn on after powering the mainboard (it doesn’t damage anything).
Thanks again, I was finally able to fix it… partially… the wires are now correctly in the connector and the fan spins, but there is no laser output. Any tips, what should I check?