usually the pins are soldered into holes through the PCB. you could solder to the bottom side as well