You are correct, and in the Constitution, the President, as the only person elected by the entire people of the United States, is assigned the task of setting foreign policy.
To be precise, the President is the only person elected by all the states to head the federation of states, and is assigned the task of setting foreign policy for the United States.
The states, individually, are sovereign entities, headed by governors elected by the people of their respective states.
-PJ