The polyhouse cultivation method provides high growth and improved productivity. To achieve proper crop management it is necessary to collect the correct information to make decisions. In the current work we considered and proposed a framework which could able to collect the information related to polyhouse atmosphere and harvest status and manage the polyhouse. The polyhouse information is collected from different resources by using sampling method. Sampling method contains different strategies that are Simple random, stratified random, Stratified-systematic, Judgmental. Each method identifies the data in different location and collects the data. The collected data to be stored in the mongo database. The database utilize data cleansing, data scraping, data integration and data wrangling process to arrange the data for relevant user. It helps to fix the data in specific manner in the database. Finally, the user can retrieve the data using the Latent Indexing Algorithm to retrieve the data in specific manner. It helps the system to forecast and take steps on situations intended for completely guarded climatic circumstances. So that farmers can access the relevant information using IoT. After the cultivation process the farmers can also marketing their product directly through IoT.