CosyncSamples Cosync Sample Application Code Set up MongoDB for Flexible Sync to use Cosync Storage Engine install Cosync Storage Engine from Cosync Portal enable MongoDB device sync and add userId as queriable field install aws-sdk in Mongod Function Dependency