To get the crowns you've got to do the main sidequests of the game: Beating the mushrooms, data battles, and Terra. Whichever you complete first, you get the bronze. When you've finished two of the sidequests, you get the silver, and you receive the gold crown for completing all three.