Hello, this is not an answer, just a comment, you may respond in return if you wish. I will be opted out in the meantime so that others here can see your question.
Unless you have huge array of solar panels, say several hundred square feet of solar panels it is not viable or useful to connect the solar panels to the local utility company power grid if that is what you are talking about.
If you mean by 'grid' the buildings wiring, that is easily done, you will need a voltage regulator, some deep cycle lead acid storage batteries, the more the better, golf card batteries are best.
And if you intend to run 120 volt computers or very very light appliances off of the house wiring you will need an inverter.
Here are a bunch of primer video's for you to look over.
These will have links to the components you need, it is smart to over size each component by 50% or more, they run cooler and last longer that way.
Good luck with it.