Skip to main content

Google Drive

Prefer guided AI setup?

Instead of following these steps manually, you can use the AI Credential Assistant — describe what you want to connect and the AI will walk you through the setup step by step, tailored to your account.

Overview​

Connect your Google Drive account to Nirvai to automate file management, sharing, and cloud storage workflows.

Supported Authentication Methods​

  • OAuth2

Prerequisites​

  • A Google account
  • Access to Google Drive

Setup Instructions​

  1. In Nirvai, go to Credentials > Add Credential
  2. Select Google Drive OAuth2
  3. Click Authorize
  4. Sign in with your Google account
  5. Review and accept the requested permissions:
    • View and manage files in Google Drive
    • View file metadata
  6. You'll be redirected back to Nirvai with your credential saved

Permissions Requested​

  • drive: Full access to files and folders
  • drive.file: Access to files created/opened by the app
  • drive.metadata.readonly: View file metadata

What You Can Do​

  • Upload and download files
  • Create, move, and delete files/folders
  • Share files with others
  • Search for files
  • Manage shared drives

Troubleshooting​

Common Issues​

  • Access Denied: Ensure you authorized all requested scopes
  • File Not Found: Verify the file ID and permissions
  • Quota Exceeded: Check your Google Drive storage quota

Adapted from Google documentation for Nirvai platform


Next Steps​

Got your credential? Connect it to an agent

Use the AI Tool Creator to turn this credential into agent-callable tools. Describe what your agent should be able to do and the AI investigates the API, configures the endpoints, and gives you a reviewable toolkit before saving anything.