Particle Background Animation Help

Hi Webflow community,

I’m attempting to implement this Java script particle animation on my site but i cant seem to get it to work. Can someone please assist with how to implement this custom code. Thanks!