Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
You have to redeem the product key at https://setup.office.com . This adds the product key to the account and lets you install and activate on a computer.
Since Office Home 2024 is for a single device, you'll need a new license for the second install (it seems you purchased two licenses, so that part should be OK). You can add both licenses to one and the same account, but you will have to choose the correct one for install and activation. You will see an error if you pick the wrong one and you will get a chance to try again.
Note that you won't actually be able to see the product keys that have been redeemed into your account, so you will have to keep track of which redeemed products you have actually installed and activated on a PC.