Melt the butter or coconut oil in a small skillet on the stove.
Saute the minced shallot and garlic in the butter over low heat for a few minutes, stirring frequently. They should be golden brown and translucent.
Set aside to cool.
Put the sour cream in a medium size bowl.
Add the salt, pepper, onion powder, and cooled shallot mixture to the sour cream and stir well to combine.
The dip can be eaten right away, or chilled in the refrigerator first.
Notes
Store the French onion dip in the refrigerator for a few hours or overnight before eating. This helps to really combine the flavors for a more intense flavor.