If you don't have an account on the platform yet, you can create one here: create an Xbox account.
1. Turn on your console and log in to your Xbox account.
2. Go to the Store.
3. Select the “Redeem” option
4. Enter the 25-character code and confirm.
The game will be added to your library.