Integration growatt SPH6000

Hello everyone, thanks for accepting me. I’m very new to Home Assistant, so excuse me for asking obvious questions. I have a Growatt SPH6000 inverter and I want to connect it to the RS485 port with an EGBO MAX485 module and an ESP32. I’ve seen that it’s a direct way to transfer data to HA. But I have questions. First, I’m not sure what color scheme to follow to solder the wires and not break anything on the inverter. Does anyone have that color scheme so I can use a regular RJ45 connector?
Second, is there a flashing tutorial?
Thank you all very much!

PD: Im spanish, sorry for my english…