From Story Mode, press Start and go into HOLO-MISSIONS.
Then fill the Mission Gauge to 100% on every single mission — not most of them, all of them. Once that's done, buy the "Sora's Awakening" item from the Moogle at the shop and he's playable.
It's a long grind, so expect to put in the hours before the Moogle will sell you anything.