Heat the oven to 350°.
In a small skillet, heat the cooking fat over medium heat. Add the diced shallots with a pinch of salt and saute, stirring occasionally, until soft and translucent, about 2-3 minutes. Pour into a small bowl and let cool.
In a medium bowl, stir together the tomato paste, apple cider vinegar, ½ teaspoon salt and ¼ teaspoon pepper.
In a large bowl, add the beef, pork, eggs, almond flour, shallots, dried parsley, coconut aminos, garlic powder, onion powder, dried thyme, 1½ teaspoons salt, 1½ teaspoons pepper and 3 tablespoons of the ketchup mixture. Mix with your hands, a spatula or with a stand mixer using the paddle attachment until blended.
Transfer the mixture to a 9x5" loaf pan and press it down until the top is even and smooth.
Bake for 30 minutes. Remove from the oven and spread the rest of the ketchup mixture over the top in a thin, even layer.
Bake for another 15-20 minutes, until it reaches 160°.
Remove from the oven and let cool for 10 minutes. Drain the fat or remove the meatloaf to a cutting board to slice and serve.