Nothing needs to be glued.
The lamp has an E27 thread.
I have installed the following socket:
https://www.hornbach.de/shop/Lampenfassung-E27-Kunststoff-mit-Aussengewinde-schwarz/7002720/artikel.html
with supply line:
https://www.hornbach.de/shop/Zuleitung-mit-Stecker-und-Schnurzwischenschalter-schwarz/3867310/artikel.html
If you are interested in creating a remix, please contact me for the raw file.