Tankless Water heater Inflation Reduction Act of 2022

I am planning to install a tankless water heater at my house.  Should I wait to install till Jan 2023 to get a tax credit up to $2000?  Can I install it in Dec 2022?