ESP32 how to configure API

  1. Make sure the have the drivers installed for the ESP32 board.
  2. Make sure you have your wifi credentials in the secrets file like @Masterzz mentioned.
  3. Once you get your configuration corrected, start here: An Introduction to ESPhome - #2 by FriedCheese