Drag
one end of the connection line (it turns white when you point to
it) to the material to which you want to connect the node, then
select an attribute from the Connect Input menu.
Maya makes a new connection,
a new line and new node displays, and the material updates with
the new connections.