Esphome in home assistant esp32 mcp23s18

how to program esphome of esp32 for 4 mcp23s18 thank you