Redshift

Send data from Redshift to your destinations through Freshpaint

What you'll need

  • A Freshpaint account

  • Connection information for Redshift, including

    • Hostname

    • Port number

    • Username

    • Password

    • Database name

    • Schema name

How this works

With the Redshift source, Freshpaint can sync data from any and all of your tables in Redshift into our SQL Engine. You'll be able to access this data as SQL tables, in the same way you would inside Redshift.

With that data, you can:

  • Send to your destinations on a schedule with our Scheduled Events, keeping them in sync with updates in Redshift

  • Send data as properties of your tracked events with SQL Transformations

  • Query the data with our SQL Editor to see what you have and test that your source is working

  • Combine your Redshift data with that of any other source

Connect to Redshift

First, you'll want to locate Redshift on the list of sources:

Click the Configure button, and you'll see a modal that looks like below. Enter your database's host, port number, the name of a database we can connect to, a schema, user, and password.

Choose the tables you want to pull into the SQL Engine.

You can configure the schedule for any frequency you want to sync with our SQL Engine. Once you have your tables configured, you can trigger a new sync to have access to the data in your tables. Your connection should now look something like this:

Working with Redshift data

Redshift is a general data warehouse; the only limit to what data you can pull is what access you provide to the user. Below is a simple example of the SQL you can run in the SQL Editor to see the data in any of your tables.

Use Cases

Reverse ETL to analytics tools

People use Redshift as a data warehouse. You can use the Redshift source integration to send data to any analytics tool of your choice. Suppose you wanted to sync new accounts to Mixpanel:

SELECT
    account_id AS insert_id,
    email AS user_id,
    created_at AS time,
    *
FROM
    redshift_account_signups

A query like this would pull data from an account_signups table in Redshift and send that to Mixpanel.

Point-to-Point integrations need you to define the insert_id and user_id for the data to be accepted by your destination. Remember this when you build your own queries! Because you selected *, you'll see all of your data as properties named for their original columns as well.

Database-to-warehouse data transfer

You might find yourself in need of bringing data over to a new warehouse. With your Redshift source, you can tap into all of the warehouses you've connected with Freshpaint.

  • Write a query you'll use to capture this data in the SQL Editor, then create an event.

  • Connect a warehouse, or even a set of warehouses, to your Freshpaint account.

  • Finally, you need to click into the event you've created, and turn on the warehouse(s) for that event.

Notes

  • In order for us to connect with Redshift, it must be configured to be publicly accessible. Additionally, it must be located in a VPC and Security Group that are configured to allow ingress from the Freshpaint IP address 35.162.70.108 to the port that Redshift is listening on.

Last updated