Skip to main content
Google Workspace includes services like Gmail, Google Sheets, Google Calendar, Google Drive, Google Docs, and Google Slides. The Google Workspace connectors enable your Lovable app to securely access and manage data from these services using your Google account. 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
Each connection is authorized for a single Google account. You can create multiple connections to work with multiple accounts or environments.
Building an app that embeds an editable Google Doc, Sheet, or Slides deck? See Edit Google Docs, Sheets, and Slides in Lovable for the recommended iframe URLs and a copyable knowledge file.

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.
This makes it easy to separate environments (for example, development and production) or connect different Google accounts for different purposes. Google Workspace connectors use Lovable’s gateway architecture for secure OAuth handling and automatic token refresh. See Gateway-based connectors for details on authentication and usage limits.
Connections are tied to a specific Google accountEach Google Workspace connection is authorized using the Google account that signs in during setup.For example:
  • If you connect Gmail using employee@company.com, emails sent through that connection will be sent from employee@company.com.
  • If you connect Google Calendar with your account, events will be created on your calendar.
  • Files created in Drive, Docs, or Slides will be owned by the connected account.
Although the connection is available across the workspace, it always operates on the data of the Google account that authorized it.If your team needs to use a shared mailbox, shared calendar, or dedicated service account, make sure you authenticate using the appropriate Google account when creating the 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.
Select only the scopes your app needs. You can update scopes later by editing the connection and clicking Reconnect. For full scope documentation, see the scope reference for each Google service.
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.
When connected, your Lovable apps can start using the selected Google service.

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.