How to get the input class reference for the "add component by class" node please?

You can have more than one node, with the class entered manually. Or you can put the classes in an array, and use the array to set the class on the node.