Yes you'll need resistors, they should be the same as the resistors for the in switch LEDs.
I don't think it took 40 LEDs to do side lighting on my GON HHKB but I could be wrong.
You solder them standing up so the light is emitted out the side of the case instead of downward.