App Service - Collection level sync

Hi,

I’ve just signed up for a Capella trial and have created an App Service. After previously reading the sync gateway documentation, I was expecting to be able to create a sync function at my collection level. Unless I am missing something or not understanding, I only see the App Service linked at the bucket level?

How do I assign a document to a channel representing the collection? Do I need to add a property to my document?

Thanks

Just reading a blog post on scopes/collections and it mentions.

  • The Sync function is simplified and defined at the collection level . Every collection is implicitly associated with a channel and as such it is much simpler to specify read/write access to collections.

Is the implicitly associated channel what is being retrieved in the doc.channels?

Thanks