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

# OneDrive for Knowledge Base

> Import OneDrive files and folders into your Knowledge Base for AI-powered search and context.

Import your OneDrive files into the [Knowledge Base](https://docs.cassidyai.com/knowledge-base/overview.md) so your [Agents](https://docs.cassidyai.com/agents/overview.md) and [Workflows](https://docs.cassidyai.com/workflows/overview.md) can search and reference them.

## Connect your account

**1. Open Integrations**

Open **Account Settings**, then select **Integrations**.

**2. Find Microsoft OneDrive**

Locate **Microsoft OneDrive** in the list and click **Connect**.

![Integrations list with Microsoft OneDrive highlighted](https://mintcdn.com/cassidy/N9-y0nybfFX2aF_f/images/integrations/connecting-to-microsoft-onedrive-img-1.png?fit=max\&auto=format\&n=N9-y0nybfFX2aF_f\&q=85\&s=4723ff270d9a14029b7b3d3ef4e151e6)

**3. Log in with Microsoft**

Sign in with your Microsoft account credentials.

![Microsoft sign-in prompt](https://mintcdn.com/cassidy/N9-y0nybfFX2aF_f/images/integrations/connecting-to-microsoft-onedrive-img-2.png?fit=max\&auto=format\&n=N9-y0nybfFX2aF_f\&q=85\&s=3b5090a0cd971c53a81ca1b9ac7bb1af)

**4. Accept permissions**

Review the requested permissions and click **Accept** to authorize Cassidy.

![Microsoft permissions consent screen](https://mintcdn.com/cassidy/N9-y0nybfFX2aF_f/images/integrations/connecting-to-microsoft-onedrive-img-3.png?fit=max\&auto=format\&n=N9-y0nybfFX2aF_f\&q=85\&s=f6084649b015d9e92a4137c76bc20e30)

## Import OneDrive content

**1. Add a OneDrive source**

Open your [Knowledge Base](https://docs.cassidyai.com/knowledge-base/overview.md), click **Sync From Integrations**, and select **Sync from OneDrive**.

![Knowledge Base Sync From Integrations dropdown showing Sync from OneDrive option](https://mintcdn.com/cassidy/G5nvk-wLxhYfet-Z/images/knowledge-base/kb-sync-from-integrations.png?fit=max\&auto=format\&n=G5nvk-wLxhYfet-Z\&q=85\&s=e87b34d8688260c2915c42c9b01f1aa8)

**2. Select files and folders**

Browse your OneDrive, select the files or folders you want to import, then click **Import**. Click **Load more** at the bottom of the list to see additional items.

![Cassidy OneDrive import modal showing folders and the search bar](https://mintcdn.com/cassidy/Qeb5MGseqM8L7euD/images/integrations/onedrive-import-file-picker.png?fit=max\&auto=format\&n=Qeb5MGseqM8L7euD\&q=85\&s=88086bb999b58f0ff21266969439dffa)

**3. Search by file or folder URL**

You can also search for files and folders by pasting its OneDrive link into the search bar. In OneDrive, open the file or folder, click the **⋯** menu next to it, and select **Copy link**. Then paste that URL into the search bar in Cassidy.

![OneDrive showing the Copy link option in the file actions menu](https://mintcdn.com/cassidy/Qeb5MGseqM8L7euD/images/integrations/onedrive-copy-link.png?fit=max\&auto=format\&n=Qeb5MGseqM8L7euD\&q=85\&s=5f58bd1741f6f262153958811f65b674)

> [!TIP]
>
> OneDrive content automatically syncs every 24 hours, so your Knowledge Base
> stays up to date as you add or edit files. Enterprise plans support live sync
> for near-real-time updates. Learn more about [sync
> behavior](https://docs.cassidyai.com/integrations/sync-integrations.md).

## Next steps

> [card] [Organize your Knowledge Base](https://docs.cassidyai.com/knowledge-base/overview.md)
>
> Learn how to manage and structure your imported content.

> [card] [Build your first Agent](https://docs.cassidyai.com/agents/overview.md)
>
> Create an Agent that uses your OneDrive documents to answer questions.


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