With Google Workspace, your app can:
- Send and read emails with Gmail
- Read and update spreadsheet data in Google Sheets
- Create and manage Google Calendar events
- Upload, organize, and retrieve files from Google Drive
- Generate and edit documents in Google Docs
- Create and update presentations in Google Slides
Common use cases and example apps
These examples show both single-service apps and multi-service workflows. You can combine Google connectors within the same project to build more advanced automation and internal tools.How Google Workspace connections work
Google Workspace connections are workspace-level integrations managed by workspace admins or owners. Admins and owners control which services the workspace connects and which permissions (scopes) each connection uses. This connector uses a single shared Google account for everyone who uses the app. If you need each end user to sign in with their own Google account and act on their own data, use an app user connector instead. All Google Workspace connectors use OAuth 2.0 to securely connect to your Google account. When you create a connection, you sign in with Google and authorize Lovable to access specific services on your behalf. Within your Lovable workspace:- You can create multiple connections per Google service.
- Each connection is a separate OAuth authorization tied to a Google account.
- Each connection can use different scopes (permissions), so you can control exactly what the connection can access.
- Multiple projects within a single workspace can use the same connection.
How to connect a Google Workspace service
Workspace admins and owners can connect Google Workspace services. When a connection is created, it becomes available across all projects in the workspace.Prerequisites
- A Google account with access to the service you want to connect
- Lovable workspace admin or owner role
Set up your Google connection
1
Navigate to the desired Google connector
Go to Connectors and select the Google service you want to connect (for example, Google Sheets).
2
Add a new connection
Click Add connection.
3
Name the connection
In Display name, name the connection (for example,
Google Sheets – Production).4
Configure scopes (optional)
Expand Advanced settings to view and configure scopes — the Google API permissions your app needs. Default scopes are pre-selected for common use cases.
5
Connect to Google and authorize the connection
- Click Connect. The Google sign-in window opens — make sure your browser doesn’t block pop-ups.
- Sign in with the Google account you want to use, review the requested permissions, and click Allow. You’ll be redirected back to Lovable with a confirmation.
Connecting multiple Google services
If your app needs to use several Google services (for example, reading data from Sheets and sending results via Gmail), you can create a separate connection for each service. Each connector has its own OAuth flow and scopes, so they are configured independently. You can:- Connect multiple services to the same Google account
- Use different Google accounts for different services
- Create separate connections for development and production
Manage your connection
Connections are managed from Connectors: select , then open the connection.- Unlink projects to remove access from specific projects while keeping the connection available for others. See Unlink projects from a connection for the steps.
- Delete the connection to remove it from the workspace entirely. Deleting is permanent. It removes the credentials from all linked projects, and app features that use stop working until a new connection is added. See Delete a connection for the steps and who can delete.