# SharePoint Integration RAG Assistant Blueprint

This feature enhancement allows for the integration of SharePoint as a source for file ingestion within the RAG Assistant Blueprint. Previously, file uploads were limited to local files. Now, administrators can browse and select files from SharePoint folders and upload them directly to Amazon S3, making these files readily available for RAG training.

Note: This is a Pre-Requisite to using SharePoint as a data source in the Blueprint template.

**Feature Capabilities:**

* Enable SharePoint Integration: Browse and navigate SharePoint folders within the RAG Assistant Blueprint using an existing connection.
* Direct Upload Capability: Select and upload supported files directly from SharePoint to Amazon S3.
* Automatic Availability: Ensure that files uploaded to S3 are automatically available for use in RAG training.
* Feedback Mechanism: Provide users with clear feedback regarding the status of uploads and any errors encountered.

**Supported File Types**

* Documents: .pdf, .docx, .csv, .xls, .xlsx, .txt
* Presentations: .ppt, .pptx
* Images: .gif, .jpg, .jpeg, .png, .webp
* Up to 30 files in single upload. Max total size of all files combined: 800 MB.
* Max size of any one individual file in the batch of files is 200 MB.

**How to use this feature:**

Navigation:&#x20;

Administrators can configure new connection to SharePoint site:

<figure><img src="/files/0jsfi7TTHDk0XadY5o30" alt="" width="218"><figcaption></figcaption></figure>

**Integration** > **Connect System** as shown below. Click **Add New Connection**.

<figure><img src="/files/3br8DASsJTjp8t8YbcvV" alt=""><figcaption></figcaption></figure>

From the dropdown list, select **Microsoft Office365 Exchange** and press **Next**

<figure><img src="/files/1mlxnwFuGjQMgJ5rScPn" alt=""><figcaption></figcaption></figure>

If you do not have this information ready, please refer to the [prerequisites section](/ixhc/general/enterprise-connections/microsoft-office-365.md). The table below explains each of the inputs shown on this screen.

| Input                 | Information                             |
| --------------------- | --------------------------------------- |
| Service Instance Name | You can give any value of your choice.  |
| Client ID             | This is your Office 365 Application ID. |
| Client Secret         | This is your application secret value.  |
| Tenant Id             | This is the directory ID in Office 365. |

<figure><img src="/files/EDzPlfuij9AidFzF6has" alt=""><figcaption></figcaption></figure>

**File Selection & Validation**

Administrators can now navigate SharePoint folders using the pre-established connection.

Refer to this [guide](/ixhc/general/ix-hello-studio-mode/steps/app-creation.md) on creating a new bot.

On creating new bot, click on customize app:

<figure><img src="/files/QwzR925MhixXex9Wc5cU" alt=""><figcaption></figcaption></figure>

OR select the required app to be edited and click on “AI Contents” tab:

<figure><img src="/files/T6GjEpFq0udTgtismO6y" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/X90a6CES9Ha18G7AI3BJ" alt=""><figcaption></figcaption></figure>

Complete the PII Redaction settings:

<figure><img src="/files/uuy3ejTb2woOuROH5svH" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/4CzrWJluJOFQ9qlojUKt" alt=""><figcaption></figcaption></figure>

Click on “ADD New AI Content”:

<figure><img src="/files/TinE7DcRgcjd0JOyxzFu" alt=""><figcaption></figcaption></figure>

Click on “SharePoint Tab” and select the SharePoint site (already configured earlier):

<figure><img src="/files/hC5Iz3yLUOAiSQfZRAPV" alt=""><figcaption></figcaption></figure>

Select the folders/documents for the bot to be trained on:

<figure><img src="/files/G2GqWCOgBNrr7PFWzKST" alt=""><figcaption></figcaption></figure>

Click on “Process”:

<figure><img src="/files/ypTMfWvGnBOBdpwbmKHt" alt=""><figcaption></figcaption></figure>

Click on “Check Status” to confirm completion of file addition. “Close” pop up on completion.

SharePoint URLs added for training will be shown in the list:

<figure><img src="/files/bteEByJMARAQD90kM3rd" alt=""><figcaption></figcaption></figure>

&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ixhello.com/ixhc/general/rag-file-upload/sharepoint-integration-rag-assistant-blueprint.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
