Thank you Priya, it works.
now starting the SGW with the example/basic-couchbase-bucket.json as config file, I get an authentication error, here is the log that I get in loop :
2018-03-01T23:30:55.201-05:00 Enabling logging: [*]
2018-03-01T23:30:55.202-05:00 ==== Couchbase Sync Gateway/1.5.1(4;cb9522c) ====
2018-03-01T23:30:55.202-05:00 Configured process to allow 5000 open file descriptors
2018-03-01T23:30:55.202-05:00 Opening db /db as bucket "default", pool "default", server <http://localhost:8091>
2018-03-01T23:30:55.202-05:00 GoCBCustomSGTranscoder Opening Couchbase database default on <http://localhost:8091> as user "default"
2018-03-01T23:30:55.211-05:00 WARNING: Error opening bucket: default.  Error: authentication error -- base.GetCouchbaseBucketGoCB() at bucket_gocb.go:118
2018-03-01T23:30:55.211-05:00 Debug: RetryLoop retrying Attempt to connect to bucket : default after 5 ms.
2018-03-01T23:30:55.217-05:00 GoCBCustomSGTranscoder Opening Couchbase database default on <http://localhost:8091> as user "default"
2018-03-01T23:30:55.220-05:00 WARNING: Error opening bucket: default.  Error: authentication error -- base.GetCouchbaseBucketGoCB() at bucket_gocb.go:118
2018-03-01T23:30:55.220-05:00 Debug: RetryLoop retrying Attempt to connect to bucket : default after 10 ms.
2018-03-01T23:30:55.231-05:00 GoCBCustomSGTranscoder Opening Couchbase database default on <http://localhost:8091> as user "default"
2018-03-01T23:30:55.235-05:00 WARNING: Error opening bucket: default.  Error: authentication error -- base.GetCouchbaseBucketGoCB() at bucket_gocb.go:118
and here is the basic-couchbase-bucket.json :
    {
      "log": ["*"],
      "databases": {
        "db": {
          "server": "http://localhost:8091",
          "bucket": "default",
          "users": { "GUEST": { "disabled": false, "admin_channels": ["*"] } }
        }
      }
}
I login to the couchbase server with the defaukt Administration user, do I change some configuration at the CB server or the SGW config file?