Add all the ingredients except the shredded coconut flakes (if using) into a food processor. Process until it's mashed together and sticky. You may have to pause the processor to stir the ingredients and process some more.
Once the ingredients are thoroughly mixed, scoop about 1.5 tablespoon of the mix and form into a ball. Continue until you have used up all of the mix.
If using coconut flakes, gently roll the balls over the coconut.
Store in an airtight container in the refrigerator for up to 5 days.