She was in the VP slot, not the POTUS slot.
In other words, the dems voted for her for VP.
She's been installed in the POTUS position on the ticket, by Dem party elites.
That is the exact opposite of a "democratic' process.
Hope that helps explain the process the dems used.