If you are traveling and would need to schedule your US visa interview appointment in a third country, you can very well do so. It is not mandatory to schedule your appointment in the same location as in your DS-160. You are expected to schedule your appointment at the same location. ...
U.S. Visa Appointment service, schedule your US visa appointment with the US Embassy after you have completed DS-160.