Which executive departments plays a pivot role in shaping foreign policy and opening embassies around the world?

The Department of State plays a pivotal role in shaping foreign policy and opening embassies around the world. The Secretary of State is the head of the Department of State and is responsible for advising the President on matters of foreign policy and maintaining diplomatic relations with foreign countries. The Department of State also manages the U.S. consulates and embassies around the world, which serve as a critical part of the U.S. diplomatic presence overseas.