ICloud Drive is automatically set up on any current Apple device running the latest operating system. The Mac you activate last will create its own folder for the contents of its Documents and Desktop, and this will also sync.
If you use iCloud Drive across multiple Macs then changes made to the Documents and Desktop files on both Macs will sync.