Try sparkplug in nodered first, Its easier to get a quick overview this way. Here is an example can get you going: