---
title: Configuring SharePoint integration connections
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

Before you can browse or manage the contents of a SharePoint site in Xperience, you need to specify a connection to the SharePoint server. The system allows you to define multiple SharePoint integration connections for the current Xperience site.

## Managing SharePoint connections

To manage SharePoint integration connections, use the **SharePoint connections** application. The application allows you to manage all SharePoint connections defined for the currently selected site.

![Managing SharePoint connections](https://docs.kentico.com/docsassets/13/configuring-sharepoint-integration-connections/managing_connections.png "Managing SharePoint connections")

To manage existing SharePoint connections, use the following basic actions:

- **Edit** () - opens the connection editing interface, where you can view and modify the connection details.
- **Delete** ()

### SharePoint connection properties

| Section        | Properties                                                                                                                                                                                                                                                                                                                                                                                                                              |
| -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| General        | **Display name** – the name of the SharePoint connection used in the system's administration interface.<br>**Code name** – the string identifier of the SharePoint connection object used by developers in the code. Unless there is a reason to set a particular value, you can leave the default _(automatic)_ option, and the system generates an appropriate code name.<br>**Site URL** – specifies the URL of the SharePoint site. |
| Authentication | **Username**<br>**Password**                                                                                                                                                                                                                                                                                                                                                                                                            |

## Adding SharePoint connections

To add a new connection to a SharePoint server:

1. Open the **SharePoint connections** application.
2. Click **New connection**.
3. Enter the SharePoint connection properties.
4. Click **Save**.
5. (Optional) In the **Connection test** section, click **Test connection** to verify that the connection is functional.

The system creates a new SharePoint connection. You can now use the connection when defining available [SharePoint libraries](https://docs.kentico.com/13/integrating-3rd-party-systems/integrating-sharepoint/managing-sharepoint-libraries.md).

## Caching SharePoint data

You can configure the system to [cache files downloaded from a SharePoint server](https://docs.kentico.com/13/configuring-xperience/managing-sites/configuring-settings-for-sites/settings-integration/settings-microsoft-sharepoint.md).

1. Open the **Settings** application.
2. Select the **Integration -> Microsoft SharePoint** category.
3. Enter values into the **Cache timeout (minutes)** and **File size limit (kB)** settings.
4. Click **Save.**

Within the specified time, the system caches all downloaded SharePoint files up to the specified size limit.

## Testing SharePoint connections

You can verify if the system can connect to the SharePoint server specified in a connection.

1. Open the **SharePoint connections** application.
2. **Edit** () a connection.
3. In the **Connection test** section, click **Test connection**.

The system informs you about the result of the connection test.

![Testing a SharePoint connection](https://docs.kentico.com/docsassets/13/configuring-sharepoint-integration-connections/testing_connection.png "Testing a SharePoint connection")
