Skip to main content

Connect Amazon Redshift to the Knowledge Base

With the Redshift connector, you can connect an Amazon Redshift cluster to the Knowledge Base and index the tables in a database.

What you need​

  • The host of your cluster — the endpoint, for example cluster.abc123.us-east-1.redshift.amazonaws.com.
  • The port, which is 5439 unless your cluster uses a custom one.
  • The database to query, for example analytics.
  • A username and its password for a database user in the cluster.

Authentication​

The connector authenticates with a Redshift database user name and password. Create a user in the cluster (or use an existing one) and grant it read access to the schemas you want to index.

TLS is on by default and should stay on.

Connecting to Redshift​

  1. Open Project Settings

    In your EKB project, navigate to Settings in the sidebar.

  2. Go to Connections

    Select the Connections tab and find the Amazon Redshift tile under Databases.

  3. Open the Redshift popup

    Click the Amazon Redshift tile. A popup appears with the option to connect Redshift. Click + Add Connection.

  4. Fill in the connection form

    Enter the following details:

    Server

    FieldRequiredDescription
    HostYesThe cluster endpoint (e.g. cluster.abc123.us-east-1.redshift.amazonaws.com).
    PortYesThe port the cluster listens on. Default is 5439.

    Database

    FieldRequiredDescription
    DatabaseYesThe Redshift database to query (e.g. analytics).

    Authentication

    FieldRequiredDescription
    UsernameYesThe database user.
    PasswordYesThe database user's password.

    Connection type

    FieldDescription
    Use SSL (TLS)Connect over TLS. On by default; turn it off only for a cluster that does not support it.
  5. Save the connection

    Click Save. EKB will connect to the cluster using the details provided. If successful, the Amazon Redshift tile on the Connections page will display a green dot and a count of your active Redshift connections.

✓You're now ready to use your Redshift data in the Knowledge Base!