To link a bank account with a demat account, investors need to provide their bank account details to the DP during the account opening process. This enables seamless fund transfers and investment transactions.