To activate the Minecraft key go to https://minecraft.net/user/redeem and click "register for a Mojang account" or login if you already have an account. Choose "redeem gift code or prepaid card" option and type in your code. Please remember to type the key without spaces nor pauses.