You do not have to be connected to the electric grid to claim the solar tax credit. You only need to have a solar power system that’s generating electricity for your home. That means off-grid solar homes are eligible, and in most cases, solar RV homes are, too.