If using canned beans, skip soaking the beans, move on to #2. Soak dry beans overnight, or at least 8 hours, making sure water covers the beans by 3". Drain and rinse the beans. In a medium saucepan, add beans and enough fresh water to cover beans by 3". Add a pinch of salt and bring to a boil. Turn heat to medium-low and simmer for about 30-45 minutes. Start checking the beans at around 30 minutes. The beans are done when they are tender. (Providers took about 30 minutes - but this time can vary depending on variety of bean used). Drain and set aside.Preheat oven to 350F (177C).In a large roasting pan, add the onion, carrots, garlic, chili flakes, cumin, paprika and coconut oil. Stir. Roast for 20 minutes, stirring after 5 minutes to evenly distribute the coconut oil.To the onion mixture, add the beans, fire-roasted tomatoes, BBQ sauce and salt. Stir.Bake, uncovered, at 350F for 45 minutes. Allow to rest for 5 minutes, then serve.Store leftovers in a covered container for up to two days. When reheating, add additional BBQ sauce or water to thin the beans as they tend to thicken.