When building your own computer, does your case/motherboard provide you with instructions on how to install a power button? Lol...it's kind of ironic that that is the only thing I'm not sure about.
Your motherboard manual will tell you what pins on the motherbaord to plug the wires into. It will also say on the motherboard too, but i don't think it will tell you the polarity though.