The principal is the same as when you are using an ESP8266 based board such as the NodeMCU or Wemos D1 Mini, but obviously you’d use different pins.
A few fairly detailed topics about using these MAX458 boards and an ESP8266 based MCU with the Epever solar charge controllers here…
Pete.