> ## 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](/knowledge-base/overview) so your [Agents](/agents/overview) and [Workflows](/workflows/overview) can search and reference them.

## Connect your account

<Steps>
  <Step title="Open connected apps">
    Go to **Settings** and click **Connected Apps**.

    <Frame>
      <img src="https://mintcdn.com/cassidy/N9-y0nybfFX2aF_f/images/integrations/connecting-to-microsoft-onedrive-img-0.png?fit=max&auto=format&n=N9-y0nybfFX2aF_f&q=85&s=e5b94363d9b7ee32312a544d833d1221" alt="Settings page showing the Connected Apps section" width="620" height="480" data-path="images/integrations/connecting-to-microsoft-onedrive-img-0.png" />
    </Frame>
  </Step>

  <Step title="Find Microsoft OneDrive">
    Locate **Microsoft OneDrive** in the list and click **Connect**.

    <Frame>
      <img src="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" alt="Connected Apps list with Microsoft OneDrive highlighted" width="2874" height="1206" data-path="images/integrations/connecting-to-microsoft-onedrive-img-1.png" />
    </Frame>
  </Step>

  <Step title="Log in with Microsoft">
    Sign in with your Microsoft account credentials.

    <Frame>
      <img src="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" alt="Microsoft sign-in prompt" width="1204" height="1600" data-path="images/integrations/connecting-to-microsoft-onedrive-img-2.png" />
    </Frame>
  </Step>

  <Step title="Accept permissions">
    Review the requested permissions and click **Accept** to authorize Cassidy.

    <Frame>
      <img src="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" alt="Microsoft permissions consent screen" width="2284" height="148" data-path="images/integrations/connecting-to-microsoft-onedrive-img-3.png" />
    </Frame>
  </Step>
</Steps>

## Import OneDrive content

<Steps>
  <Step title="Add a OneDrive source">
    Open your [Knowledge Base](/knowledge-base/overview), click **Sync From Integrations**, and select **Sync from OneDrive**.

    <Frame>
      <img src="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" alt="Knowledge Base Sync From Integrations dropdown showing Sync from OneDrive option" width="1024" height="738" data-path="images/knowledge-base/kb-sync-from-integrations.png" />
    </Frame>
  </Step>

  <Step title="Select files and folders">
    Browse your OneDrive, select the files or folders you want to import, then click **Import**.

    <Frame>
      <img src="https://mintcdn.com/cassidy/N9-y0nybfFX2aF_f/images/integrations/connecting-to-microsoft-onedrive-img-5.png?fit=max&auto=format&n=N9-y0nybfFX2aF_f&q=85&s=90bd0be3be1bbc6286fec346ba944f15" alt="OneDrive file picker showing folders and files to import" width="1186" height="866" data-path="images/integrations/connecting-to-microsoft-onedrive-img-5.png" />
    </Frame>
  </Step>
</Steps>

<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](/integrations/sync-integrations).</Tip>

## Next steps

<CardGroup cols={2}>
  <Card title="Organize your Knowledge Base" icon="book" href="/knowledge-base/overview">
    Learn how to manage and structure your imported content.
  </Card>

  <Card title="Build your first Agent" icon="robot" href="/agents/overview">
    Create an Agent that uses your OneDrive documents to answer questions.
  </Card>
</CardGroup>
