Adding particles.js to template

Hi, I would love some help from anyone that might know how to add particles.js to an existing template? The link to particles.js is here: particles.js - A lightweight JavaScript library for creating particles. Any help would be greatly appreciated.