The first thing you would need to do to qualify for the H-1B visa is a job offer from a U.S. employer. Then you’d have to go through an involved application process, which the employer would start off for you by filing what’s called a labor condition application (LCA) with the U.S. Department of Labor, waiting for an answer, and then filing an “I-129 petition” with U. S. Citizenship and Immigration Services (USCIS). After the petition is approved, it would be your turn to apply for the visa at your local U.S. consulate.H-1B visas usually allow people to stay in the U.S. and work for that employer for three years, with possible extensions up to a a maximum of six years.
All of this can take several months — and is complicated by the fact that only 85,000 H-1B visas are allotted per year, with 20,000 of these reserved for people with a minimum of a master’s level degree from a U.S. academic institution. Every year, the available visas run out, leaving many applicants waiting until October 1st, when a fresh supply is issued.
In summary, you as the employer have to initiate the process from the U.S. and obtain the approval before the H1B may be applied for at the local U.S. Consulate abroad.