The population would determine it.
According to popular sovereignty, people would have a vote where they would decide whether slavery would be allowed in their country or not. This was a part of the compromise and it backfired because non-slave states by law now became slave states due to popular sovereignty since people wanted slavery.