Overview
This guide walks you through creating an OAuth application in Google Cloud Console for use with Airia. This enables secure integration with Google Workspace Tools including Gmail, Google Calendar, Google Drive, Google Docs, and Google MCP Servers.Prerequisites
Before you begin, ensure you have:- Google Workspace admin access - Or a Google account with permissions to create Cloud projects
- Active Google Cloud account - Free tier is sufficient
- Airia callback URLs - Available in the Airia platform OAuth configuration page
If you’re using Google Workspace for your organization, you may need admin approval to create Cloud projects or configure OAuth apps. Check with your IT administrator if you encounter permission issues.
Step 1: Access Google Cloud Console
- Navigate to Google Cloud Console
- Sign in with your Google account (preferably your organizational account)
- If this is your first time, accept the Terms of Service

Step 2: Create a New Project
- Click the project selector dropdown at the top of the page (next to “Google Cloud”)
- In the dialog, click NEW PROJECT in the top-right corner or select an existing project
- Fill in the project details including the Project name and organization
- Click CREATE
- Use the project selector to switch to your new project
Using an Existing ProjectIf you prefer to use an existing Google Cloud project, you can skip project creation and select your existing project instead.
Step 3: Enable Required Google APIs
- In the left sidebar, navigate to APIs & Services → Library

- Search for and enable each of these APIs by clicking on them and then clicking ENABLE:
- Google Drive API - For file access and management
- Gmail API - For email operations
- Google Calendar API - For calendar access
- Google Docs API - For document access
- Google Slides API - For presentation access
- Google Contacts API - For contacts management
- People API - For user profile information

Step 4: Configure OAuth Consent Screen
- In the left sidebar, go to APIs & Services → OAuth consent screen
- Select “Create OAuth Client” and set Application Type as “Web Application”
-
Provide Application details including the Application Name and Redirect URLs. The callback URL should be pre-filled and set on the configuration page. This should default to
https://auth.airia.ai/OAuth/callback. - Once added, navigate through the other sections, such as Branding and Audience to configure additional details of your OAuth app.
- Under Branding, upload your logo and provide details such as a Privacy policy link and home page to provide this information to users connecting to your app.
- Under Audience, set the audience to Internal or External. Use Internal audience if only users within your organization will be connecting to the OAuth app. External apps should be used if your app will receive connections from users outside of your organization. Note - External app registrations are required to go through a verification process by Google.

- Click SAVE AND CONTINUE
Step 5: Add OAuth Scopes
- On the Data Access page, click ADD OR REMOVE SCOPES
Recommended Scopes
Select or manually add the following scopes:Gmail Scopes
https://www.googleapis.com/auth/gmail.send- Send email on user’s behalf
Calendar Scopes
https://www.googleapis.com/auth/calendar.events- View and edit events on all calendars
Contacts Scopes
https://www.googleapis.com/auth/contacts- See, edit, download, and permanently delete contacts
Drive Scopes
https://www.googleapis.com/auth/drive.file- View and manage Google Drive files opened/created with this app
Docs & Slides Scopes
https://www.googleapis.com/auth/documents- View and manage Google Docs documentshttps://www.googleapis.com/auth/presentations- View and manage Google Slides presentations
User Info Scopes
https://www.googleapis.com/auth/userinfo.email- See your primary Google Account email address
About ScopesThese are the recommended scopes that Airia uses by default. You can:
- Add more permissions if you need additional functionality
- Remove permissions that you don’t need (though this may limit Airia functionality)

- Click UPDATE at the bottom of the panel
- Click SAVE AND CONTINUE
Step 6: Add Test Users (External Apps Only)
If you selected External as your user type:- Click + ADD USERS
- Enter email addresses of users who should test the OAuth flow
- Click ADD
- Click SAVE AND CONTINUE
Internal Apps Skip This StepIf you chose Internal as your user type, all users in your Google Workspace organization are automatically able to use the app.
Step 7: Create OAuth 2.0 Credentials
- In the left sidebar, go to APIs & Services → Credentials
- Click + CREATE CREDENTIALS at the top
- Select OAuth client ID from the dropdown
Step 8: Copy Your OAuth Credentials
After creating the OAuth client, a dialog will appear with your credentials.
- Client ID: Click the copy icon to copy your Client ID
- Client secret: Click the copy icon to copy your Client Secret
- Click OK to close the dialog
Step 9: Configure OAuth in Airia
Now you’ll enter these credentials into the Airia platform:- Log in to your Airia platform
- Navigate to Settings → Integrations → OAuth Connectors
- Select Google as the provider
- Enter your credentials:
- Client ID: Paste the Client ID you copied
- Client Secret: Paste the Client Secret you copied
- The callback URLs should be pre-filled and visible on the configuration page
- Add or remove any permission scopes to match your OAuth Client configuration on Google
- Click Save or Connect

Step 10: Test the Connection
- After saving, click Connect Account in Airia
- You’ll be redirected to Google’s OAuth consent screen
- Sign in with your Google account (if not already signed in)
- Review the permissions being requested
- Click Allow or Continue to grant permissions
- You should be redirected back to Airia with a success message

Additional Resources
Need help? Contact Airia support or your IT administrator for assistance with Google Cloud Console configuration.
