Connecting or wiring diagram raley panasonic adw1203hl 3.3V to ESP

I have a broken relay from xiaomi llkzmk11lm
eg:

(water has broken the logic circuit)
2x mounted raley panasonic adw1203hl is functional.
I would like to use them using esp can anyone advise me how to properly engage it?
What components will be needed?
Raley contains 3 input pins. medium + 3.3V and two edge GND, which control the magnet.
Thanks