Sign in with your Microsoft account credentials (make sure you’re signed in with the Microsoft account you want to redeem the code with).
Enter your unique code.
Microsoft Store on Windows:
On your PC, press the Start button , and then enter the store into the search bar.
Choose Microsoft Store from the results to open the app and sign in with your Microsoft account credentials (make sure you’re signed in with the Microsoft account you want to redeem the code with).
Select your account in the top-right corner of the screen, and then select Redeem code or gift cards.
Enter your unique code.
Xbox App for Windows (ONLY PC):
On your PC, press the Start button , and then enter Xbox into the search bar.
Choose the Xbox app from the results to open the app and sign in with your Microsoft account credentials (make sure you’re signed in with the Microsoft account you want to redeem the code with)