> For the complete documentation index, see [llms.txt](https://docs.nisa.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nisa.ai/connecting-data-sources/sharepoint.md).

# SharePoint

SharePoint, a prominent collaboration and document management platform from Microsoft, plays a crucial role in the digital workplace. It offers a centralized space for storing, organizing, and accessing corporate documents, making it an essential tool for teams and organizations. Integrating SharePoint with our Business Chatbot takes your digital experience to the next level. This integration allows the chatbot to interact seamlessly with SharePoint data, enhancing its ability to provide informed, relevant, and context-aware responses based on your organization’s documents, lists, and workflows.

## Setting Up the SharePoint Connector

To connect SharePoint to the Nisa dashboard, you must first set up an OAuth app within the Microsoft Azure Portal. Follow the steps below after logging into the [Azure Portal](https://entra.microsoft.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade/quickStartType~/null/sourceType/Microsoft_AAD_IAM):

**Step 1:** Create a new app registration in Azure Active Directory (AAD).

<figure><img src="/files/99NnZ2H4moR8o1SVY3lv" alt=""><figcaption></figcaption></figure>

**Step 2:** Fill in the details of the app registration.

* Name: Provide a name for your app, like 'Nisa'.
* Supported account types: Choose which accounts you would like your application to support.
* Redirect URI: Enter your dashboard domain callback URL, for example, `https://dashboard.nisa.ai/oauth/sharepoint`.
*

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

* Save the client ID

<figure><img src="/files/6qam16WdQc8fEy9kkkqs" alt=""><figcaption></figcaption></figure>

**Step 3:** Create client credentials.

* Under 'Certificates & secrets', click on 'New client secret'.

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

  <figure><img src="/files/T86aDbVj4Lyn3mhyKjcO" alt=""><figcaption></figcaption></figure>
* Add a description and select an expiry for the secret. Store the value securely.

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

**Step 4:** Integrate with Nisa.

* In your Nisa dashboard, go to 'Sources' and add a new 'Add Project Source'.

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

* Select the SharePoint to Connect.

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

* Enter the Client ID and Secret Key then press the save configuration.

<figure><img src="/files/8cgQeM67nTPWNBQ0EdLn" alt=""><figcaption></figcaption></figure>

* Sync the Integration and Accept the Permission Request after logging in.

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

* The syncing process will then start behind the scene and you'll be able to check the contents.

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

**Congratulations!** Your SharePoint is now integrated with Nisa. The bot can now access and index files from SharePoint, enhancing its understanding and the relevancy of its responses to queries related to your documents.<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.nisa.ai/connecting-data-sources/sharepoint.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.
