Solar panel tax credit

We installed solar panels on our primary family home this year. How do I claim the tax credit? If the rebate/credit is greater than my liability, do I get a refund check, or does it carry over to the following year? If it Carrie’s over, is there a time limit when it must be used by?