There is a front panel header on the motherboard where they are connected. On newer motherboards the headers are color coded and labeled so you can connect them without a manual, otherwise you should refer to your manual for the location of the headers and how to connect them.