What amount do I use for solar panels if I get a rebate from the power company? Do I use the amount before or after the rebate?

I fully paid for solar panels to be installed in 2018. My power company provides a rebate amount that I will receive in 2019. What amount do I list for the solar tax credit--the total amount paid or the amount minus the rebate?