How is the vice-president elected?

The vice president is selected by the canidates and if they win the vice president they chose becomes vice president.