NBA Skills Challenge: How Are They Chosen?

Out of all the players in the NBA, how do they choose the eight that compete in the skills challenge each year?