You can buy threaded inserts (see video below ... Then he used a hot air gun to only heat the metal (so as to reduce the chance of deforming the actual part). Once it was hot (about 15 seconds ...
cut the thread with a tap or bolt, or use a threaded insert. [Stefan] ran some tests to see how each of those methods held up to real use. (YouTube, embedded below.) He used fifty test parts to ...