Hello Hugo,
If you have a **shapefile** ( *.shp ) of your own that you want to use to generate the grids then you can upload the shapefile as an **Asset** to Google Earth Engine. Please [follow this guide][1] that explains how to upload a shapefile as an asset.
If instead you have a **KML** file then you need to upload it **Make sure that the asset is shared** ( as the GEE App will not be using a **Google Drive Fusion Table** ( follow [the second part of the guide][2] ).
your user info, so the new asset needs to be accessible by anyone)
Then you need to specify in the script that you want to use a Feature Collection ( asset/shp or Fusion Table-kml) rather than a country in the first option of the script ([LINK TO THE SCRIPT][3]). There you choose the first option *"Use Feature Collection (Fusion table/Asset)"*
![alt text][4]
When you choose this first option there is a text field that gets enable where you can set the path to the asset in your user folder ( or to an asset that has been shared by another user). This path will look something like this : ***users/YOU_USERNAME/NAME_OF_ASSET*** . For instance you can test with one of mine *users/sanchezpaus/ITA_adm1* . If instead of an asset (shapefile) you are using a Fusion Table (imported KML) you need to get the ID of the Fusion Table. You can get it in the Google Drive Fusion Table interface, in File->About this table. Then in the text field you will have to use the prefix **ft:** followed by the Fusion Table ID. Here another example you can use : *ft:1zlbOD-QPIEF-cNw-eclaIrze70MXN6jJG4GRRO0X*
![alt text][5]
Afterwards you can proceed with the rest of the procedure to generate the grid ( important to set teh the right EPSG code to get a good distance between plots ).
). Try not to set a distance of less than 500 meters so you don't get huge CSVs.
Let me know if this answered the question and if you have any other problems with the tool.
[1]: https://developers.google.com/earth-engine/importing
[2]: https://developers.google.com/earth-engine/importing
[3]: https://code.earthengine.google.com/b78f2bf12b92198201e8b224e94a6623
[4]: http://www.openforis.org/support/upfiles/chrome_2018-11-29_14-01-53.png
[5]: http://www.openforis.org/support/upfiles/chrome_2018-11-29_14-17-25.png