Deductions & credits

You can claim both, if they qualify, and you would file only one Form 5695. 

Please see the Instructions for Form 5695 (2022) and the TurboTax blog Energy Tax Credit: Which Home Improvements Qualify? to verify that your installation qualifies for the credit.