For personal reasons, recent years, we avoid cooking with onion and garlic. But if you like the taste, please go ahead and add shallots in the recipe. I have never tasted garlic in sambar sadam, so wouldn't recommend that.