In order to get the enterprise code, you need to go to Locations in the web interface.


Then select the location where the iPad will be added to.

Click on the Link Device button.

There will be a pop up window with the enterprise code.