You can claim your solar project for the tax credit even if you take out a solar loan — as long as the contract requires you to pay for the full cost of the system.