Energy Tax Credit

If I signed a window replacement contract in December of 2021 with a 50% deposit, do I claim any credit in 2021, or use 2022 when they are installed?