Downloading the Arduino IDE
The SDK and the script file will be uploaded to the ESP32 using the Arduino IDE.
To download the Arduino IDE,
Download the IDE package based on your system.
Install the downloaded package in your Mac or PC.
Accessing the Connection Credentials
You can access the connection credentials of the registered device with the following steps.
Select Devices > Devices in the left pane.
Click the name of the device you want the connection credentials for. For this illustration, My ESP(Device created in the previous step) is selected. This will open the device's information page.
Click Actions > Connection Credentials. The connection credentials of that specific device will be displayed.
The connection credentials will now be displayed.
Configuring the ESP32
With the necessary packages downloaded, the IDE installed, and the ESP32 connected to your computer, you are now ready to configure the ESP32 with the connection credentials of your registered device and establish a connection with the Zoho IOT application.
Note: Ensure you maintain a stable internet connection for the upcoming steps.To onboard the ESP32,
Connect the ESP32 to your Mac or PC using the appropriate cable and adapters.
Open the Arduino IDE.

Note: Click Open or Proceed if a do you want proceed pop up appears.
Select Boards Manager in the left pane.
Search for esp32 and Install esp32 by Expressif Systems.
Note: This will take several minutes.
Select Sketch > Include Library > Add.ZIP Library.
Go to the location of the downloaded Arduino SDK > Select zoho-iot-sdk-arduino-x.x.x.zip file > click Open. Replace x.x.x with the latest version number. The SDK library will be installed.
Select Files > Examples > ZOHO-IOT-SDK > esp32_soil_moisture_sensor. Scroll down to the last to find ZOHO-IOT-SDK. The program will now be loaded.
Replace Wifi_ssid with the WiFi name and Wifi_password with the corresponding wifi password.
Replace /mqtt_domain_name/v1/devices/client_id/connect with the Username from the connection credentials of My ESP device. (Device created in the Zoho IOT application).
Replace mqtt_password with the Password/Authentication Token form the connection credentials of My ESP device (Device created in the Zoho IOT application).
Click on Select Board > Select Other Board and Port. 
Search for your ESP32 board. For this illustration, DOIT ESP32 DEVKIT V1 is selected > Select the port of the esp32 connected to your Mac or PC.
Click the Upload button. 
The program will now be uploaded to the connected ESP32 board.