Google Slides, Google Docs and Google Sheets are supported with our Google Drive integration, along with regular text, audio and image files.
Carbon uses OAuth 2.0 to connect to Google workspace.
Log into your Google Drive account.
Once you’ve successfully authenticated your account, you can select files directly.
Click “Select” after selecting files to grant Carbon access to files.
Custom OAuth Credentials
- Go to
APIs and Services>
Enabled APIs and Servicesin your Google Cloud console, then click on the button titled
ENABLE APIS AND SERVICESand enable
Google Drive APIand
Google Picker API.
- Then create an
OAuth Client IDin the
Google Drive API. Select
Web Applicationas the Application type and give it an identifiable name for your reference.
- Add https://api.carbon.ai as the
Authorized JS originand https://api.carbon.ai/integrations/google as an
Authorized redirect URI. You can also opt to use a custom CNAME record pointing to https://api.carbon.ai for the
Authorized JS Originand
Authorized redirect URI. However, for the
Authorized redirect URIthe domain paths must still be
- Save the credentials. Download the credentials.json file once you save the OAuth Client ID data and share the file with Carbon.
Then create an
API keyin the
Google Picker API. Restrict the application to websites and then add https://api.carbon.ai (or your custom CNAME) to the list under website restrictions. For
API Restrictions, pick
Restrict keyand select
Google Picker APIfrom the list.
Save the API key. Copy the API key and share it with Carbon.
Configure your consent screen in the OAuth Consent Screen. Provide your App name, support email address, and brand logo. Add carbon.ai (or your custom CNAME) to
- Click on
Add or Remove Scopesbutton to add the following scopes:
- If you wish to add test users, you can do so. These users will not see the “App is unverified” notification. Other users will see this alert.
Publish Appto make this app available to your end-users.
Syncs are triggered when end-users add or remove Google Drive files and folders via the Google Drive picker. When a user selects a folder to be synced, we auto-sync all files added to the folder as well.
You can use the
resync_file API endpoint to programmatically resync specific Google Drive files.
In addition, we have a 24-hour batch sync running in the background. You can request us via Slack to run more frequent batch syncs.