Gebo.ai setup guide · Integrations · Page 10

SharePoint and OneDrive

Let Gebo.ai read your SharePoint sites and OneDrive libraries through an application registered in Microsoft Entra, or a SharePoint 2019 server with a user of its own.

Time
15 minutes, most of them in the Microsoft admin portal.
You need
Cloud: a Microsoft Entra app registration with a client secret and the permission to read sites and files. On premise (SharePoint 2019): the server address, a user and its password.

1In Microsoft Entra: register an application

  1. Open entra.microsoft.com → App registrations → New registration, name it Gebo.ai, single tenant, no redirect URI.
  2. On the overview note the Application (client) ID and the Directory (tenant) ID.
  3. Certificates & secrets → New client secret: note the secret value (shown once) and its expiry.
  4. API permissions → Add a permission → Microsoft Graph → Application permissions: Sites.Read.All and Files.Read.All, then Grant admin consent.
Application, not delegatedGebo.ai reads as the application, with no user logged in: the permissions must be of the Application kind and consented by an administrator.

2In Gebo.ai: enter the credentials

In Setup → Enterprise integrations click Microsoft Sharepoint integration, then + Sharepoint system.

A new SharePoint/OneDrive system, Cloud version.
A new SharePoint/OneDrive system, Cloud version.
  1. Sharepoint version: Cloud version for Microsoft 365; On premise 2019 asks for the server address, a user and a password instead of the fields below.
  2. Tenant ID: the Directory (tenant) ID.
  3. Client ID: the Application (client) ID.
  4. Secret key: the client secret value.
  5. Click Create. Gebo.ai connects to Microsoft Graph before saving.
The secret expiresClient secrets expire (6 to 24 months). Note the date: when it expires, create a new secret in Entra and update the system here.

3Then add the data source

Admin → Knowledge bases & projects → +Add data source → +sharepoint: pick the system, the sites or libraries and Publish!, as in step 5.

**+Add data source** (1), then **+sharePoint/oneDrive** (2).
+Add data source (1), then +sharePoint/oneDrive (2).