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

# Microsoft SharePoint

> Connect your Microsoft SharePoint sites to Unblocked

When you connect Unblocked with your Microsoft SharePoint sites, you'll provide Unblocked with important context on how and why your codebase works. Most importantly, Unblocked will be able to use the details in your SharePoint sites to answer questions you ask it, and it will provide links back to the documents and pages that it used for easy reference.

## Connect your Microsoft SharePoint site

<Note>
  A Microsoft SharePoint admin is required to connect your site to Unblocked.
</Note>

Whether you sign in with a source code manager or your SSO provider, you first need to authenticate to Unblocked.

Once you've signed in, click **Settings** in the sidebar, then **Data Sources**. Click **Connect Another**, scroll to the documentation section, and select **Microsoft SharePoint**. You'll then be redirected to Microsoft and asked to authorize your account with Unblocked.

<img src="https://mintcdn.com/unblocked/taG-L78i3gj8bef_/img/SharePoint-authorize-screen.png?fit=max&auto=format&n=taG-L78i3gj8bef_&q=85&s=75aad150c2fdcc3b7775a760c46f73b0" alt="SharePoint-authorize" width="2643" height="1619" data-path="img/SharePoint-authorize-screen.png" />

Once you grant Unblocked access to your SharePoint site, you'll be redirected back to Unblocked and prompted to select sites to share with Unblocked.

## Selecting your sites

You have the option to grant access to specific sites for Unblocked to index and search. You will be best served by adding all sites, but you can restrict the scope depending on your team's needs. Using [Data Shield](/team-settings/data-shield), you can also set access permissions that determine which content in your SharePoint sites will be used in Unblocked's answers.

<img src="https://mintcdn.com/unblocked/taG-L78i3gj8bef_/img/SharePoint-sites.png?fit=max&auto=format&n=taG-L78i3gj8bef_&q=85&s=a4386c63a14d5dc99e85280f7dfb64aa" alt="SharePoint-sites" width="2768" height="1366" data-path="img/SharePoint-sites.png" />

Once you click **Save Settings**, Unblocked will begin referencing the documents and pages in your SharePoint sites in its answers.

## Troubleshooting

### Non-admin users cannot connect SharePoint

If you're not a Microsoft SharePoint admin, you'll see an error screen when trying to connect your SharePoint site to Unblocked.

<img src="https://mintcdn.com/unblocked/taG-L78i3gj8bef_/img/SharePoint-non-admin-error.png?fit=max&auto=format&n=taG-L78i3gj8bef_&q=85&s=7bc83393e2b626b16b34a5f497ef4ebe" alt="SharePoint-non-admin-error" width="875" height="825" data-path="img/SharePoint-non-admin-error.png" />

To resolve this, contact your Microsoft SharePoint admin and ask them to either:

* Connect the SharePoint site to Unblocked themselves, or
* Grant you admin permissions so you can complete the connection
