Setting Up Personal Google Drive API
Default application keys might encounter rate limits (Quota Exceeded / Rate Limit). To ensure your application runs completely independently and with 100% stability, configure your own Google Cloud project in 5 minutes.
Creating a Project in Google Cloud
Go to the Google Cloud Developer Console and create a new project to manage your API keys:
- Open the Google Cloud Console and sign in with your Google account.
- Click the project dropdown list next to the Google Cloud logo in the top left corner and choose "New Project".
- Provide any name (e.g.,
RekordSync) and click "Create". - Wait for the creation to finish and ensure your new project is selected in the project dropdown list.
Enabling Google Drive API
Allow the newly created project to perform operations with your Google Drive:
- Open the side menu (three bars on the left) and select "APIs & Services" ➔ "Library".
- Search for "Google Drive API" in the search bar.
- Click on it and press the blue "Enable" button.
Configuring OAuth Consent Screen
Configure the consent screen you will see when signing in via Google in the application:
- In the left side menu, navigate to "OAuth consent screen".
- Choose "External" user type and click "Create".
- Fill in the required fields:
- App name:
RekordSync - User support email: your email address.
- Developer contact information: your email address.
- App name:
- Click "Save and Continue".
- In the "Scopes" step, click "Add or Remove Scopes", search for
.../auth/drive.filein the filter, check this scope (allows access only to files created by this app) and click "Update", then "Save and Continue". - IMPORTANT (Test Users): In the "Test Users" step, you MUST click "+ Add Users" and add your personal Gmail address that you will use to log into the app. Without this, Google will return an authorization access error.
- Click "Save and Continue", then "Back to Dashboard".
Creating OAuth Credentials
Generate unique identifiers to integrate into your application settings:
- In the left menu, select "Credentials".
- Click "+ Create Credentials" at the top and select "OAuth client ID".
- In the "Application type" dropdown, select "Desktop app".
- Enter any name (e.g.,
RekordSync Client) and click "Create". - Two keys will be displayed on the screen: Client ID and Client Secret. Copy both of them.
Adding to RekordSync
Transfer the obtained keys into the application settings to instantly bypass any limit errors:
- Launch the RekordSync app, go to "Settings..." ➔ "Google" tab.
- Click on the "Advanced: Custom Google API Keys" header to expand the panel.
- Copy and paste your personal Client ID and Client Secret into the corresponding inputs.
- Sign out from the old account (if previously signed in) and click "Sign in with Google" to authorize with your new infinite quotas.