Before you provision a switch as described in Provisioning New Switches with ZTP, add a switch configuration. You can also add multiple switch configurations by using a JSON file.
...
Ensure that the global configuration file and configuration template for the switch to deploy has been created. For more information, see Adding Global Configurations and Adding Configuration Templates.
Adding a Switch Configuration
...