# How to sync a SharePoint Online document library to a local machine

*This article will detail how to make shared files in SharePoint available in file explorer.*

#### Before you start

The requirements for this process to work are

- Access to office.com using 365 email and password credentials.
- Access to the required SharePoint site already via the office.com portal.
- OneDrive client installed on the local machine and signed in already.

##### 1. Browse to the sharepoint site required in a web browser.

An example URL could be [https://yourcompany.sharepoint.com/sites/accounts](https://yourcompany.sharepoint.com/sites/accounts)

OR

Access via the Office 365 portal &gt; https://office.com &gt; Sharepoint &gt; Select the Sharepoint site.

##### 2. Once at the site head to **documents** and then choose **sync**.

[![image-1657190986576.png](https://wiki.safetynet-it.com/uploads/images/gallery/2022-07/scaled-1680-/cmFimjT2gOobkhq9-image-1657190986576.png)](https://wiki.safetynet-it.com/uploads/images/gallery/2022-07/cmFimjT2gOobkhq9-image-1657190986576.png)

[![image-1657190990641.png](https://wiki.safetynet-it.com/uploads/images/gallery/2022-07/scaled-1680-/wAj39ZPS7eIK9OSq-image-1657190990641.png)](https://wiki.safetynet-it.com/uploads/images/gallery/2022-07/wAj39ZPS7eIK9OSq-image-1657190990641.png)

##### 3. This will produce a prompt for you to allow this site to sync using the locally installed onedrive client.

Choose **Open Microsoft OneDrive.**

[![image-1657190997751.png](https://wiki.safetynet-it.com/uploads/images/gallery/2022-07/scaled-1680-/DLuXbnvNhEnUVO9L-image-1657190997751.png)](https://wiki.safetynet-it.com/uploads/images/gallery/2022-07/DLuXbnvNhEnUVO9L-image-1657190997751.png)

[![image-1657191003234.png](https://wiki.safetynet-it.com/uploads/images/gallery/2022-07/scaled-1680-/aKnjXzqnEIc9fcKd-image-1657191003234.png)](https://wiki.safetynet-it.com/uploads/images/gallery/2022-07/aKnjXzqnEIc9fcKd-image-1657191003234.png)

##### 4, Open **file explorer** to confirm data is synced.

The newly synchronized site data will be available under the SharePoint icon, a blue office icon.

[![image-1657191017124.png](https://wiki.safetynet-it.com/uploads/images/gallery/2022-07/scaled-1680-/HiKkWsRq1ofgzehI-image-1657191017124.png)](https://wiki.safetynet-it.com/uploads/images/gallery/2022-07/HiKkWsRq1ofgzehI-image-1657191017124.png)

##### Repeat this step with other SharePoint sites for any additional data required.