With five wires, it should go onto a header like RadiclDreamer pointed out. If you are unsure of which direction it goes, keep in mind that ground pins are towards the key, so on the 5 pin there should be 2 black wires. Point those towards the key (the missing pin) on the row that has 5.