Method 1:
a node from the Node Editor into a field in the Attribute Editor.
Method 2:
a node onto another in the Node Editor.
Select the attribute you want to connect to from the pop-up menu that appears.