Preheat oven 350 degrees
Line a 9 x 5 loaf pan with parchment paper.
Cook the lentils according to package directions, drain well and set aside.
Chop into small pieces onion, carrot, celery, bell peppers and mince garlic.
Saute the veggies for 6-8 minutes in olive oil
Pulse cooked lentils in food processor leaving some chunks.
Add lentils, sauteed veggies, and remaining ingredients reserving glaze topping ingredients in a mixing bowl and combine thoroughly.
Press mixture into lined loaf pan.
Mix together ketchup, maple syrup, coconut aminos and apple cider vinegar in small bowl and spread on top of loaf.
Bake loaf in oven for 45 minutes.
Allow to cool at least 20 minutes before removing from the pan.