# Overview
This guide provides detailed instructions for managing SharePoint libraries within GPT Pro's knowledge base. By connecting SharePoint libraries, you can automatically synchronize and index documents from your SharePoint sites.
# Prerequisites
- Administrator access to admin.gpt-pro.com.
- Access to SharePoint sites with appropriate permissions.
- M365 admin consent for required permissions.
# Accessing the SharePoint Libraries Interface
- Navigate to admin.gpt-pro.com (opens new window).
- Enter your administrator credentials to log in.
- Select 'Documents' from the sidebar to open the document management interface.
- Choose 'SharePoint'.
# Viewing SharePoint Libraries
The interface lists all SharePoint libraries with details such as library name, site URL, indexing status, and the last indexing date.

# Adding a SharePoint Library
TIP
π‘To keep GPT Pro's knowledge base up to date, regularly add new SharePoint libraries.
- Click '+ Add library'.
- Enter the SharePoint site URL in the provided field.
- Click 'Check' to verify the site URL.
- Once verified, click 'Save' to add the library to GPT Pro.

# SharePoint Document Indexing Rules (Important)
π‘GPT Pro automatically synchronizes and updates the content of indexed SharePoint documents every hour on the hour (fixed schedule). This ensures near real-time availability of document changes in chatbot responses.
Access & Authorization Logic
GPT Pro always uses the permissions of the user who connected or added the library in the Admin Center.
Only the documents that this user can access will be indexed.
If that user leaves the organization or loses access, the indexing will stop and new documents won't be retrieved.
β οΈ Best practice: use a dedicated service account with stable access rights to connect SharePoint libraries, ensuring continuity of indexing.
User Experience
When end users ask questions in Teams or Webchat, GPT Pro only retrieves documents they have access to according to SharePoint's native ACLs.
No document outside a user's permissions can appear or be queried.
# Checking Library Indexing Status
For updates on your added libraries:
- The indexing status of each library is displayed in the 'Indexing status' column.
- The 'Last indexing' column shows the most recent indexing date and time.
# Deleting Unused SharePoint Library
- To manage and delete unused sharepoint library, click the
Actionsdropdown next to the library.- Delete: Remove the library from GPT Pro.

# Viewing Library Contents
- Click on the library name to view the contents of the library.
- If there are no documents in the library, a message will be displayed indicating that there are no documents available.
- To add the content in the library, you have to add it directly from your sharepoint file
# User Permissions
- The type of user who can see or index the documents is the same user who has the right to the SharePoint document since the beginning.
- Ensure that the permissions are set correctly on the SharePoint site to allow the appropriate users access to the documents.
# Best Practices
- Regularly add and review SharePoint libraries.
- Remove outdated libraries to maintain GPT Pro's performance.
- Use service accounts for stable indexing access.
# Document Indexation and Metadata Management
When indexing documentation, specific criteria and filters are applied to ensure the most relevant document is retrieved when a user submits a query. The process for managing metadata and determining which document is selected involves the following:
# 1. Pre-filters for Version Control
To ensure that versioning is correctly accounted for, the system applies various filters based on:
- File Names: The document's name is checked for version-specific details.
- Directory Names: The folder structure is examined for version indications.
- Contract Addendums and Contract Numbers: Relevant metadata related to contracts is analyzed.
- Status Indicators (e.g., Old, Draft, Published): Documents are filtered based on their status to prioritize relevant versions.
# 2. Primary Criterion (P1): Version Number Priority
- The version number is the leading criterion for document selection. The system prioritizes documents that have clear versioning information embedded in their metadata or file names.
# 3. Secondary Criterion (P2): Update Date
- If no explicit version number is found, the system defaults to using the latest update date to determine the most current and relevant document.
This structured approach ensures that users receive the most appropriate document based on versioning and recency when querying the system.
β Local Documents SharePoint Pages β