Registering a device for the ESP32
We can now create a device in the Zoho IOT application to represent this ESP32. This device created by the application will have the necessary credentials to establish a connection between the real world ESP32 and the Zoho IOT application.
To create/register a device,
Access the End Application.
Select Devices > Devices in the left pane.
Click Add Device.
Select Add By Defining Your Own Product and click Proceed.
Provide the following details in the Product Details Page and click Add.
Click Add Datapoint Definitions.
Click Add New Datapoint Group.
Select Import From Gallery and click Next.

Select Environmental Monitoring and click Import.
Select Soil Moisture and click Import.
Click Proceed.
Determine the model you wish to use:
If it's your first time accessing the application or you have not added any model in the application, you will only have the Model field. Provide a name of your choice for the device model. For this illustration, "ESP Gateway" is given.
If you had already added a device model, you will have a toggle optionToggle to Create a new model and provide a name of your choice. For this illustration, "ESP Gateway" is given.
Provide the following details in the required fields and click Add.
Note: You can provide a Name and description of your choice for this set up, but the rest of the fields must be the same as the field provided.
A new device with the given name (e.g., My ESP) is created and the connection credentials will now be displayed.
Click the download complete registration details. These credentials will be used for onboarding the device.