> For the complete documentation index, see [llms.txt](https://docs.ninox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ninox.com/builder-hub/design-your-app/create-and-manage-tables/sync-external-data.md). Agents can also search and read this documentation through its [MCP server](https://docs.ninox.com/~gitbook/mcp).

# Sync external data

Sync data from a connected external system to a Ninox table.

Use a connector to sync data from an external source into a new or existing Ninox table.

## Create a new synced table

Create a new Ninox table from data in an external system.

{% tabs %}
{% tab title="New connection" %}
{% stepper %}
{% step %}

#### Open live data connections

Open the app and click the arrow next to **Create table**.

Alternatively, click <i class="fa-ellipsis-vertical">:ellipsis-vertical:</i> **More** in the top bar.

<figure><img src="https://3739718108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYwCp7NT87JGgngrkhfHT%2Fuploads%2F7U7QV5f8ostxezoEs1r2%2FCreate%20Table_more%20connections%20EN.png?alt=media&amp;token=20bc410d-4b08-4a4c-82a3-8ba63334d54c" alt=""><figcaption></figcaption></figure>

Under **Connect live data**, select the connector you want to use. Select **More connections** to choose another connector.

Review the connector's available capabilities. Click **Connect** to set up the connection.
{% endstep %}

{% step %}

#### Set up the connection

Enter a **Connection name**. Under **Who logs in**, choose the account scope:

* **Organization account:** Shares one account across the organization. Select the workspaces where the connection is available.
* **Workspace account:** Shares one account with everyone in the current workspace.
* **Personal account:** Each workspace user connects their own external-system account.

{% hint style="info" %}
The available account options and required setup depend on the connected system.
{% endhint %}

Enter the required credentials for the connector, such as an API key. Click **Connect** to finish.
{% endstep %}

{% step %}

#### Create the target table

In **Target table**, select **Create table**.
{% endstep %}

{% step %}

#### Choose the connection and source

Select the required **Connection**.

In **Source**, select the folder, sheet, or dataset to sync. The available options depend on the selected external system. Ninox shows a preview after you select a source.
{% endstep %}

{% step %}

#### Configure sync settings

Configure the header cell, record matching, sync interval, and sync direction.

See [Configure sync settings for a new table](#configure-sync-settings-for-a-new-table) for details.
{% endstep %}

{% step %}

#### Name the synced table

Enter a **Name** for the new table.
{% endstep %}

{% step %}

#### Create the synced table

Review the preview and settings.

Click **Create synced table**.
{% endstep %}
{% endstepper %}
{% endtab %}

{% tab title="Existing connection" %}
{% stepper %}
{% step %}

#### Open live data connections

Open the app and click the arrow next to **Create table**.

Alternatively, click <i class="fa-ellipsis-vertical">:ellipsis-vertical:</i> **More** in the top bar.

Under **Connect live data**, select the existing connection you want to use.
{% endstep %}

{% step %}

#### Create the target table

In **Target table**, select **Create table**. Enter a name for the new table.
{% endstep %}

{% step %}

#### Choose the source

In **Source**, select the sheet, tab, or dataset to sync. The available options depend on the selected external system. Ninox shows a preview after you select a source.
{% endstep %}

{% step %}

#### Configure sync settings

Configure the header cell, record matching, sync interval, and sync direction.

See [Configure sync settings for a new table](#configure-sync-settings-for-a-new-table) for details.
{% endstep %}

{% step %}

#### Name the synced table

Enter a **Name** for the new table.
{% endstep %}

{% step %}

#### Create the synced table

Review the preview and settings.

Click **Create synced table**.
{% endstep %}
{% endstepper %}
{% endtab %}
{% endtabs %}

### Configure sync settings for a new table

Use **Sync settings** to configure the target table, source, and synchronization behavior.

In **Target table**, select **Create table**.

Then configure the following settings:

* **Connection:** Select the connector that provides the source data.
* **Source:** Select an available source. Another **Source** selector may appear to refine your selection. For example, select a sheet, then a tab. The available options and number of **Source** selectors depend on the connection and your setup.
* **Header cell:** For Google Sheets and Microsoft Excel, enter the cell that contains the source column headings, such as `A1`.
* **Match records by:** For Google Sheets and Microsoft Excel, select **Row position** to match records by their position in the source.
* **Sync interval:** Select **Manual**, **Every 15 minutes**, **Hourly**, or **Daily**. The available options depend on your plan.
* **Sync direction:** Select **One way (Read-only)** to import source data into Ninox. Select **Both ways (Read and write)** to synchronize changes in both systems.
* **Name:** Enter a name and select an icon for the table.

## Sync external data with an existing table

Sync external data with a table that already exists in your app.

{% tabs %}
{% tab title="New connection" %}
{% stepper %}
{% step %}

#### Open live data connections

Open the app and click the arrow next to **Create table**.

Alternatively, click <i class="fa-ellipsis-vertical">:ellipsis-vertical:</i> **More** in the top bar.

Under **Connect live data**, select the connector you want to use. Select **More connections** to choose another connector.

Review the connector's available capabilities. Click **Connect** to set up the connection.
{% endstep %}

{% step %}

#### Set up the connection

Enter a **Connection name**. Under **Who logs in**, select **Organization account** to share one account across the organization or **Workspace account** to use one shared account in the current workspace.

Enter the required credentials for the connector, such as an API key. Click **Connect** to finish.
{% endstep %}

{% step %}

#### Select the target table

In **Target table**, select the existing table to sync.
{% endstep %}

{% step %}

#### Choose the connection and source

Select the required **Connection**.

In **Source**, select the sheet, tab, or dataset to sync. The available options depend on the selected external system. Ninox shows a preview after you select a source.
{% endstep %}

{% step %}

#### Configure sync settings

Configure the record matching, sync interval, sync direction, and initial import.

See [Configure sync settings for an existing table](#configure-sync-settings-for-an-existing-table) for details.
{% endstep %}

{% step %}

#### Map source fields

Open **Map fields** and map source columns to Ninox fields.

See [Map source fields](#map-source-fields) for details.
{% endstep %}

{% step %}

#### Start the sync

Review the preview and settings.

Click **Start syncing**.
{% endstep %}
{% endstepper %}
{% endtab %}

{% tab title="Existing connection" %}
{% stepper %}
{% step %}

#### Open live data connections

Open the app and click the arrow next to **Create table**.

Alternatively, click <i class="fa-ellipsis-vertical">:ellipsis-vertical:</i> **More** in the top bar.

Under **Connect live data**, select the existing connection you want to use.
{% endstep %}

{% step %}

#### Select the target table

In **Target table**, select the existing table to sync.
{% endstep %}

{% step %}

#### Choose the source

In **Source**, select the sheet, tab, or dataset to sync. The available options depend on the selected external system. Ninox shows a preview after you select a source.
{% endstep %}

{% step %}

#### Configure sync settings

Configure the record matching, sync interval, sync direction, and initial import.

See [Configure sync settings for an existing table](#configure-sync-settings-for-an-existing-table) for details.
{% endstep %}

{% step %}

#### Map source fields

Open **Map fields** and map source columns to Ninox fields.

See [Map source fields](#map-source-fields) for details.
{% endstep %}

{% step %}

#### Start the sync

Review the preview and settings.

Click **Start syncing**.
{% endstep %}
{% endstepper %}
{% endtab %}
{% endtabs %}

### Configure sync settings for an existing table

Use **Sync settings** to configure the target table, source, and synchronization behavior.

In **Target table**, select the Ninox table that you want to sync.

Then configure the following settings:

* **Connection:** Select the connector that provides the source data.
* **Source:** Select the source file, then the sheet, tab, or dataset to sync. The available options depend on the selected external system.
* **Header cell**: For Google Sheets and Microsoft Excel, enter the cell that contains the source column headings, such as `A1`.
* **Match records by:** For Google Sheets and Microsoft Excel select:
  * **Key column** to match records by a unique value. Select the key column in the selector that appears below. Ninox updates only records with matching key values.
  * **Row position** to match records by their position in the source. During synchronization, Ninox overwrites the existing data with values from the matching source row.
* **Sync interval:** Select **Manual**, **Every 15 minutes**, **Hourly**, or **Daily**. The available options depend on your plan.
* **Sync direction:** Select **One way (Read-only)** to import source data into Ninox. Select **Both ways (Read and write)** to synchronize changes in both systems.
* **Initial import:** Select **Update and add records** to update matching records and add new ones. Select **Add new records only** to import only source records that do not already exist. This option is unavailable when you match records by **Key column**.

{% hint style="info" %}
Use the preview to review new and updated records before syncing. It does not show existing table records and displays up to 15. New records are green, updated ones blue, and deleted ones red.
{% endhint %}

#### Map source fields

Open **Map fields** to define how source data is imported into the target table. For each source column, choose whether to import it, then map it to an existing Ninox field or create a new field. This ensures that source values are stored in the correct field.

For each source column, you can:

* turn **Import** on or off
* select an existing **Ninox field** or select **Create field**

## Sync a table after setup

After you create a synced table, its top bar shows the latest synchronization status, such as **Synced 10 secs ago**. The color indicates how many records changed during that synchronization:

* **Green:** No records changed.
* **Orange:** 1 to 50 records changed.
* **Red:** More than 50 records changed.

Click the <i class="fa-rotate">:rotate:</i> icon at any time to synchronize the table manually.

When you select a fixed sync interval during configuration, such as **Every 15 minutes**, **Hourly**, or **Daily**, Ninox synchronizes the table automatically at that interval.

When **Sync interval** is set to **Manual**, click **Sync** in the top bar to update the table.

If the external system requires authentication, Ninox shows **Log in to sync** instead of **Sync**. Click it and sign in before the next synchronization.\
For tables that use each user's external-system account, connect your account under **Connections** in the workspace settings. To connect it, click the <i class="fa-link">:link:</i> icon in the connectors list.

## Change settings for an existing synchronization

Change the **Sync interval** and **Sync direction**, or **Edit field mapping** at any time.

In the settings panel, select the **Table** tab, then select the **Settings** tab.

Under **Sync**, you find:

* **Sync interval**
* **Sync direction**
* **Edit field mapping**

## Stop the synchronization

If you no longer need to sync a table, stop the synchronization in the table settings.

In the settings panel, select the **Table** tab, then select the **Settings** tab.

Under **Sync,** click **Stop syncing**.

<figure><img src="https://3739718108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYwCp7NT87JGgngrkhfHT%2Fuploads%2F60etI8vlulMMwcNX4tCA%2Fen_sync_settings_panel.png?alt=media&amp;token=2a31d9c6-f52b-4510-8f00-5b9ef2def5c7" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ninox.com/builder-hub/design-your-app/create-and-manage-tables/sync-external-data.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
