You'll need to log into your Microsoft account before you are able for access to Minecraft on your PC. Go to the main menu of Minecraft. The main menu of Minecraft games and then select "Sign in" using your Microsoft account. You'll be able to see eight digits that code.