First create and account on Discord: this will create a new Discord server, name it with something like “RedBotTest”.

Next create the bot application and grab the clientId

Create Application

Create Application

Then switch to the section “Bot” and click on “Add Bot”, grab here the token

Add Bot

Add Bot

Now switch to Node-RED and create a new connection in the Discord Receiver node, fill-in the clientId and token, then click on the “Authorize Application Bot” button: this will open a popup that will authorize your application with the previously created server (“RedBotTest”).

Once authorized the bot will appear on the online roster of the Discord app, direct message the bot to start interacting.