Google drive
Google Drive Integration Guide
This guide provides a detailed, step-by-step walkthrough for integrating Google Drive with your Chatvolt.ai instance. By connecting your Google Drive, your agent will automatically sync files and folders to ensure it always has access to the latest data. Follow the instructions below to configure your Google OAuth credentials and set up the integration correctly.
Google API Policy Compliance
💡 Chatvolt’s use and transfer of information received from Google APIs to any other app will adhere to the Google API Services User Data Policy, including the Limited Use requirements.
🔧 Setting Up Google OAuth Credentials
Follow the steps below to obtain your Client ID
and Client Secret
for the integration. Note: A free Google account allows up to 100 connections.
1. Create a Google Cloud Project
- Visit the Google Cloud Console.
- Sign in with your Google account or create a new one.
If an account is already connected, click on Console. - Click Select a project → New Project.
- In the Select a project dialog, click New Project, enter a name for your project, and click Create.
- Open your new project by clicking on Select a project and choosing it from the list.
Note: If you have multiple projects, you can search for your project by name.
2. Enable the Google Drive API
- Navigate to APIs & Services > Dashboard.
- Click Enable APIs and Services.
- Click Enable APIs and Services once again on the subsequent screen.
- Search for Google Drive API, click on it, and then activate it.
3. Set Up the OAuth Consent Screen
- In the left menu, go to Credentials and click Configure Consent Screen.
- Click Let’s get started in the center of the screen.
- Provide a name for your app and select your email for user support. Then click Next.
- User Type Selection:
- Internal: The app will be accessible only to users within your account organization (available only for Google organization accounts).
- External: The app will be accessible to any user outside your organization.
- Provide an email address to receive notifications about any project changes and click Next.
- Agree to the Google API Services User Data Policy and click Next.
- Finally, click To Create to complete the OAuth consent screen setup.
4. Publish App
- To exit test mode:
- Navigate to the Target Audience tab in the OAuth Consent Screen settings.
- Click Publish App.
- If you initially selected Internal but wish to allow external users, change the User Type to External; otherwise, leave it as Internal.
5. Generate OAuth Credentials
- Return to APIs & Services > Credentials.
- Ensure you are in the correct project and account.
- Click Create Client.
- Select Web Application as the application type and provide a name.
- Under Authorized JavaScript origins, add the following URLs:
- Under Authorized redirect URIs, add the following URL:
- Click To Create to generate your Client ID and Client Secret.
- Copy and securely store these credentials.
- Click OK to finish the process.
6. Connecting Your Credentials with Chatvolt.ai
- Go to your Chatvolt.ai instance and navigate to Settings > My Keys.
- Paste the Client ID and Client Secret you obtained from the Google Cloud Console.
- Click Save Credentials to establish the integration.
7. Creating a Google Drive Datasource
- In your Chatvolt.ai dashboard, navigate to the Datasource section and select Google Drive as the datasource option.
- Click on Add Google Drive Account and follow the on-screen instructions to authorize access to your Google Drive files.
🚀 Integration Complete!
You have successfully set up your Google OAuth credentials and integrated Google Drive with Chatvolt.ai. Your agent is now equipped to automatically sync and access your files and folders, with up to 100 connections allowed under a free Google account.
Happy automating!
Was this page helpful?