First Upload
Build a minimal YAML, flash your ESP32 over USB, and watch it appear on Wi-Fi.
Which board are you using?
All YAML and instructions adapt to your pick.
Phase 1 of 2
Get the ESP32 online
No display yet - just Wi-Fi + API. By the end your device says ONLINE.
Click + NEW DEVICE
Green button, bottom-right corner of the ESPHome dashboard.

Choose New Device Setup
The guided wizard. You can also use "Empty Configuration" and paste YAML directly.

Enter name + Wi-Fi credentials
Type device name, Wi-Fi SSID, and password. Click NEXT.

secrets.yaml. Edit anytime via SECRETS in the top bar.Select device type: ESP32
Pick ESP32 for your Cheap Yellow Display (CYD). Leave "Use recommended settings" checked.

Configuration created - click INSTALL
You will see a celebration screen with an encryption key. It is auto-saved. Click INSTALL.

Choose how to flash
Pick "Plug into this computer" or "Plug into the computer running ESPHome Device Builder".

Pick the serial port
ESPHome detects your ESP32. Click the USB Serial device listed.

Wait for compile + upload
First time takes about 2 minutes. Watch for the green "INFO Successfully uploaded program." line.

Your device is ONLINE
Dashboard shows ONLINE in green.

Don't see a port?
Run ls /dev/ttyUSB* /dev/ttyACM* - usually /dev/ttyUSB0.

[I][wifi]: WiFi Connected!
[C][wifi]: SSID: 'YOUR_WIFI_SSID'
[C][wifi]: IP: 192.168.1.42
[I][api]: Client connected ✓
