The little plug fits into the predrilled holes on the endplates on each axis. To hold the sensor in position you can use M3 screws or 3mm wood screws. The M8 thread for the sensor is modeled in the part and should perfectly fit after printing.
I used PETG but PLA should also work!
The author marked this model as their own original creation.