Have to watch, some inverters do weird things with the neutral. Instead of the neutral being connected to ground, or being floating, it's actually ground referenced at a non zero voltage. In a typical electrical installation the neutral and ground are normally tied together. You can't do that with an inverter. For a backup setup I would probably just ignore the inverter's ground, as the actual house ground is still going to be a real ground even when the power is out, so you won't really lose any safety. For a permanent setup, like off grid solar, then you can probably connect the ground and simply omit the neutral bonding. Not sure how it's done in professional setups though. Maybe the bigger inverters don't do the weird stuff so it's less of an issue maybe. Some bigger inverters will also do 120/240 so I imagine those might be wired better to easily connect to a normal electrical panel, ground and all. But you want to measure everything first. This is not really something they advertise, you kind of find out once you take it out of the box and test it.