Guides
Visit our websiteDeveloper Docs
  • Getting Started with Databrain
    • What is Databrain?
  • ❄️Onboarding & Configuration
    • 📝Sign-Up
    • ✍️Sign-In
    • ✏️Google Sign In Setup for Self-hosted app
    • 🤔Forgot password? Recover your Databrain Account
    • 🌟Onboarding
    • 💾Add a Data Source
    • 🧑Configure Tenants
    • 🆕Create a Workspace
    • 🔓Create a Private Workspace
    • 🆕Create a Dashboard
    • 💠Create a Metric
      • Create Custom Columns
      • Create a Metric using Chat Mode
      • Create a Metric using Custom SQL
    • Workspace Settings
      • General Settings
      • Access Control Settings
      • Cache Settings
      • Download Settings
    • 🗄️Explore Data
  • 🛢️Datasources
    • Connecting Data Sources to Databrain
      • Amazon Redshift
      • Snowflake
      • BigQuery
      • MySQL
      • Postgres
      • MongoDB
      • ElasticSearch
      • DataBricks
      • ClickHouse
      • MSSQL
      • Amazon S3
      • CSV
      • Firebolt
      • SingleStore
      • Athena
    • Allow Access to our IP
    • Add a Data Source
    • Configure Tenants
    • How to Sync a Data Source
    • Edit Tenancy
    • Create a Datamart
    • Semantic Layer
    • Create a Data App
    • Creating a Custom Dataset/View in a Multi-Datasource Environment
  • Workspace
    • Multi Datasource Workspace
  • 🔍DASHBOARDS
    • Edit a Dashboard
    • Share Dashboard
    • Dashboard Settings
    • Create/Modify Dashboard Filter
      • Dashboard Filter - Variable Apply On
      • Add LHS and RHS custom sql support for dashboard filter
    • Customize Layout
    • Adding Elements to Dashboard
    • Import/Export Dashboard
    • Report Scheduler
  • 📉METRIC
    • Edit a Metric
    • Joins , Filter, Sort, Group By
    • Complex Filter
    • Apply Metric Filter
      • Metric Filter - Variable
      • Metric Filter - Custom
    • Switch X axis and Switch Y axis
    • Group By
    • Footnote and Long Description
    • Dynamic Property
    • Archive/Unarchive Metric Card
    • Download Metric Card
    • Download Underlying Data
    • Metric Summary
    • Metric Expression for Single Value Card
    • AI Summary
    • Merge Metrics
    • Section Filters
    • View Unpublished Metrics
  • 📊VISUALIZATIONS - ACTIONS & APPEARANCE
    • Chart Actions
      • Chart Click Action
      • Chart Click Action with Metric
      • Card Click Action
      • Drill Down
      • Cross Dashboard Drill Down
    • Chart Appearance
      • Chart-Specific Appearance Options
  • 🛢️PREVIEW OF DASHBOARDS
    • Email Settings for Scheduled Reports
    • Scheduled Reports for End User
  • 🔍FILTERS
    • Dashboard Filter
    • Metric Filter
    • App filter
  • 💡Features
    • Python Editor Console
    • Custom SQL Console
    • Custom SQL Query Guidelines
  • 🏢Integrating Plugin
    • ✳️Get an auth token
    • 🙏Get a guest token
  • 🛃THEMEING & CUSTOMIZATION
    • 🎨Creating a theme
    • 🖼️View the theme in action
    • ⚙️Reset a saved theme
  • 📊Metric Component (upto version v0.11.15)
    • ✨Quick start
  • 🕸️Web Components
    • ✨Quick start
    • ⚛️Framework Specific Guide
  • 🚀Product Changelog
  • 🤳Self Hosted Changelog
Powered by GitBook
On this page
  1. Datasources
  2. Connecting Data Sources to Databrain

Amazon Redshift

PreviousConnecting Data Sources to DatabrainNextSnowflake

Last updated 20 hours ago

Getting Started with Redshift Destination Configuration

Requirements:

  • Active Redshift cluster.

  • Allow connections from Databrain to your Redshift cluster.

    • For details on setting up IP whitelisting and ensuring secure connectivity, refer to our guide on

  • Choose the Databrain Workspace to which you wish to connect the data.

Setup Guide:

  1. Ensure Cluster Accessibility:

    • Make sure your cluster is active and accessible from the machine running Databrain.

    • This is dependent on your networking setup. The easiest way to verify if Databrain is able to connect to your Redshift cluster is via the Add a Data Source UI.

    • For a deeper dive on configuring your cluster's access, you can consult the AWS Redshift documentation.

  2. Grant Necessary Permissions:

    • Read Access on Tables and information_schema: Grant read access permissions to the tables within Redshift as well as the information_schema schema. This allows Databrain to retrieve necessary information and replicate data accurately. You can assign appropriate permissions to the user or role accessing Redshift to enable reading from tables and accessing metadata stored in the information_schema. -- Grant SELECT permission on all tables in the specified schema GRANT SELECT ON ALL TABLES IN SCHEMA <schema_name> TO <username>

  3. Fill Up Connection Info:

    • Provide the necessary information to connect to your cluster.

      • Host Endpoint: [Part of the connection string or Endpoint accessible without the port and database name. It typically includes the cluster-id, region, and ends with redshift.amazonaws.com]

      • Port: [Port of the database, e.g., 5439]

      • Database Name: [Name of the database you want to sync data into]

      • Username: [Username to access the database]

      • Password: [Password associated with the username]

      • SSL Mode: [Specify if SSL mode is required and the type of authentication to be used.]

    • Note on Schema Configuration:

      • Default Schema: Public. This is the default schema tables are written to if the source does not specify a namespace. Unless specifically configured, the usual value for this field is "public".

Encryption:

  • In the case of a private instance, SSH credentials should also be provided for authentication purposes along with Redshift Credentials.

Permissions:

  • Permission to read information_schema.

  • Whitelist the IP address.

  • Grant read access to the schema (usage) and tables, noting that access to only tables may not suffice in certain databases.

Replace the placeholders inside the square brackets with actual values when filling in the details.

Locating the Configuration Details in Redshift

  1. Destination Name:

    • This is a custom name you decide for identification within Databrain. Choose a descriptive name based on your use case.

  2. Host Endpoint (Endpoint):

    • Navigate to the AWS Management Console and open the Amazon Redshift dashboard.

    • Select the desired cluster.

    • In the "Cluster Details" or "Properties" tab, you'll find the "Endpoint" listed.

  3. Port:

    • Typically, this is 5439 for Amazon Redshift. Confirm this in the "Cluster Details" or "Properties" tab where you found the Endpoint.

  4. Database Name:

    • This is the database name you specified when creating the cluster. View it under the "Configuration" details in the Redshift dashboard.

  5. Username & Password:

    • These are the credentials set during cluster creation or when creating a specific user in the database. If you're an admin, you can manage and view users using SQL client tools connected to Redshift.

  6. SSL Mode:

    • Amazon Redshift supports SSL connections. Check your cluster's security configurations or consult with your DBA to determine if you require SSL or the specific SSL mode used.

  7. Default Schema:

    • As noted, the default schema in Amazon Redshift is typically "public". Verify and manage schemas using SQL client tools connected to your Redshift cluster.

🛢️
Allow Access to our IP