To collaborate with other users in Team, add a "space" in the sidebar which is by default shared with one or more other users. Any notes or folders added there will be shared with the people defined in the "space".
This can be also a workaround for users with two different Apple IDs.