Sync Gateway - Sync when put documents with couchnode in couchbase server

Hi,

How can i do the follow case.

I have a mobile app that runs with coubase lite and sync over sync gateway.
Now when i put documents in the Couchbase Server with a node.js client the sync gateway NOT syncing because there no “_sync” element in the doc.

One solution is i use the public REST interface from the sync gateway.

Is there a solution that i can use my owen backend that runs on node?

You can’t write directly into a bucket managed by Sync Gateway using Couchbase Server APIs. Use the Sync Gateway REST API to work with documents.