solar tax credit

In November 2022 I began a solar energy installation.  Panels have been installed but the system is not yet activated because the battery backup part of the system has not been installed. So far about $21K has been paid to the installers out of the loan amount on $35K. Can I claim the 30% tax credit on my 2022 taxes, and if so, how much of the cost of the total installation can I claim?