max7219 how to connect together

Hi.
I would like to know the best choice to connect max7219 matrix together.I want to use 8 matrixis that on a picture below.
Should i soulder them together? pin by pin or i can just use a hot glue to attach this kind of connectors.
Thanks

The connectors are not on the board now? They need to be soldered on or you will have never ending connection problems.
Are there male pins on one end and female headers on the other?

CrossRoads:
The connectors are not on the board now? They need to be soldered on or you will have never ending connection problems.
Are there male pins on one end and female headers on the other?
Pololu - 0.100" (2.54 mm) Female Header: 1x5-Pin, Right-Angle
Pololu - 0.100" (2.54 mm) Breakaway Male Header: 1×40-Pin, Right Angle

There only male pins on one side of the panel, the other side is empty but there is holes for new pins that i can solder.
I think i will try to solder them together.
Thank you.

Solder headers and use jumpers.
For sng's I took header pins alone and bent them to bridge the holes and it does work.