Per
@Zwy you'll probably need to make up your own mind as to how to wire this.
@FilterGuy 's version is fine, but if you go with that you'll need to take out one of the screws to eliminate an N-G bond in one of the boxes. I spent hours reading through this, rather raging at times, debate:
https://diysolarforum.com/threads/signature-solar-eg4-6-5k-off-grid-inverter-6500ex-48.40478/ You'll probably need to do the same to understand the tradeoffs. On balance, I was convinced to go with Zwy's design. There's also 'uge debate on here about one or two grounding rods ... on balance, I was convinced to do a single ground through the Service ... all tradeoffs, and each situation will be different.