Appreciate your reply.. Solved and working well . Also the cost shows up with a good degree of accuracy. The following link also helped to get more info :
Shelly 3EM 3-phases Energy sensor - Configuration - Home Assistant Community (home-assistant.io)