How to Create Lottie Confetti Animations

I have been trying hard to create a Lottie Confetti, burst of fireworks animation using After Effects. I have installed Particular plugin as well, to achieve the animation. I was successful in creating the burst animation, but was not able to export it as Lottie.

Is there any specific way to create these style of animation & export to Lottie??