go to Nintendo's web site and use the "Club nintendo" tab. Sign up for club Nintendo and where it says register games/consoles enter the code you got with the system. it will register your wii u and the game, give you coins and allow you to take surveys to earn more coins.
You will also get a code that you can use in the Nintendo Eshop by which you dl 1 of 4 games.