Mix together the coconut oil and coconut sugar until smooth. Add the egg or flax egg and vanilla extract and stir until smooth.
Add the almond flour, salt, and baking soda to the wet ingredients. Mix until well incorporated. Fold in the chopped chocolate.
Cover and refrigerate for at least an hour (or up to 48 hours). You don’t NEED to refrigerate the dough if you don’t have time, but it’s recommended for the best flavor and texture.
When you’re ready to bake, preheat the oven to 350ºF. Use a cookie scoop (using this size will give you 12 cookies, using this smaller size will give you about 20) to form cookies and place on a parchment lined baking sheet; press down slightly. Sprinkle with flaky sea salt if desired. Bake for about 10 or until just beginning to turn golden brown around the edges.
Store leftover cookies in an airtight container at room temperature or in the refrigerator up to 3 days.