Deductions & credits

Turbo Tax Deluxe indicated that energy credits didn't apply to new construction. Can we still claim this energy credit even though we chose to have the solar panels added on during the construction of our home?