How to invest in nifty 50 index?

Index based investing (like that in a NIFTY 50 based ETF) is one of the most efficient and cost effective methods.
Here is one of the long-established article with a clear working example of how to invest in nifty 50 index, as compared to a mutual fund that only ruin your investments.