Question: how to get the shiny charm in pokemon sun?
Answer: Get the Shiny Charm. Catch all the pokémon in the Alola Pokédex (see the List of Pokémon Locations), then go into the building to the left of the Dimensional Research Lab, go up to 2F, and go into the GAME FREAK office and talk to the game director to get a Shiny Charm.