The installation procedure can be found in the User Manual

These are the recommended sections to check: 2.2 (Installing the X-TEX), 2.4 (System/program requirements) and Appendix D (How to add gnuplot to the environmental variables)