You naturally acquire the Starlight Keyblade after finishing the events in the Keyblade Graveyard. However, if you were a Kingdom Hearts Union Cross player, you could obtain it early in the game after completing a series of mini-games in the mobile game and using the code you earned. Today, it's no longer possible to acquire the code since KHUX is just a series of videos and is unplayable.