In short.
This is Lovable’s documentation page for its Amazon Redshift connector, showing people who build apps in Lovable from chat prompts how to connect those apps to Amazon Redshift, AWS’s cloud data warehouse, to run SQL queries and display the results. Secure access depends on AWS identity setup and database permissions. It explains shared connections and per-user authentication for provisioned clusters and Serverless workgroups. The most consequential details concern permissions: a saved target is only a default, connection verification does not validate database access, and IAM execution permissions cannot distinguish SELECT from destructive SQL. AWS bills Redshift usage directly; prices and total operating costs are unknown. The documentation provides setup examples, but actual connector behavior and generated applications have not been tested.
Researched and written by an AI model and checked by a second AI model. How it works
The evidence covers the complete selected page at [https://docs.lovable.dev/integrations/amazon-redshift.md], including shared access, per-user access, IAM and database permissions, setup warnings, limitations and connection management. Linked AWS documentation, Lovable gateway documentation, administration pages and the documentation index are excluded. Their contents and additional requirements are unknown here. No code, SQL, connector requests or application journeys were executed, and no performance, security or cost measurements are established.
The overview
identity
Lovable’s guide at [https://docs.lovable.dev/integrations/amazon-redshift.md] explains connecting Lovable projects and published apps to Amazon Redshift, AWS’s cloud data warehouse. It covers a shared app + chat connection and a separate app user connector for individual database identities. Both provisioned clusters and Redshift Serverless workgroups are addressed.
assessment
The guide is useful for teams that already have Redshift data and want to build dashboards, reports or internal query tools in Lovable. Its practical strength is explaining authentication and database permissions alongside the connection form, including failures that can occur after credentials appear to verify successfully.
It requires meaningful AWS and database administration. Beginners receive concrete steps, but choosing permissions and changing shared database defaults calls for experienced support. The page does not establish the correctness, security or performance of any generated application.
users
The intended users include Lovable builders creating analytics interfaces, developers exposing warehouse queries through an app, and administrators responsible for IAM and Redshift grants. Suggested applications include revenue dashboards, SQL consoles with CSV downloads, customer usage pages, weekly KPI reports and database catalog browsers.
The shared connection suits projects using one database identity. Teams requiring each app user’s own database permissions should consider the documented app user connector. That route involves an AWS administrator, a Redshift administrator and a Lovable workspace administrator.
capabilities
The documented connector can submit SQL statements, retrieve results, and inspect databases, schemas, tables and table metadata. Lovable generates the asynchronous submission, polling and result-fetching flow. The application examples describe presenting those results as charts, downloadable rows and readable reports.
A workspace can have multiple connections, and multiple projects can share a connection. Each shared connection stores one region, one set of IAM credentials and one default cluster or workgroup. Connections are private by default and can be shared with selected workspace members or the entire workspace.
Using it
requirements
Shared access requires an AWS account, a provisioned Redshift cluster or Serverless workgroup, its region, a dedicated IAM user with suitable API permissions, an access key pair and permission to create Lovable connections. Database privileges are also needed for the intended queries. Business and Enterprise workspace settings initially restrict connection creation to administrators; some Enterprise workspaces disable it until an administrator changes the setting.
Per-user access additionally requires IAM Identity Center in the AWS organization, an organizational identity provider, an OAuth application, a trusted token issuer, a customer managed Identity Center application, an IAM OIDC provider, bootstrap and access roles, and Redshift’s Identity Center integration. Each app user must be assigned to both the customer managed application and the Redshift application.
mechanism
For shared access, Lovable’s connector gateway signs Data API requests with the stored IAM credentials. The documentation says these credentials stay on the server and never reach the published app. A statement is submitted, its status is polled, and its results are fetched after completion.
Shared connections pass the default target to server code through REDSHIFT_WORKGROUP or REDSHIFT_CLUSTER_IDENTIFIER, together with REDSHIFT_DATABASE and, when configured for a provisioned cluster, REDSHIFT_DB_USER. These values are defaults rather than access boundaries: individual requests name their targets, and the gateway can sign permitted Redshift Data API or Serverless API requests within the connection’s region.
For per-user access, the gateway exchanges the user’s identity-provider token through IAM Identity Center for a short-lived session. Redshift sees an awsidc:<email> identity and applies its grants. The page says Lovable holds no AWS credentials on this path. Requests cannot include DbUser or SecretArn, statement status and results belong to the submitting user, and target environment variables are not supplied.
setup
For shared access, create a dedicated IAM user and grant the necessary Data API operations. Keep only the credential-fetch action matching the authentication path: redshift-serverless:GetCredentials for Serverless, redshift:GetClusterCredentials for a provisioned cluster with a named database user, or redshift:GetClusterCredentialsWithIAM when that user field is empty. Add redshift-data:BatchExecuteStatement only for multi-statement batches. The sample policy includes the optional DiscoverServerlessWorkgroups statement; remove it for provisioned clusters or when the app queries only the workgroup configured on the connection.
Create the connection in Lovable with the deployment type, region, key pair, target and database, then configure sharing and link the intended projects. A named provisioned database user must already exist before the first query. On IAM-derived identity paths, Redshift creates the database user when the connection first runs a statement.
Clicking Connect verifies credentials through ListStatements only. It does not contact the selected database target or establish a database session. Incorrect targets, missing credential-fetch permissions and nonexistent named database users can therefore surface on the first query.
For read-only use, the guide grants schema USAGE and scoped SELECT access covering current and future tables. It also revokes the default PUBLIC privileges for creating objects in the public schema and temporary tables. Those revocations affect every user in that database, and removing TEMP also disables Spectrum queries unless it is restored for the identities that need it. Restrictions must cover every reachable database, or use the documented provisioned-cluster IAM database restrictions where applicable.
For per-user access, administrators configure identity propagation, database grants and the Lovable app user client. The OAuth callback is [https://connector-gateway.lovable.dev/api/v1/app-users/oauth2/callback]. The client needs the issuer URL, client ID, client secret, region, Identity Center application ARN and both role ARNs. Existing Serverless namespaces require particular planning because the documented Identity Center integration can only be selected when a namespace is created.
example
The guide proposes asking Lovable to build a dashboard showing daily revenue and active users from Redshift. In that example, the app runs aggregate SQL against the warehouse and renders charts. Table names and metric definitions must be adapted to the actual schema; the page supplies neither a complete dashboard implementation nor a ready-to-run dataset.
For an internal query console, the documented flow submits a statement, polls until it finishes and offers the returned rows as CSV. These are suggested application patterns, not demonstrated test results.
Assessment & evidence
limitations
The gateway forwards Redshift Data API and Redshift Serverless API operations only. It cannot use this connection to read S3 objects, manage unrelated AWS resources or call the Redshift management API, including DescribeClusters.
SQL execution is asynchronous, so submitting a statement does not return its rows in the same call. The page notes that WaitTimeSeconds can hold a response for up to 30 seconds for short statements, but results still require the documented retrieval flow. Query-size limits, pagination behavior and throttling limits are not specified.
Shared connections do not provide individual app-user database identities or automatic access-key rotation. Keys must be replaced in IAM and updated in Lovable manually. In per-user mode, the first query against an idle Serverless workgroup can fail during resumption; the guide suggests retrying after a minute or two.
Serverless credential permissions cannot pin access to a single database in the way documented for provisioned clusters. Read-only restrictions therefore need attention across every database the identity can reach.
reasoning
The central access-control distinction is between permission to call an API and permission to perform SQL operations. SELECT and DROP TABLE both use ExecuteStatement, so allowing that API operation cannot make a connection read-only. Database grants, existing privileges and reachable databases determine what the SQL identity can actually do.
The saved connection target also cannot establish environment isolation. Because requests specify their own targets, separate connections with separate IAM users and appropriately restricted permissions provide the separation recommended by the guide.
The customer usage portal example describes filtering results by customer, but supplies no authorization implementation or isolation tests. It therefore does not establish secure customer separation. The documented per-user connector is the more direct fit when Redshift must enforce each person’s own grants. Each app user must sign in with your organization’s identity provider, be assigned in IAM Identity Center to both the customer managed application and the Redshift application, and have the required grants for their own awsidc:<email> database identity.
alternatives
The page’s main choice is between shared app + chat access and app user access. Shared access centralizes credentials and serves projects using one database identity. App user access adds Identity Center and identity-provider setup so queries use individual database permissions and CloudTrail can record the identity represented by each call.
The page also notes that the Data API can authenticate with a Secrets Manager secret when custom query code explicitly passes its ARN and has permission to retrieve it. This does not replace the credential-fetch actions required for the selected authentication path. Lovable-generated code does not do this by default, and per-user mode rejects SecretArn. Other app builders, warehouse integrations and their relative costs or capabilities are not compared.
evidence
The evidence is Lovable’s complete documentation page at [https://docs.lovable.dev/integrations/amazon-redshift.md]. It includes connection fields, IAM policy examples, SQL grant examples, authentication flows, troubleshooting notes and connector limitations.
The page provides vendor documentation rather than execution logs, application results, security test results or benchmarks. No connector calls, SQL statements or generated applications were executed. Actual behavior, generated-code quality, performance and application-level authorization remain unverified.
Access & freshness
costs
All connector queries run in the user’s AWS account, and AWS bills Redshift usage directly rather than through Lovable. The page gives no Redshift rates, Lovable subscription prices, connector fees or numerical gateway usage limits. Total operating cost is unknown, and the guide does not establish that connector access is free.
rights
The page does not state a license for its documentation or configuration examples, redistribution permissions, generated-code ownership terms or service data-handling terms. Those rights and obligations are unknown from this page. Its description of server-side credential handling does not establish contractual privacy or retention guarantees.
freshness
The documentation snapshot was captured on 15 November 2026 at 08:02:06 UTC. The page itself supplies no publication date, last-updated date or connector version. The capture date establishes the snapshot’s timing, not when the documented behavior was introduced. Subsequent changes to availability, permissions or provider behavior are unknown.
actions
Choose shared or per-user access before configuring credentials. For shared access, use a dedicated IAM user, match the credential-fetch permission to the deployment and database-user fields, and keep production and staging on separately restricted connections.
Before using business data, confirm the actual database identity and target with an appropriate query in a test project. Have a Redshift administrator establish the intended grants across reachable databases and assess the database-wide effects of PUBLIC privilege changes. Treat successful connection verification as insufficient evidence that queries or restrictions work.
For per-user access, coordinate the three administrator roles, confirm both application assignments for every user, and resolve the Serverless namespace integration requirement before committing to that route. Check AWS costs and applicable Lovable limits separately because this page supplies no rates or numerical limits.
