---
title: "Sync your app's users with a data source"
description: "Keep your app's users in sync with a table in Softr Databases, Airtable, Google Sheets, HubSpot and more. Choose who becomes a user and map the fields."
canonical: "https://docs.softr.io/apps/sync-users"
updated: "2026-12-04"
---

# Sync your app's users with a data source

Syncing users connects your app's user list to a table of your data, such as an Employees table or a Clients table. Every record that matches your rules becomes a user of the app. When someone joins or leaves the table, they join or leave the app, with no manual step.

Sync users when the people who use your app already live in a table: your team in an HR table, your clients in a CRM. Their other fields, such as their department, their company or their plan, then drive user groups and data restrictions. Manage users by hand instead when the list is short and rarely changes. See [Add and manage users](/apps/users).

## Apps built with Softr AI

When Softr AI builds an app with sign-in, it usually creates a **Users** table in the app's database and syncs the app's users with it. The **Users** list then shows the table's name next to **Add users**. Select the gear icon next to it to manage the sync:

| Action                           | What it does                                             |
| -------------------------------- | -------------------------------------------------------- |
| **Trigger sync**                 | Syncs now                                                |
| **Pause sync from source**       | Stops the automatic sync until you resume it             |
| **Open table**                   | Opens the table in the **Data** tab                      |
| **Edit sync settings**           | Opens the **Configure user sync** window described below |
| **Remove datasource connection** | Stops syncing users with the table                       |

## Set up the sync

1. In the **Users** tab of your app, open **Users**, then select **Sync with data source**.
2. In the **Configure user sync** window, choose the data source under **Account**. Then choose the table that holds your users. Some sources ask for more, such as a database, a base or a sheet. Connect the account first if Softr asks.
3. Choose which records become users. See [Choose who becomes a user](#choose-who-becomes-a-user).
4. Map the user fields. See [Map the user fields](#map-the-user-fields).
5. Select **Save and sync**. The button reads **Save** when two-way sync is off.

![The Configure user sync window with the Softr Databases account, the Employees table and the Email field mapped. The Save and sync button is outlined.](/apps/sync-users/sync-window.2x.webp)

Softr then creates the users, and they appear in the **Users** list. A test user may exist already from when the app was created: delete it before you sync if you do not need it.

## Choose who becomes a user

Under **Records**, choose:

- **All**: every record of the table becomes a user.
- **Selected**: only the records that match your conditions, such as "Status is Active" or "Portal access is checked". Use it when the table holds more people than need the app.

Open **Advanced** to decide what happens in two cases.

### When a user signs up or is added in the app

Choose one of two options:

- **Create matching record and keep them synced**: Softr creates a record in the data source, so the table stays the full list. The user has the extra fields of the source.
- **Don't create matching record**: the user exists only in the app, without custom fields.

### When a record is deleted or stops matching your conditions

A record stops matching, for example, when an employee is marked as Inactive. Choose what happens to their user account:

| Option                                 | What happens                                                                                                                                                      |
| -------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Deactivate synced user**             | The user can no longer sign in. Their record and their account stay, and they do not count toward your plan. They come back when the record matches again         |
| **Delete synced user**                 | The user is removed from the app. They cannot sign in or be reactivated                                                                                           |
| **Unsync user but keep login enabled** | The user keeps their account but is no longer linked to the record. Their other fields stop working in user groups and filters. They still count toward your plan |

## Map the user fields

Under **Map user fields**, match the columns of your table to the user fields. **Email** comes first. Name and Avatar sit under **User profile fields (optional)**. The other fields sit under **Softr-managed fields (optional)**.

After you choose the **Email** field, Softr confirms that you can use any other field of the table in user groups, permissions and app logic. No extra mapping is needed.

| User field               | Required | What it holds                                                                                                                                          |
| ------------------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Email**                | Yes      | The user's email. It identifies the user, so never change it in the table                                                                              |
| **Name**                 | No       | The user's full name, used in emails and in the app                                                                                                    |
| **Permanent login link** | No       | A field where Softr writes the user's login link, so you can send it from your own tools. It shows only when permanent login links are on for your app |
| **Avatar**               | No       | The user's picture                                                                                                                                     |
| **Created time**         | No       | When the user was created                                                                                                                              |
| **Last seen time**       | No       | When the user last used the app, updated once per hour. Business and Enterprise plans                                                                  |

You do not need to map your other fields. They stay available in the app for user groups, filters and pages.

## First sign-in

In Classic apps, the window asks **Choose authentication method**: **Temporary password** or **Permanent login link**. The choice decides which invitation email synced users get. Apps built with Softr AI do not ask. They use the sign-in methods of the [Authentication tab](/apps/user-authentication). See [User emails](/apps/user-emails).

## How the sync works

The sync works in both directions:

- Adding a user. A user added in the app is added to the table, and a record added to the table becomes a user.
- Deleting a user. A user deleted in the app is deleted from the table. A record deleted from the table does not delete the user: the next sync adds the user back. This prevents mistakes you cannot undo. Delete users from the app.
- Fields Softr manages. Fields such as **Last seen time** and **Permanent login link** are written by Softr. A change you make in the table is overwritten at the next sync.

![The two directions of the sync between an Employees table and the users of the app, matched by email. A record added to the table becomes a user. A user added in the app adds a record. A user deleted in the app deletes the record. A record deleted in the table does not delete the user](/apps/sync-users/two-way-sync.2x.webp)

> **Warning**
>
> Never change a user's email in the table. Softr finds each user by their email, and loses track of a user whose email changed.

## When the sync runs

On a published app, a record added to the table becomes a user right away. In Studio and on unpublished apps, the sync is not continuous. Softr also syncs when a user signs in, when you publish the app, and when you open the **Users** tab. To sync now, or to pause the automatic sync, select the gear icon next to the source in the **Users** list, then **Trigger sync** or **Pause sync from source**.

## Fix sync issues

When a sync fails, for example because two records share the same email, the **Users** tab shows a notice. Select **See details** to see each issue and fix it in your table. Then select **Validate fix** to sync again.

![The Users tab with the notice "2 users in Employees are not synced". The See details link is outlined.](/apps/sync-users/sync-issue-notice.2x.webp)

The **These users are not being synced** window lists each record and the reason. Select **Validate fix** after you correct the table.

![The window that lists the users that are not synced, with the Validate fix button outlined.](/apps/sync-users/sync-issue-details.2x.webp)

## Sources you can sync users with

Two-way user sync works with Softr Databases, Airtable, Google Sheets, HubSpot, Notion, monday.com, ClickUp, Coda, SmartSuite, SQL databases, Supabase and Xano. BigQuery and REST API sources cannot hold your users.

## Apps created before June 2023

Older apps synced users in one direction only, from the app to the table. Turn on two-way sync in the **Users** tab of each of those apps.

## FAQ

**How does syncing users work in Classic apps?**

Classic apps are the older Softr apps, built from blocks before Softr AI. Open the **Users** tab and select **Sync with data source**. Then choose the source and the table that holds your users. You can sync all records or only the ones that match rules. You also choose what happens when a user stops matching: deactivate the account or delete it. BigQuery and REST API sources cannot hold your users.
