The motherboard manual tells you.
The only hard part is the small connectors like the POWER SWITCH. Make sure that you:
a) choose the correct pins, and
b) make sure the POSITIVE and NEGATIVE are on the proper pins as well
USB and audio should be pretty simple.