Start by getting comfortable with US immigration law because you won't be working in the USA after the bootcamp unless you can find someone to sponsor a visa on your behalf. And if you're attending a bootcamp, you're likely going to be lacking the practical work experience that would qualify you for the visa in lieu of a degree.
As a result, you're going to have to return home and work on acquiring the practical experience using your bootcamp knowledge in order to meet the requirements for a work visa. That's probably going to take a few years. You have to be able to demonstrate in-depth knowledge in the field to hold the equivalent of a bachelor's degree in order to qualify for entry and find someone willing to sponsor you for employment.
This process is not easy. It will take time and a certain amount of luck.
If you are from Canada or Mexico, it is much easier as you can get a TN visa to work in the USA. But it still requires proof of ability, a job offer and the like. Just not as hard, expensive, quota-limited or time-consuming as an H1B.
It's doable but understand you won't be coming to work in the USA immediately after a coding bootcamp. Unless you were insanely fortunate and were able to demonstrate exceptional ability in the art and got someone to get you here on that basis. Otherwise, you're looking at a multi-year, multi-step plan of which the bootcamp is only step #1.