You claim the total cost of the system on the tax return for the year that it was installed. So, if the system was installed in 2023, claim the energy credit for the total cost on your 2023 return.
You would not claim the energy credit each year that you are making payments.