You go to settings > import
Be warned, it will wipe all your progress! So export your code and back it up before you use any other codes