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

# Keep your data current

> Sync datasets from Google Drive, sync files from SharePoint or OneDrive, and refresh data on demand.

| What you want to update | Use |
| - | - |
| A dataset based on a Google Drive file | [Google Drive sync](#sync-a-dataset-from-google-drive) |
| Documents stored in Microsoft 365 | [SharePoint or OneDrive sync](#sync-files-from-sharepoint-or-onedrive) |
| A dataset that already has a data source | [**Sync Now**](#refresh-a-dataset-now) |
| Data you build in Alphacast | [Pipelines](https://learn.alphacast.io/steps/overview.md) |

Connecting your own sources depends on your [plan](https://www.alphacast.io/pricing), which also sets how many external connections you can use.

## Sync a dataset from Google Drive

You can use a CSV, XLSX or Google Sheets file.

**1. Start a new dataset**

Click **Create new**, then **Dataset**.

**2. Connect Google**

Click **Sign in with Google** and allow access. Then click **Add File from Google Drive** and pick your file.

**3. Configure it**

Select a sheet if asked, then [set up the columns](https://learn.alphacast.io/your-data/datasets.md#create-a-dataset).

**4. Choose a frequency**

Under **Syncronization**, select **None**, **Hourly**, **Daily** or **Weekly**. Click **Save**.

To change the frequency, open the dataset's **Settings** tab. There you can also show or hide the Google Drive link, or use **Disconnect from Google Drive**. A disconnected dataset stops updating.

Keep the same column structure in the source file. If a sync fails, check that the file still exists and that your Google account can open it. Reconnect your Google account if needed.

## Sync files from SharePoint or OneDrive

This syncs documents into a repository's [Files](https://learn.alphacast.io/your-data/files.md) tab. You need **Admin** access to the repository.

**1. Add a source**

Open the repository's **Settings**. Under **External Sync Sources**, click **Add Sync Source**.

**2. Connect Microsoft 365**

Click **Connect Microsoft Account** and sign in.

**3. Choose a folder**

Select **SharePoint** or **OneDrive**, browse to the folder and click **Select This Folder**.

**4. Create the source**

Enter a **Name** and choose a **Sync Frequency**: **Manual only**, **Every hour**, **Daily** or **Weekly**. Click **Create Sync Source**.

![External Sync Sources section with the Add Sync Source button](https://mintcdn.com/alphacastio/S4wtX2Iw06s3xHSn/images/app/sync-sources.jpg?fit=max\&auto=format\&n=S4wtX2Iw06s3xHSn\&q=85\&s=3c81b9539b2c52dbd5b993b33b9ae491)

From the list, you can run a sync, disable or enable the source, and delete it. You can also turn on **Auto-extract files on sync** to process files for AI search. The list shows the last sync time and any error.

> [!WARNING]
>
> Deleting a sync source also deletes all the files that it synced into Alphacast.

## Refresh a dataset now

Some datasets show **Sync Now** in their actions. It asks for an update from the data source, or runs the pipeline that fetches external data. The **Versions** tab shows the activity.

Whether you see the button depends on how the dataset is updated and on your access. If the data was synced recently or a run is already waiting, Alphacast may ask you to try again later. A sync does not create new observations if the source has none.

## Next steps

> [card] [Follow a dataset](https://learn.alphacast.io/notifications.md#follow-a-dataset)
>
> Know when new data arrives.

> [card] [Pipeline runs](https://learn.alphacast.io/pipelines/runs.md)
>
> Check how your pipelines ran.


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