Import Your SharePoint Documents into AI Knowledge Bases
Easily connect Talkative to your Microsoft 365 SharePoint to browse your sites and import documents directly into your AI Knowledge Base. This guide will help you set up the secure connection.
Supported File Types: .txt
, .csv
, .json
, .pdf
, .doc
, .docx
, .pptx
Overview: What You'll Do
To connect securely, you will create a secure "app identity" in your Microsoft Azure portal and give it permission to read your SharePoint files. This process requires Administrator access to your Microsoft 365 tenant.
You will need to collect three pieces of information from Azure:
- Tenant ID: Your organization's unique ID in Microsoft Azure.
- Client ID: The unique ID for the Talkative integration app you create.
- Client Secret: A password for the app (you'll generate this).
Tip: Have a secure notepad ready to copy and save these three values.
Step-by-Step Configuration Guide
Part 1: Create the Application in Azure AD
- Log in to Azure: Go to the Microsoft Azure Portal and sign in with your Microsoft 365 administrator account.
- Find Entra ID: In the top search bar, search for and select "Microsoft Entra ID".
- Start Registration: From the left menu, select App registrations > + New registration.
- Name Your App:
- Name: Enter a clear name like "Talkative AI Integration".
- Supported account types: Select "Accounts in this organizational directory only (Single tenant)".
- Redirect URI: Leave this blank.
- Click Register.
Part 2: Save Your Credentials (Client ID & Tenant ID)
After registering, you’ll land on the app’s overview page. This is your only chance to easily copy these two values!
- Copy and securely save the Application (client) ID.
- Copy and securely save the Directory (tenant) ID.
Part 3: Grant Read-Only Permissions
Now, let's give the app permission to read your files and sites.
- From your app's menu, go to API permissions.
- Click Add a permission > Microsoft Graph > Application permissions.
- Use the search bar to find and select these two permissions:
Files.Read.All
(Read access to all files)Sites.Read.All
(Read access to all sites)
- Click Add permissions.
- Crucial Step: Click Grant admin consent for [Your Tenant Name].
- Confirm Yes on the pop-up. You'll know it worked when you see a green "Granted for [Your Tenant Name]" status for both permissions.
Part 4: Create the Application Password (Client Secret)
The app needs a password, called a Client Secret, to prove its identity.
- From the app's menu, go to Certificates & secrets.
- Click + New client secret.
- Add a description (e.g., "Talkative AI Production").
- Set an expiration. For ease of use, "24 months" is a good choice—remember to renew it later!
- Click Add.
- IMPORTANT: Immediately copy the Value of the new secret from the table. You cannot see it again later! Save it with your Client ID and Tenant ID.
You're All Set! Connect in Talkative.
Now that the Azure setup is complete, head back to Talkative to finish the connection.
- In your Talkative dashboard, go to your AI Knowledge Base settings.
- Navigate to SharePoint config > Create SharePoint (or go to
/sharepoint-configs/create
). - Enter the three values you saved:
- Tenant ID
- Client ID
- Client Secret
- Once connected, you can browse and import documents from your SharePoint sites by selecting External data source when building your Knowledge Base.
Need Help?
If you run into any issues during this setup, please contact our support team and provide the steps you've completed.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article