β‘ TL;DR Put the /edit URL (not /preview or /pub) in an iframe and users can edit right inside your app. No connector needed unless you want API access. Google handles sign-in.
Your users should not have to leave your app to fix a spreadsheet. With one iframe, they do not.
π How It Works
Embed Docs, Sheets or Slides in an iframe using the fileβs /edit address, and it opens fully editable.
π When You Need a Connector
Only for API access to the files. On Business or Enterprise, check that admins have allowed it.
π Limits to Know
Before you ship it:
- β Google controls loading and sign-in
- β Your app cannot read what is inside the iframe
- β File sharing must allow the viewer
- β Skip /preview and /pub addresses
π§© Good Uses
Internal portals, client dashboards and shared planning boards.
π‘ Pro tip Set the fileβs sharing to your company domain before you embed it.
Building an internal tool around Google Workspace? Lord of the Wix can help. β¨
β Google Workspace editing in Lovable FAQ
Which URL do I embed?
The /edit URL.
Do I need a connector?
Not for iframe editing.
Can my app read the document?
No.
Who handles sign-in?
Google.
How do I get API access?
Add a Google connector.
π Credit: Based on public information from the Lovable documentation. Lovable is a product of Lovable. Source: docs.lovable.dev. Lord of the Wix is an independent agency and is not affiliated with Lovable.