Is it expensive to install/set up solar panels?

I’ve looked at prices for individual solar panels, and they are pretty affordable. But that’s just the panel and I don’t know what else as for as labor and equipment it costs to install and hook up so that the panel actually powers other things like water heater or whatever. I know it probably depends on many factors but just give me an idea if you can. Thanks.