> ## Documentation Index
> Fetch the complete documentation index at: https://zenskar.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How-to guides: Manage data sources

> This document shows how to find and add data sources, choose what a synced data source syncs, and control its syncs.

## Find a data source

### Prerequisites

* You need a role with the **Can Read Data Source** permission.

### Steps

1. Go to **Usage** > **Data Sources**.

   The list shows the [data sources](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#data-source) of your [organization](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#organization). **Status** shows **Failed** when Zenskar cannot connect to the system of a data source.

2. Optional: To sort the list, click a column header. Click it again to sort in descending order, and a third time to remove the sorting.

3. In **Search Data Source**, enter part of the name, and select the data source from the results. You can also click the data source in the list.

The screen of the data source opens.

See [Data Sources screen: controls and columns](https://zenskar.com/docs/20260301/zenskar-modules/usage/reference/data-sources.md#data-sources-screen-controls-and-columns).

## Add a data source

### Prerequisites

* You need a role with the **Can Create Data Source** and **Can Read Data Source** permissions.
* You need the connection details of the system. The document of each [data-source connector](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#data-source-connector) lists what its connection needs. See [Data-source connectors: how Zenskar reads a data source](https://zenskar.com/docs/20260301/zenskar-modules/usage/concepts/data-sources.md#data-source-connectors-how-zenskar-reads-a-data-source).

### Steps

> [!CAUTION]
>
> You cannot delete a [data source](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#data-source). You cannot change its data-source connector, connection settings, or access after you save it. Check the settings before you click **SAVE SOURCE**.

1. Go to **Usage** > **Data Sources**.

2. Click **ADD DATA SOURCE**. The **Add New Data Source** screen opens.

3. Under **Set Up Source**, in **Source Name**, enter a name.

4. In **Source Type**, select the data-source connector.

5. Under **Source Config**, enter the connection settings. The fields depend on the data-source connector.

6. Under **Source Access**, select **Directly from Source** for a [remote data source](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#remote-data-source), or **Sync to Zenskar** for a [synced data source](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#synced-data-source).

   When the data-source connector allows only one access, the dashboard selects it for you. When both are possible, **Directly from Source** is selected by default.

7. Click **SAVE SOURCE**.

For a remote data source, the dashboard confirms the save. Click **BACK** to return to **Data Sources**.

For a synced data source, the screen of the data source opens. Zenskar connects to the system, and lists the tables that it can copy. This can take a few minutes. Choose the tables next. See [Choose the tables and columns to sync](#choose-the-tables-and-columns-to-sync).

See [Add New Data Source screen: fields and their rules](https://zenskar.com/docs/20260301/zenskar-modules/usage/reference/data-sources.md#add-new-data-source-screen-fields-and-their-rules).

## Choose the tables and columns to sync

Use the same steps to change the choice later.

### Prerequisites

* You need a role with the **Can Update Data Source** and **Can Read Data Source** permissions.

### Steps

1. Go to **Usage** > **Data Sources**, and click the [synced data source](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#synced-data-source).

   The **Sync Required Tables & Columns** screen lists the tables that Zenskar can copy. A [billable metric](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#billable-metric) can read only the tables and columns that you sync.

2. Turn on the switch of each table to sync. To sync all tables, turn on the switch in the column header.

   Turning on a table syncs all its columns.

3. Optional: To choose the columns of a table, click the add icon next to the name of the table.

   The **Edit Table** window lists the columns of the table, with **Column Name** and **Data Type**.

4. In the **Edit Table** window, turn on the switch of each column to sync. To sync all columns, turn on the switch in the column header.

5. Optional: Under **Cursor**, select the [cursor column](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#cursor-column). It must be a column that you sync.

   Without a cursor column, each sync replaces the whole table in the [synced usage data](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#synced-usage-data). See [Cursor columns: which rows a sync adds](https://zenskar.com/docs/20260301/zenskar-modules/usage/concepts/data-sources.md#cursor-columns-which-rows-a-sync-adds).

6. Under **Primary Key**, select one column.

7. Click **SAVE**.

8. Click **FINISH SETUP**.

Zenskar saves the choice. The **Data Sources** list opens.

See [Synced data source](https://zenskar.com/docs/20260301/zenskar-modules/usage/reference/data-sources.md#synced-data-source).

## Change the sync frequency

### Prerequisites

* You need a role with the **Can Update Data Source** and **Can Read Data Source** permissions.

### Steps

1. Go to **Usage** > **Data Sources**, and click the [synced data source](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#synced-data-source).
2. Under **SYNC INFO**, in **Select Frequency**, select how often to sync. **Last Synced** shows the time of the latest sync.
3. Click **FINISH SETUP**.

Zenskar saves the [sync frequency](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#sync-frequency). The **Data Sources** list opens.

See [DATA SOURCE INFO and SYNC INFO](https://zenskar.com/docs/20260301/zenskar-modules/usage/reference/data-sources.md#data-source-info-and-sync-info).

## Sync now, pause, or resume syncing

### Prerequisites

* To sync now, you need a role with the **Can Read Data Source** permission.
* To pause or resume syncing, the role also needs the **Can Update Data Source** permission.

### Steps

1. Go to **Usage** > **Data Sources**, and click the [synced data source](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#synced-data-source).
2. Click one of the following:

   * **SYNC NOW**, to start a sync right away, between the scheduled syncs.
   * **PAUSE SYNC**, to stop the scheduled syncs.
   * **RESUME SYNC**, to restart the scheduled syncs of a paused synced data source.

   While syncing is paused, the [synced usage data](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#synced-usage-data) stays as it was at the last sync. A [billable metric](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#billable-metric) reads that synced usage data.

See [Synced data source](https://zenskar.com/docs/20260301/zenskar-modules/usage/reference/data-sources.md#synced-data-source).

## Refresh a data source

Refresh a synced data source when the system has new kinds of records or new fields.

### Prerequisites

* You need a role with the **Can Read Data Source** permission.

### Steps

1. Go to **Usage** > **Data Sources**, and click the [synced data source](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#synced-data-source).
2. Click **REFRESH SOURCE**.

   Zenskar reads the system again. This can take a few minutes. Refreshing does not change the connection settings.

The **Sync Required Tables & Columns** screen lists the current tables, with the new kinds of records and new fields as new tables and columns. To sync a new table or column, choose it. See [Choose the tables and columns to sync](#choose-the-tables-and-columns-to-sync).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.