Using Realm with Multi-tenant Postgresql Schemas


My app is a multi-tenant service where each tenant’s data is separated into their own postgresql schema. How would someone get the Realm platform working with this kind of setup?


There’s quite a few ways that you could architect Realm Platform depending on your app’s requirements.

Typically, a Realm database is created per tenant (unless you want to interrelate tenant data). You could connect to your Postgres database and sync the data with your Realm Object Server (or cloud instance) using our Postgres Data Connector


Thanks for your response. I just got the postgresql data connector from you guys today and will try to get it working locally this weekend.

If I want to make the tables in the tenant1 schema sync to the /tenant1 realm, which options would I need to set to make this happen?