First, you need to provide the liquidity pair (e.g., two different cryptocurrencies). That will reward you with LP tokens and part of the trading fees. Afterwards, if you decide to stake your LP tokens, under the Farm tab, choose the CAKE-BNB LP farm , and you will earn CAKE tokens.