User.login(Credentials.google("google token"), "http://realm.example.com:9080/auth"); // Opening a remote Realm String realmURL = "realm://realm.example.com:9080/~/userRealm"; SyncConfiguration config = new SyncConfiguration.Builder(user, realmURL).build(); Realm realm = Realm.getInstance(config); // Any changes made to this Realm will be synced across all devices 9