Just follow the diagram below. The matek f405 ctr flight controller already has an integrated pdb which means that the separate escs are connected directly to the fc board so that it can supply their power.
Flight Controller F405 Mini 20 20 Matek Systems
Matek f405 wiring diagram. However if you have a 4 in 1 esc the connection might get a bit confusing. Stm32f405 icm20602 bmp280 bfosd sd card slot vcp5x uarts 6x pwm dshot outputs. The fctr flight controller is the latest iteration of the popular f family from matek matek fctr flight controller wiring and configuration diagram. The battery is connected to the esc. Matek f405 ctr wiring diagram however if you have a 4 in 1 esc the connection might get a bit confusing. The battery is connected to the esc not the flight controller.
S9 is a solder pad on the board and s10 is connected to the pin marked led in ardupilots definition. Flight controller f405 wing stm32f405 mpu6000 inavosd bmp280 6x uarts 1x softserial 2x i2c 2x motors 7x servos 4x bec current sensor on board. The first 8 servomotor outputs are marked on the board. Just follow the diagram below.