How to keep Spanish America unified under the leadership of Bolivar and San Martin?

The title says it all. How do you prevent Spanish America from fracturing after independence and thus potentially becoming a regional economic powerhouse? (Say, with some land reform and a booming export mining industry.)
Furthermore, could Bolivar and San Martin ruled somehow as co-presidents (maybe one in Mexico City and the other in Buenos Aires), or at least have convened a Pan-American constitutional congress similar to the one in the North? How would a new Spanish American Union resolve the issue of federalism vs. regionalism which is shared by the early United States of America?
 
First of all, Bolivar started to operate from Caracas. He was never even close to Mexico city.
So we are probably talking about half of South America.

I don't see it possible. Too many conflicting interests, very poor communication lines. San Martin was even branded as a deserter by what passed for the Argentine government by then (and, TBH, they were right), so you even need a POD to keep him in the Argentine government's good grace.

You may be able to keep a Grand Colombia, which could turn into a powerhouse; and maybe a "Grand Argentina" which includes OTL Bolivia and Uruguay, but would need some serious wanking to become a powerhouse during the 19th Century. And, along with those two countries, you get independent Paraguay, Chile and Peru.

Spanish America was already way too fractured simply because the place is huge and too diverse.
 
I don't see it possible. Too many conflicting interests, very poor communication lines. San Martin was even branded as a deserter by what passed for the Argentine government by then (and, TBH, they were right), so you even need a POD to keep him in the Argentine government's good grace.
.

This. Bolivia was the leader of a state in formation, with the backing of his homeland.

San Martin was a general appointed by the government of Buenos aires. He wasn't the leader of Argentina. He didn't have, within Argentina, the power Bolivar had in Venezuela, not even the power Washington had in the 13 colonies during the American Independence War.

Morever, at the time he encountered Bolivir at Quito, he didn't have the support of Buenos Aires. That's why, in the ended, he handed to Bolivar the task of ending the Spanish colonial rule in Peruvian highlands and upper Perú, which Bolivar did.
 
Top