By connecting Slite with your SharePoint account, you can instantly search through all your content stored in SharePoint directly in the Slite Agent.
This guide will walk you through the key aspects of the Slite and SharePoint connection.
Connecting SharePoint & the Slite Agent
This is the first step to get started. This section covers how to set up the connection between Slite and SharePoint.
Required permissions for setup
To connect Slite and SharePoint, you must have the necessary permissions in both platforms.
In Slite: Permission to add or remove agent sources depends on your team's settings. By default, only workspace admins or owners can set up a connection. However, a Slite admin can enable a setting to allow all members to add and remove agent sources.
In SharePoint: The user connecting the account must have appropriate permissions to access the SharePoint data you want to sync.
Initial SharePoint connection
1) Fetching SharePoint permissions (Expand section to read more...)
To begin, a SharePoint admin needs to set up the following.
a) Registering a new dedicated app
Go to this page and search for "app registrations".
Searching for app registrations in the Azure portal.
Click "New registration" in the top-left corner.
Give the application a name (e.g., "Slite").
Registering a new application.
Make sure the default option "Accounts in this organizational directory only" is selected and click Register .
b) Managing API permissions
The application you created requires permissions to fetch your SharePoint content along with its users and groups.
In the left sidebar, go to "API permissions" in the Manage section.
Managing API permissions.
Click "Add a permission" , then select Microsoft Graph and Application .
Graph permissions.
Add all of the following permissions:
Directory.Read.All
Files.Read.All
Group.Read.All
GroupMember.Read.All
Sites.Read.All
User.Read.All
Click "Grant admin consent for [your organization]"
It should say " Granted for [your organization]"
Granting admin consent for your organization.
c) Creating a secret
In order for Slite Agent to be able to use your application, you need to create secret credentials.
In the left sidebar, go to "Certificates & Secrets" in the Manage section.
Managing certificates and secrets.
Click "New client secret" , then give your client secret a description.