The easiest way is to make a nut trap that you can either insert a ... If you want a real threaded part you can print the thread, cut the thread with a tap or bolt, or use a threaded insert.
There’s a variety of ways to add threaded holes to 3D printed objects. You can tap a hole, but the plastic isn’t always strong enough. Nut traps work, but aren’t very attractive and can be ...