Before you start
You need a Quivly admin, your AWS Redshift endpoint and database details, and a dedicated database user with read access to the relevant schemas and tables. Quivly uses TLS connections. The endpoint must be reachable from Quivly; ask your administrator or support@quivly.ai about outbound IP allowlisting if your network restricts access. Prepare usage data with a customer identifier, date or timestamp, and event or metric values. See warehouse data formats.Connect Redshift
- Open Data → Integrations → Redshift → Configure and add a connection.
- Enter Connection name, Host, Port (5439 by default), Database, User, and Password.
- Optionally enter Schema, or leave it blank to browse all accessible schemas.
- Select Test Connection, then Connect Redshift after the test succeeds. Changing connection details requires testing again.
Configure usage metrics
1
Create a mapping
Open Data → Objects → Product Usage → Configuration. Create a configuration and select the Redshift connection.
2
Choose how to read the data
Select a table and map its columns using Wide or Long format, or choose Custom SQL. Wide tables have metric columns; long tables store metric names and values in rows.
3
Match customers and metrics
Set the customer identifier and date columns, select the metrics to import, and choose how each metric aggregates. Review customer matching so the values reach the intended Quivly accounts.
4
Preview and publish
Preview real results, resolve query or mapping errors, and set the sync schedule and initial lookback. Save and publish the configuration, then check a customer’s Usage tab.
external_customer_id, metric_key, numeric value, and usage_date in ISO date format. Preview the query after changing it before publishing. Queries must be read-only.
Troubleshooting
- Connection test fails: Check the AWS endpoint, port, database, credentials, network access, and database user’s read permissions.
- A table is missing: Check schema access and the optional schema filter.
- Connected but no usage appears: Check that the usage mapping is published, its preview returns data, and its customer identifiers match Quivly customers.
- Need to disconnect: Move or archive usage mappings that depend on the connection first.
