Using lightbulbs with 3D prints is pretty straightforward, you just have to buy a lightbulb socket with a cord and attach it to your 3D print. We really like the IKEA SEKOND cord set. It has a nice textile sleeve for the cable and comes in a variety of colors.