Unless you are an American Passport holder, you find Thai citizens as partners.
Together (American passport holders go alone) you visit a lawyer to open a compnay.
Once the company is fully registered, one of the Thai partners visit the Ministry of Labor to apply for the Work Permit. When application is done, YOU use the receipt to apply while being outside Thailand for the Non Immigrant B visa.
On return with the visa, you visit the Ministry Of Labor to pick up your work permit and you can start to work.
It takes time to sort out applications, review them and make a good decision, can you show me a bit more empathy for the work at the Embassy/Consulate and later Immigration?