Only on your 2023 tax return .
According to the IRS:
"Taxpayers typically claim expenses for the credit in the year in which they install the property in their
homes."
LINK
"Q1. May a taxpayer claim the credits in the year of purchase if installation of the qualifying property occurs in a later year? (added December 22, 2022)
A1. No. A taxpayer may not claim the credits until the year the property is installed."
LINK