You need the pin out of the connectors on both of the inverter and the JBD BMS, often the pins are four and five but you will have to reference the manuals to be certain.
Then you need to set them both to the same protocol and it should work.
Sometimes a regular network cable will work and sometimes you have to make your own or buy from one of the manufacturers.