If the improvement was installed in tax year 2022, that is the year you would need to use to apply for the credit.
Although you did not pay until 2023, you no doubt signed an agreement and were obligated to pay in 2022 when the install was done.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"