Solar panels work with grid connections by impacting your energy meter readings. If your home is connected to the grid, then you have an energy meter that measures how much electricity you use. With a solar panel system, you could potentially reduce your dependence on the grid connection by using stored energy from solar electricity or using net metering credits to lower your bill.