How to connect to WiFi using esp32

How can I connect my Wi-Fi to this microcontroller using a hotspot on my phone and link it to my laptop for an IoT dashboard using HTML on platform.io?