- Run SQL and use the SQL REST API (for example submitting statements and checking status)
- Work with warehouses, databases, and schemas your role can access
- Build internal tools, dashboards, and data workflows backed by Snowflake
Common use cases and example apps
How Snowflake connections work
- OAuth 2.0 (authorization code): You register a custom OAuth integration in Snowflake and enter the Account URL, Client ID, Client secret, and Role in Lovable. You (or your admin) then complete sign-in with Snowflake to authorize the connection.
- Role: Choose a role that has the warehouse and object access your app needs. Do not use
ACCOUNTADMINorSECURITYADMIN, they are blocked by the connector validation pattern. - Gateway: API requests are proxied through Lovable’s connector gateway, which manages tokens. See Gateway-based connectors for limits.
Snowflake compute and storage costs are billed by Snowflake / your cloud agreement, not by Lovable.
How to connect Snowflake
Workspace admins and owners can create Snowflake connections. Link each connection to the Lovable projects that should use it.Prerequisites
- Access to a Snowflake account where you can create or manage an OAuth security integration
- Permission to use a Snowflake role appropriate for your app (not
ACCOUNTADMINorSECURITYADMIN) - Lovable workspace admin or owner role
Step 1: Create a Snowflake OAuth integration
Work with your Snowflake administrator if needed.- In Snowflake, create a custom OAuth security integration and obtain the OAuth client ID and client secret.
- Configure redirect URIs and any other settings required by your organization. Use the redirect URI that Lovable shows during the connect flow so authorization can complete.
- Confirm the account URL (for example
https://myorg-myaccount.snowflakecomputing.com).
Step 2: Connect Snowflake in Lovable
- Open Connectors → App connectors and select Snowflake.
- Click Add connection.
- Enter a Display name (for example
Snowflake Prod). - Fill in Account URL, Client ID, Client secret, and Role exactly as in Snowflake.
- Start the Connect / Authorize flow and sign in to Snowflake when prompted.
Limitations
- Scopes and roles are determined by your Snowflake OAuth integration and the role you configure; the app cannot exceed those permissions.
- Per-user Snowflake login is not provided by this connector—it represents a shared authorization for the workspace connection. If you need each end user to sign in with their own Snowflake account and query under their own role, use the Snowflake app user connector.
- Gateway limits apply as described in Gateway-based connectors.
How to unlink projects from a connection
Editors and above can remove specific projects from a connection without deleting the connection entirely. The connection will remain available for other projects. To unlink projects:1
Open Connectors
Open Connectors, then go to App connectors, and select .
2
Open the connection
Open the connection you want to manage.
3
Select projects
Under Linked projects, check the projects you want to unlink.
4
Confirm
Click Unlink projects and confirm.
How to delete a connection
Workspace admins and owners can delete connections. Other members can delete a connection if they created it, or if they have been explicitly granted access to it. Before deleting, review the Linked projects section to see which projects are currently using the connection. To delete a connection:1
Open Connectors
Open Connectors, then go to App connectors, and select .
2
Open the connection
Open the connection you want to remove.
3
Review linked projects
Review the Linked projects section.
4
Delete
Under Delete this connection, click Delete and confirm.