Deductions & credits

The law says the credit for your personal home applies when "installation of the item is completed".

 

So in my opinion, that means the credit can be claimed for 2023.