> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Couchbase collection documents

> Mount Couchbase collection documents.

Follow the [REST app guide](https://docs.bijection.com/integrations/native-rest.md). Use `providerEndpoint` with provider `couchbase.collection.observations` and the HTTPS Query-service origin, such as `https://db.example.com:18093`, and `/query/service`. Use header auth with `name: "Authorization"` and `prefix: "Basic "` and seal the Base64 encoding of `username:password`. The account needs query-select access and the collection needs an index that can serve an ordered key scan. Set `selection` to `bucket.scope.collection`.
Pass the same label to the receiver binder and as the app's `data`.

Initialize with `{ profile: { mode: "provider", provider: "couchbase.collection.observations", limit: 10, selection: "store.inventory.orders" } }`.

Couchbase runs a read-only SQL++ query with a bound document-ID cursor and page limit. The feed stores returned documents and CAS text by document ID, restarts after an empty page, and retains observations of missing or expired documents. Sweeps observe current documents as each page reads them. The feed accepts up to 100 records and 36 KiB per response and requires the bundled parser artifact.

[Provider API reference](https://docs.couchbase.com/server/current/n1ql/n1ql-rest-api/index.html)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.