Quantity   Component name
1 × M12 cable screw connection these are aout 15EUR/100pcs.
1 × 2x2 header strip
1 × 2x2 socket strip (or DIY from single socket strips)
1 × glue (hot glue, epoxy, ...)
1 × Cable (best is a flexible ROUND type)
1 × heat shrink tube (with inner glue)