This is the BYOK (Bring Your Own Key) model. Your users see your org on the consent screen, not Hiveku’s. You own the scopes and the API quota, and your data connection is routed through your own Google project.
Why BYOK?
- Your brand on the consent screen. Users see “Acme, Inc. wants to access your Gmail” rather than a generic third-party app.
- Your scopes. Ask for exactly what you need, nothing more.
- Your quota. API limits are tracked against your project, not shared with other Hiveku customers.
- Your control. Rotate secrets, revoke tokens, and audit usage from your own Google Cloud Console.
Before You Start
You’ll need:- A Google account with access to Google Cloud Console
- Access to Hiveku as an admin so you can register the app in Settings > OAuth Apps
Create the OAuth App
Create a Google Cloud project
Go to console.cloud.google.com, click the project picker in the top bar, and choose New Project.Name it something recognizable — e.g.,
Acme Hiveku — and click Create. Wait a few seconds for the project to provision, then select it from the picker.Enable the APIs you'll use
Go to APIs & Services > Library and enable each API for the integrations you plan to connect. You don’t have to enable everything now — you can come back later.
- Gmail API — for Gmail connections
- Google Calendar API — for Calendar events (bundled with Gmail)
- Google Search Console API — for GSC
- My Business Account Management API + Business Profile Performance API — for Google Business Profile
- Google Ads API — for Google Ads
Configure the OAuth consent screen
Go to APIs & Services > OAuth consent screen.Choose a User Type:
- Internal — only users in your Google Workspace organization can authorize. Skips Google’s verification review.
- External — any Google account can authorize. Required if users outside your Workspace will connect. Sensitive scopes (Gmail, Drive, Calendar read/write) will trigger a verification requirement before production use.
- App name — shown on the consent screen
- User support email — a contact for users
- Developer contact email — a contact for Google
- App logo (optional but recommended for branding)
Create an OAuth 2.0 Client ID
Go to APIs & Services > Credentials > Create Credentials > OAuth client ID.
- Application type: Web application
-
Name: something descriptive, e.g.,
Hiveku Web Client -
Authorized redirect URIs: click Add URI and paste exactly:
Verify It Works
Go to any Google integration flow — e.g., CRM > Email Connections > Add > Gmail — and start the connection. You should:- See your registered Google app in the dropdown
- Be redirected to a Google consent screen showing your app name
- After consent, land back in Hiveku with the connection saved
Security Notes
- Restrict who in your org has access to the Google Cloud project
- Review the OAuth consent screen > Test users list periodically
- Audit usage via APIs & Services > Dashboard — unusual spikes are a flag
Troubleshooting
redirect_uri_mismatch error during authorization
redirect_uri_mismatch error during authorization
Access blocked: this app's request is invalid
Access blocked: this app's request is invalid
Usually means a scope you’re requesting hasn’t been added to the OAuth consent screen, or the API hasn’t been enabled. Go to APIs & Services > Library and enable the relevant API (Gmail API, Search Console API, etc.), then try again.
Access blocked: app not verified
Access blocked: app not verified
For External consent screens with Sensitive or Restricted scopes (Gmail, Drive, Calendar read/write), Google requires verification for production use. Two options:
- Add the user as a Test user on the consent screen for testing
- Submit your app for Google verification via the consent screen page (takes days to weeks)
This app isn't verified warning for users
This app isn't verified warning for users
Expected during testing. Users can click Advanced > Go to [app name] (unsafe) to continue. For production, submit for Google verification.
Scopes the user sees don't match what I requested
Scopes the user sees don't match what I requested
Each integration requests its own set of scopes. If a scope is missing, it usually means the corresponding API isn’t enabled in the Google Cloud project, or the scope isn’t listed on the OAuth consent screen. Enable the API under APIs & Services > Library and add the scope to the consent screen.
What’s Next?
Connect Gmail
Send and read email through your Google app
Connect Google Search Console
Import SEO performance data
Connect Google Ads
Manage PPC campaigns
Connect Google Business Profile
Manage your local listings