Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
You should be able to reinstall Office using your associated account. Go to https://account.microsoft.com/services and sign in with your credentials.
If this is a one-time payment (perpetual) license and you need help with activation, see https://support.microsoft.com/en-us/windows/activation/activate-microsoft-perpetual-products-using-the-product-activation-portal .