Open Discord and log in to your account. Click on the gear icon and click on the Connections. Find the Battle.net icon and click on it. You will go to the Discord connection website and you have to allow Discord to access the Battle.net account.