Travel to United states on new H1B

Hello

My H1 visa is stamped in country A and need to travel to United states soon but can i travel to United states from country B which is not my home country.

Thanks

This is fine, you can travel from anywhere as far as you have a valid visa to enter the US.