Nisa
  • Overview
    • 👋Welcome to Nisa
    • ✨Our Features
  • Connecting Data Sources
    • Slack
    • Notion
    • Github
    • Jira
    • Confluence
    • Google Drive
    • One Drive
    • SharePoint
    • Google Calendar
    • Gmail
  • Deploying Bots
    • Slack
    • Discord
    • API
    • Widget
Powered by GitBook
On this page
  1. Connecting Data Sources

Google Drive

PreviousConfluenceNextOne Drive

Last updated 1 year ago

Google Drive, a product from Google Workspace, is an extensive cloud storage platform facilitating file storage, synchronization, and sharing, suitable for both individuals and teams. Our Business Chatbot integrates seamlessly with Google Drive, allowing automatic collection, synchronization, and indexing of the following elements:

Files

This includes Document ID, Name, Content, and Link.

Google Docs

We capture Google Docs title, content and link.

Google Sheets

We capture Google Sheets title, content and link.

By connecting your Google Drive with our Business Chatbot, you are essentially enhancing ChatGPT's ability to comprehend your documents better and provide more context-rich responses.

Setting Up the Google Drive Connector

Before you can connect Google Drive to our Business Chatbot dashboard, you'll need to create an OAuth App on the . Follow these steps after logging into Google's Developer Console:

Step 1. Create a project and add access to Google Drive API to it. Follow this .

Step 2. Click Create. Make sure to select the project that you previously created.

Note: You also need to enable Google Docs API and Google Sheets API if you want to index these type of files.

Step 5. Select Internal as user type and provide app information:

  • App Name (Nisa), User support email, and Developer contact information.

Step 6. In the Scopes for Google APIs section, click Add scope and select the following scopes for the Google Drive API:

../auth/drive.file
../auth/drive.readonly
../auth/drive.appdata
../auth/drive.metadata.readonly
../auth/documents.readonly

Save and Continue.

Step 7. We must now create credentials for the OAuth application. Locate the Credentials menu item in the left sidebar, click Create Credentials and select OAuth Client ID.

Step 8. Fill out the OAuth form:

  • Application type: Web application.

  • Name: Nisa

  • Authorized JavaScript origins: Dashboard domain URL. Ex. https://dashboard.nisa.ai

  • Authorized redirect URIs: Your domain callback URL. Ex. https://dashboard.nisa.ai/oauth/googledrive

Step 9. Upon submission, you will be presented with a Client ID and Client Secret. Keep them handy, as we’ll need them in a moment.

Step 10. Now, in the Business Chatbot dashboard, go to the Sources section, add new Organizational Source, and find Google Drive. Enter the Client ID and Client Secret obtained from your Google's Developer Console. Save configuration.

Step 11. Connect to Google Drive and allow the app.

Congratulations! You have successfully added a connection to synchronize your Google Drive, Google Docs and Google Sheets files using Google OAuth Credentials. The Business Chatbot will now be able to capture and process data from these elements, providing enhanced insights and contextual responses.

Step 3. Enable access to the Google Drive API for this project. Go to then search for Google Drive API and click Enable.

Step 4. Configure oauth screen. Follow this .

Libraries
link
Google's Developer Console platform
link