Prerequisites
- An Amazon Redshift cluster or Redshift Serverless workgroup
- A database user with appropriate access
- The cluster endpoint, port, and database name
Connection setup
- From your Basedash dashboard, click “Add Data Source”
- Select “Redshift” as your data warehouse
- Enter your connection details:
- Database name
- Username
- Password
- Host (the cluster endpoint, without the port and database)
- Port (default: 5439)
- SSL (recommended)
- Click “Test Connection” to verify
- Save your connection
SSH tunnel
If your cluster is in a private subnet, connect through a bastion host:- Follow the connection steps above
- Enable “Connect via SSH” option
- Add our IP (
24.199.77.73) to your allowlist - Provide SSH connection details:
- SSH host
- SSH username
- Set “Authentication method” to “Private key” (recommended) and upload your SSH private key. Password authentication is also supported.
- Test and save the connection
Required permissions
Create a dedicated user for Basedash with read access to the schemas you want to analyze:Best practices
- Use a read-only user for Basedash
- Enable SSL for secure connections
- Use workload management (WLM) queues to isolate Basedash queries
- Regularly rotate database credentials
Troubleshooting
- Verify the cluster is publicly accessible, or connect through an SSH tunnel
- Check that the cluster’s security group allows inbound connections from the Basedash IP (
24.199.77.73) - Confirm the user has
USAGEon each schema andSELECTon its tables
Next steps: Add custom context
You can add custom context to help the AI better understand your data structure and business logic. Consider adding context at the database or schema level if you notice the AI struggling to locate or understand specific data.When to add context
- Complex transformed data: When the AI needs help understanding data transformation logic
- Business-specific metrics: If calculated fields or KPIs need additional explanation
- Unclear naming conventions: When table or column names don’t clearly indicate their purpose