How Metabase connects to Redshift and what you can run on top of it
A data team that wants Metabase querying an Amazon Redshift warehouse should connect it with Metabase's Redshift connector and a dedicated database user, not a shared administrator login. That user is the boundary for everything Metabase does in the warehouse, so it should hold only the SELECT rights on the schemas people need and nothing else. Metabase also offers several features beyond querying, including transforms, CSV uploads, model persistence and impersonation, and Redshift is among the databases that support uploads, transforms and model persistence. Each of these features carries its own plan and permission conditions, so they should be checked before anyone is told they are available.
The key distinction is between querying and write-capable features. A read-only user can run questions, dashboards and models that read existing tables, which is the default use. Uploads, transforms and model persistence all write to the warehouse, so they need a user with additional privileges on a specific target schema. Granting those rights to the same user that serves everyday dashboards widens the blast radius of a leaked credential or a mistaken query. Many teams keep a separate connection or schema for write-capable work, so the read path stays narrow.
Before rollout, confirm the Metabase plan your organization runs, because impersonation for Redshift is available only on the Pro and Enterprise plans. Then confirm, in your own Redshift environment, exactly which schemas each feature will write to and which grants the database user holds. Check the Metabase Redshift connection docs for the current connection settings before you build the user, since the exact settings and supported authentication options may change between releases.
What you need before connecting Redshift to Metabase
Four things must be in place before Metabase can query Redshift: a Metabase instance on a version your team supports, a Redshift endpoint the Metabase host can reach, network rules that allow the connection, and a database user with narrow grants. Check each one in your own AWS account and against the current Metabase Redshift connection docs before you configure anything.
Metabase instance and version
Confirm which Metabase version and edition your team runs, and whether it is an LTS release or a monthly one. Support windows differ, so an end-of-life version can leave you upgrading in the middle of the connection work. Check the Redshift driver requirements for that exact version in the Metabase Redshift connection docs, since driver support can change between releases. Record the version in your change ticket so the connection can be reproduced later.
Metabase version supportRedshift cluster or serverless endpoint
Decide whether Metabase will connect to a provisioned cluster or a Redshift Serverless workgroup, and note the endpoint host, port and database name. Confirm the endpoint is in the region and VPC you plan to use. Ask your AWS team whether the endpoint is publicly accessible or private, because that decision controls every network step that follows.
Network path and security groups
The Metabase host must reach the Redshift endpoint on its configured port. Allow inbound traffic to Redshift only from the Metabase host's outbound address or security group, and do not open the port to the internet. If Metabase runs in a different VPC or account, confirm routing, peering or a private path first. Test reachability from the Metabase host itself, not from your laptop, because a laptop test proves nothing about the server.
Dedicated read-only database user
Create a separate Redshift user for Metabase rather than reusing an administrator or an engineer's login. Grant it only the schemas and tables that the saved questions and dashboards need, and no write privileges unless you plan to use uploads or transforms. Metabase keeps the password in its application database, so the user should be one you can rotate without affecting other systems.
Schema and table grants
Map each analytics schema to a business owner before granting access, and list which tables should appear in Metabase during sync. Grant USAGE on each schema and SELECT on each table to the Metabase user, and review the grants again after new tables land. Note that Metabase's own sync and scan behavior reads metadata for every granted table, so broad grants increase the load on the warehouse.
Setup sequence: from read-only user to a verified connection
This sequence takes a Redshift database from a dedicated read-only login to a Metabase connection that has been tested with a saved question. Each step ends with a check, so the team knows the connection behaves as intended before users rely on it.
Create a dedicated Redshift login for Metabase
A database administrator creates a separate Redshift user for Metabase, not a shared or personal account. Give it a strong password stored in your secrets manager, and do not grant it CREATE, INSERT, UPDATE, DELETE or ownership rights on any schema. Confirm the exact privilege set with your own Redshift administrator against Amazon's current documentation, since grant syntax and defaults can change. Done means the user exists and has no write privileges.
Grant select rights on approved schemas only
Grant USAGE on each schema Metabase should read, then grant SELECT on its tables and views. Limit the grants to the schemas your analysts need, and decide whether future tables should inherit access through default privileges, since new tables created later otherwise may be invisible or exposed depending on your design. Check the result by logging in as the Metabase user with a SQL client and running a SELECT on an approved table, then attempting an INSERT into the same table. The SELECT should return rows and the INSERT should fail with a permission error.
Allow the Metabase server through network controls
The network team adds the address of the server or container running Metabase to the Redshift cluster's security group or the relevant VPC controls, on the Redshift port your cluster uses. If the cluster is in a private subnet, confirm the route from the Metabase network to the cluster, and use an approved private path such as VPN or peering rather than a public endpoint. From the Metabase host, test connectivity to the cluster endpoint with a basic client. Done means the connection opens from the Metabase host and is refused from networks that should not reach the cluster.
Add the Redshift database in Metabase admin settings
A Metabase administrator opens the admin settings, chooses Add database, selects Amazon Redshift and enters the cluster endpoint, port, database name and the read-only credentials. Store the password through your deployment's secret handling rather than pasting it into shared notes. Save the connection and wait for the initial sync to finish. Done means the database shows as connected in the admin list with its schemas visible.
Choose sync and scan options deliberately
In the database settings, decide how often Metabase syncs table and field metadata and whether it scans field values, and limit either to the schemas you granted earlier. Turn off automatic discovery of schemas or tables that you have not approved, so new objects do not appear to users by accident. Record the chosen schedule in your runbook so changes are reviewed. Done means the sync schedule and table visibility match the written decision, and the admin list shows only the approved schemas.
Run a test query in the SQL editor
An administrator opens a new native SQL question against the Redshift database and runs a simple SELECT with a row limit on an approved table. Compare the returned row count and a sample of values with the same query run directly in your SQL client as the Metabase user. Then run a query against a schema you did not grant and confirm that Redshift returns a permission error. Done means the approved query matches the direct result and the unapproved query is denied.
Verify a saved question and its expected rows
Build a saved question with the visual query builder on a known table, such as a filtered count, and save it to a test collection. Confirm that the result matches a figure agreed with the data owner, and that a second user with a Metabase group that has access to that table sees the same result. Keep the saved question as the reference for future upgrades and permission changes. Done means the saved question returns the expected rows and the reference figure is recorded in your runbook.
Which Redshift write features need a dedicated writable schema
CSV uploads let people load a spreadsheet into a table that Metabase creates in a database you configure for uploads. Each upload creates a new table, and later uploads can append to or replace data in tables Metabase created. Because Metabase issues the CREATE and INSERT statements itself, the connection used for uploads must have permission to create tables in the target schema, while the querying user should not.
- What it writes: new tables and rows created from uploaded files, in the schema you designate for uploads.
- Where it lands: a dedicated schema, typically with a table prefix so Metabase-created tables are easy to find and govern.
- Who can upload: access to uploads is controlled inside Metabase, so the database-level write permission is a second control, not the only one.
- Recurring loads: the upload feature suits ad hoc files. Scheduled, recurring loads are better handled by a pipeline with its own credentials.
- Boundary risk: if the querying user can also write, a user who can reach the upload feature can change data that other people read.
Before enabling uploads, confirm the target schema, the table prefix and the exact grants with your Redshift administrator, and check the current uploads documentation for setup details.",
Transforms run SQL inside Metabase on a schedule and write the results back to the warehouse as tables. They are the feature most likely to surprise a security team, because a transform is a stored write operation that runs unattended. The transform's output is a table in a schema Metabase controls, and the transform's SQL runs with the credentials of the connection it uses.
- What it writes: the result of a saved SQL query, materialized as a table each time the transform runs.
- Where it lands: the target schema configured for the transform, which should be separate from source schemas that analysts query directly.
- Scheduling: transforms run on a schedule, so a failing or misconfigured transform repeats its writes until someone stops it.
- Review: the SQL inside a transform is code. Assign an owner, keep it under review, and record which account can create or edit transforms.
- Credentials: the write credential is the one that runs the transform, so it should not be the password used for ordinary dashboards.
Confirm with the vendor documentation which connection a transform uses in your version, and test the target schema permissions with a non-production transform first.",
Model persistence stores a copy of a Metabase model's results as a table in the warehouse so dashboards that depend on the model load faster and place less load on source tables. The persisted table is written by Metabase on a refresh schedule, and it is a derived copy, so the source data and the persisted copy can differ between refreshes.
- What it writes: a table holding the results of a model, refreshed on a schedule you set.
- Where it lands: a schema Metabase can write to, which should be separate from the schemas that hold raw source data.
- Staleness: readers see the last refreshed copy, so teams should know when a model was last persisted before relying on it for reporting.
- Permissions: people who can read the persisted table can see its contents, so row and column access on the source must be reflected in how the model is built and shared.
- Storage and compute: each refresh consumes warehouse compute and storage, which is a recurring cost to plan for.
Check which schema persisted models are written to in your Metabase version, and confirm who can enable persistence on a model.",
A single shared credential for querying, uploads, transforms and persistence would mean one login can read every table and also create or overwrite tables. The read-only querying user is the control that limits what dashboard users and Metabase's query engine can change. Splitting write work onto a separate user, in separate schemas, makes it possible to review, rotate and audit each kind of access on its own.
- Read boundary: the querying user holds only select privileges on the schemas that analysts should see.
- Write boundary: the writable user holds create and insert rights only in the schemas named for Metabase writes.
- Rotation: separate credentials can be rotated without breaking every feature at once.
- Audit: Redshift and your logging can attribute writes to a specific account, which matters for access reviews.
- Failure containment: a leaked write credential exposes only the designated write schemas, not the whole warehouse.
Ask your Redshift administrator to confirm the grants per schema and document which Metabase feature uses which credential.
How impersonation works on Redshift and why it needs a paid plan
Impersonation access on Redshift lets Metabase run each query as a database user or role that matches the person asking, instead of sending every query through one shared service account. According to Metabase's documentation, impersonation for Redshift is available on Pro and Enterprise plans only. On Open Source and Starter, every Metabase user's query reaches Redshift under the same credentials, so the database cannot tell who asked for the data. If your audit or access review needs database-side attribution, confirm the plan requirement on the Metabase impersonation docs before you design around it.
The mapping starts in Metabase. An administrator assigns an impersonation attribute to each Metabase group, and each group points to a Redshift user or role that already exists in the cluster. Your database administrator creates those users or roles, grants each one only the schemas and tables that group is allowed to read, and keeps a record of which group maps to which database identity. Check the exact configuration fields and the required grants against the current docs, because a mapping that points to a missing role will fail at query time rather than at setup. Users who belong to several groups need a clear rule for which identity applies, so decide that before rollout.
Test the mapping with a restricted test account before any business user relies on it. Create a Metabase user in a test group, run the same question as that user and as an administrator, and compare the results and the row counts on the Redshift side. Confirm that the restricted user gets errors or empty results for tables outside the grant. Then check the query history in Redshift to see which database user ran each query. Do not assume that row-level filtering exists just because the mapping works for tables. The docs on impersonation and permissions define what is enforced, so confirm any row-level behavior there and test it with your own data before you rely on it.
How queries, uploads and transforms move between Metabase and Redshift
The diagram starts with users in the browser, who reach the self-hosted Metabase JAR on a host you run. Metabase keeps its own settings and saved content in its application database, which is separate from Redshift. Queries leave the Metabase host over the network path to Redshift and run under the read-only identity. Uploads, transforms and model persistence use a separate writable identity limited to the schemas you name. Check that the trust boundary between your Metabase host and the AWS account is where your security team expects it.
Query, upload and write paths from Metabase into a Redshift account.
Mapping Metabase groups, permissions and Redshift identities
This table maps each Metabase access setting to the Redshift object it depends on, who owns the setting, and the check that confirms it works. Read it as a build checklist: a Metabase group permission only limits what Metabase shows, while the Redshift user and grants decide what the database itself will return. Confirm both layers before connecting production data.
| Metabase object | Redshift object | Who owns it | Check that confirms it |
|---|---|---|---|
| Database connection user | Dedicated read-only Redshift user with a password or IAM-based login | Data platform team | Log in with the Metabase credentials and confirm INSERT, UPDATE and DELETE fail on a sample table |
| Schema visibility in sync | Schemas granted to the read-only user with USAGE and SELECT | Data platform team | Confirm only the intended schemas appear in Metabase after a sync |
| Admin group with data access | Admin user with write-capable grants, kept separate from the Metabase connection user | Security and platform leads | Verify the connection user is not the owner of any schema that holds production tables |
| Group data permissions (view or query) | No Redshift object; enforced only inside Metabase | Metabase administrator | Test a non-admin account to confirm it cannot query tables outside its group |
| Upload target schema (if CSV uploads are enabled) | Separate writable schema granted to a dedicated upload user | Data platform team | Upload a test CSV and confirm the table lands only in the designated schema |
| Model persistence and transforms target | Writable schema for persisted tables, distinct from source schemas | Data platform team | Confirm the persistence schema is writable and source schemas stay read-only |
| Impersonation role (Pro or Enterprise) | Redshift user or role per Metabase group, with grants limited to its data | Security team with platform engineering | Run the same query as two impersonated users and confirm Redshift returns different row sets |
| Connection password rotation | Redshift user password or IAM role trust policy | Platform engineering | Rotate the credential in a test environment and confirm Metabase reconnects without a manual change |
Hardening the Redshift credential and network path
The Redshift connection is only as narrow as the account and network path behind it. The cards below cover the database grants, the credentials Metabase holds, the network route from the Metabase host to the cluster, and who can change the connection in Metabase itself.
Grant the query user least privilege
Create a dedicated Redshift user for Metabase queries and grant it SELECT only on the schemas and tables your reports need, not on every schema in the cluster. Keep the grants in version-controlled SQL so a reviewer can compare them against the list of approved datasets. Recheck the grants when new schemas are added, since a broad default can expose tables nobody reviewed.
Separate the query and write credentials
Uploads, transforms and model persistence need the database to accept writes, so they should not share the read-only query user. Use one credential for querying and a second, separately scoped user for write features, granted write rights only on the schema Metabase is allowed to create objects in. Confirm with Metabase's upload and transform documentation which connection settings each feature uses before you add a write user.
Uploads setup docsRestrict the network path to the cluster
Allow inbound connections to the Redshift cluster only from the Metabase host or its outbound network range, and keep the cluster out of public access unless your design requires it. Check the cluster's VPC security group and subnet routing as well as any network firewall in between. Confirm the exact port and routing options in the AWS documentation for your cluster type, since they are not covered in the Metabase references used here.
Store the database password outside the app
The Redshift password should reach Metabase through a secrets store or the host's environment, not through a plain-text file in a repository or a shared configuration document. Restrict read access to the secret to the operators who run the Metabase service. Ask your AWS team whether IAM-based database authentication is available for your cluster and how it would change the Metabase configuration, and confirm the answer in AWS documentation before you commit to a design.
Review who edits connection settings
In Metabase, anyone with admin rights can change a database's host, user or password, and the change can redirect queries to a different cluster. Limit the administrator role to a short list of named operators, and review that list on a schedule that matches your access reviews. Keep a record of connection changes in your audit process so a changed host or user can be traced to a person.
People and groups docsCommon Redshift connection failures and fixes
This table pairs the failures teams most often hit when connecting a self-hosted Metabase to Redshift with the likely cause and the fix. Read it by symptom: find the error you see, check the cause against your Redshift and Metabase settings, then apply the fix before changing anything else.
| Symptom | Likely cause | Fix |
|---|---|---|
| Connection times out when Metabase tests the connection | The Redshift security group or network ACL does not allow inbound traffic from the Metabase host on the cluster port, or the cluster is not publicly reachable when Metabase runs outside the VPC | Allow the Metabase server's IP or security group on the cluster port in the Redshift security group, and confirm the route from the Metabase host to the cluster endpoint |
| Authentication failed with a username or password error | The Metabase user name or password is wrong, or the password was rotated in Redshift without updating the Metabase connection | Reset the password for the read-only user in Redshift, enter it again in Metabase and test the connection |
| Database not found or login succeeds but no tables appear | The database name in Metabase does not match the Redshift database the user was granted access to, or the wrong database was entered | Confirm the database name in the Redshift console and use the same name in the Metabase connection settings |
| Sync runs but schemas or tables are missing | The read-only user has no USAGE grant on the schema or SELECT grant on the tables, so Redshift hides them from metadata queries | Grant USAGE on each schema and SELECT on its tables to the Metabase user, then run a manual sync |
| Uploads fail with a permission error | CSV uploads need the Metabase user to create tables and write to a target schema, which a read-only user does not have | Create a separate writable schema for uploads, grant the Metabase user CREATE on it, and keep it apart from schemas used for reporting |
| Transforms or model persistence fail on write | The Metabase user lacks CREATE or INSERT privileges on the target schema, or the schema does not exist | Grant the required write privileges on the target schema only, and confirm the schema exists before enabling transforms or persisted models |
| Impersonation settings are missing or do not apply | Impersonation access is available for Redshift on Pro and Enterprise plans only, so it is not available on Open Source | Confirm the plan before configuring impersonation, or use separate database connections with the read-only user on the open source edition |
Questions teams ask before connecting Redshift to Metabase
How much effort does connecting Metabase to Redshift take?
The core connection is a small task: create a read-only database user, add the Redshift connection in Metabase, and run the first sync. The effort grows with what sits around it. Teams need to decide which schemas to expose, how groups map to data access, whether the network path to the cluster is open from the Metabase host, and how the connection is tested before users rely on it. Each extra schema, group rule and network path adds review time. Ask any partner to price these as separate line items so you can see which parts your team already covers.
Can our team connect Metabase to Redshift without a partner?
Yes, a team with database administration and Metabase experience can complete the basic connection alone. The work is well documented in Metabase's Amazon Redshift connection guide. A partner adds the most value where the design choices are hard to reverse: which permissions the read-only user holds, how data access is split across groups, and how the setup is verified and documented for security review. If your team lacks someone who has run a Redshift security review before, a scoped review of the finished configuration is often a smaller engagement than a full build.
What does the connection need from the data and cloud teams?
The data team needs to name the schemas and tables Metabase may read and confirm which datasets are sensitive. The cloud team needs to confirm the network route from the Metabase host to the Redshift endpoint, the security group rules, and where the Metabase server runs. Someone also needs to own credential storage, rotation and the Redshift user lifecycle. Confirm these owners before the work starts, because unresolved ownership is the most common cause of delay in a connection project.
Does impersonation in Metabase require a paid plan?
Yes. According to Metabase's documentation, impersonation access for Redshift is available on the Pro and Enterprise plans. Open Source and Starter do not include it, so a team on those plans must give users access through the connection's own credentials and group permissions instead. Check the current plan table on Metabase's pricing page before you decide, because plan contents can change between releases.
Which Metabase features need write access to Redshift?
Uploads, transforms and model persistence all write to the database, so they need a user with write permissions in a schema Metabase is allowed to use. Redshift is among the databases that support these features, according to Metabase's documentation. Querying, dashboards and saved questions work with a read-only user. Keep the write-enabled role separate from the reporting role, and limit it to the schema used for these features, so that a reporting user is never granted write access by accident.
How do Metabase upgrades affect the Redshift connection?
Metabase upgrades run application database migrations automatically, but they do not change the Redshift user or the data it reads. The main risks are a changed driver behavior after an upgrade and permission changes if a write-enabled feature is turned on later. Test the connection on a staging instance after each upgrade, and confirm the Redshift driver version against Metabase's release notes. Back up the Metabase application database before each upgrade so a rollback is possible.
What should engineers verify after the Redshift connection is live?
Engineers should confirm three things. First, the read-only user cannot run writes, which can be tested with a query that should fail. Second, the sync finds only the schemas that were approved. Third, group permissions in Metabase return the expected rows for a test user in each group. Record the results and the user, schema and group settings in a runbook so that a later reviewer can reproduce them. Verification like this is also the evidence a security team usually asks for.
How DeployOpen scopes and delivers a Redshift connection
DeployOpen starts every Redshift connection from a written, fixed scope agreed before any work begins. That scope names the Redshift cluster or workgroup, the Metabase edition and version, the databases and schemas Metabase may read, and each write-capable feature the client chooses to enable or leave off. Because the scope is written down, the client's data owners, security team and Redshift administrators can review the exact grants, network path and credential handling before anything touches a production warehouse. DeployOpen performs the work inside the client's own infrastructure, in their AWS accounts and on their Metabase servers, so the credentials, the read-only user and the audit trail stay under the client's control from the first connection test onward.
The scope also records the decisions that change the build. Whether uploads, transforms and model persistence are needed affects which schema Metabase writes to and which database user needs write rights, and Metabase documents Redshift as supported for those features. Impersonation is a separate decision: it is available for Redshift only on Pro and Enterprise plans, so the scope must state whether the client is paying for that plan and whether per-user database roles are part of the design. Testing then checks that the read-only user cannot write, that restricted users see only what their role allows, and that the connection survives a Metabase restart. Ongoing support, upgrades and continuous testing are available as retainers, and the client can ask for those terms in general to sit alongside the fixed-scope work.

