No, you do not need to enter a referral code. Simply open the Demat account through the referral link provided by the referrer.