Sign In/Create Account: Use your Google account to sign in or create a new account.
Create a New Project: Click on the “Select a project” dropdown at the top and then “New Project”. Name your project and click “Create”.
Step 2: Enabling Google Drive API
Open API & Services Dashboard: In the Google Cloud Console, navigate to the “API & Services” > “Dashboard”.
Enable APIs and Services: Click “+ ENABLE APIS AND SERVICES”.
Search for Google Drive API: In the API Library, search for “Google Drive API”.
Enable Google Drive API: Click on Google Drive API and then “Enable”.
Step 3: Configuring OAuth Consent Screen
Access OAuth Consent Screen: On the sidebar, go to “OAuth consent screen”.
Set up Consent Screen: Choose “External” for user type, and click “Create”. Fill in the necessary details like App name, User support email, and Developer contact information.
Add Scopes: Click “Add or Remove Scopes”. Add relevant scopes for Google Drive access.
Save and Continue: After adding all necessary information, click “Save and Continue” until you complete the process.
Step 4: Creating and Configuring Credentials
Access Credentials: Go to “Credentials” on the sidebar.
Create Credentials: Click on “Create Credentials” at the top and select “OAuth client ID”.
Configure OAuth Client ID: Select “Web application” as the Application type. Name your OAuth 2.0 client.
Copy Filetrip Settings URL: Go back to your “WordPress Dashboard” > “Filetrip Settings” > “Settings”, and then copy the fresh link generated in your browser URL box.
Set Redirect URI: Under “Authorized redirect URIs”, add the copied URI. This is your “Google Drive app redirect URL”.
Create and Save: Click “Create”. You will now see your “Client ID” and “Client Secret”. Save these under Google Drive API settings tab.