Node.js | Analysis | Running in your machine
You always have the option to run your script from your own machine or from TagoIO's server without any technical difference. When running the script from your machine, you will need to install all the packages used by your analysis by using the command npm install mypackage.
Be sure to set your analysis configuration with the option to run the script from “external”. Lastly, get the Analysis token from the same configuration screen, and put it on the second parameter when calling a new Analysis. Check out the following example:
module.exports = new Analysis(myanalysis, ‘ANALYSIS-TOKEN);