How to control motors with two b_g431_esc and esp32 or nucleo-f446re

just wondering where to begin when running two b_g431_esc1’s with esp32 or a nucleo, I understand you have to specify motor1 and motor2 and all that but im wondering what connections to make, do you use the i2c or serial and if so, could you explain the connections. I have a working config i can run on each b_g431_esc separately but I’m just having problems sorting the connections in my head for two. I guess more to the point really, I’m wondering if i upload my code to the esp32 or the nucleo then send the data to the two b_g431_esc controllers via serial or i2c and if so, which connections do I make, yes I’m very new sorry, please let me know if you can help.