Skip to content

Connecting Looker to analytics data

Connect Looker to Tallyfy data

You can connect Looker to Tallyfy’s analytics data through Amazon Athena in about 15-20 minutes. Tallyfy exports your workflow data as Parquet files (with Snappy compression) to S3, and Athena lets Looker query that data directly - so you can build LookML models and dashboards from real process metrics.

Requirements

Before you start, confirm you have:

  • Tallyfy Analytics enabled for your organization (the analytics_enabled flag must be active)
  • Looker access - either self-hosted or Looker Cloud
  • Admin permissions in Looker to create database connections
  • Admin access to your machine for driver installation (self-hosted only)
  • AWS Access Key credentials from Tallyfy Support

Authentication overview

Athena supports two authentication methods. For Looker, you want Access Keys.

MethodDescriptionBest for
IAM Username/PasswordWeb console access credentialsAWS Console access only
Access Key/SecretToken-based authenticationBI tool connections (recommended)

Setup process

Step 1: Install the JDBC driver (self-hosted Looker only)

Using Looker Cloud? Skip ahead - Google pre-installs the Athena drivers. For self-hosted instances:

  1. Download the Simba Athena JDBC Driver from the AWS Athena JDBC documentation page.
  2. Place the driver in your Looker JDBC directory (typically /usr/local/looker/looker/lib/custom/)
  3. Restart Looker to load the new driver

Step 2: Configure the Looker connection

  1. Log into Looker as an administrator
  2. Go to Admin > Database > Connections
  3. Click Add Connection
  4. Select Amazon Athena as the dialect
  5. Fill in the connection parameters:
    • Name: Something descriptive (e.g., “Tallyfy Analytics”)
    • Host: athena.us-east-1.amazonaws.com (Tallyfy’s default AWS region is us-east-1)
    • Port: 443
    • Database: Your assigned database name (typically your organization name)
    • Username: Your Access Key ID from Tallyfy
    • Password: Your Secret Access Key from Tallyfy
  6. In Additional Params, add:
    s3_staging_dir=s3://your-staging-bucket/looker-results/
  7. Click Test to verify the connection
  8. If the test passes, click Connect

Step 3: Tune performance settings

  1. In the connection settings, find Additional Params
  2. Append these performance parameters:
    ;UseResultsetStreaming=1;MaxConcurrentQueries=20
  3. UseResultsetStreaming=1 enables streaming for large result sets (requires the athena:GetQueryResultsStream IAM policy)
  4. MaxConcurrentQueries=20 increases the connection pool for heavier usage
  5. Save the connection settings

Step 4: Set up temp database for PDTs

Persistent Derived Tables (PDTs)1 cache complex calculations so dashboards load faster:

  1. In your connection settings, find Temp Database
  2. Enter the S3 directory path: tallyfy-athena-results/looker-pdts/
  3. Looker stores pre-calculated tables here for reuse
  4. Save the settings

Working with Tallyfy data in Looker

Available data

Tallyfy Analytics exports two categories of data to S3 as Parquet files:

  • Run analytics - per-process data including process metadata (blueprint name, status, owner), task details (assignments, completion dates, due dates), form field values (questions and answers), comments, and issue tracking
  • Members - user activity and profile data (email, name, role, login history, status)

These are organized per-organization in S3, and Athena tables may present this data across views for processes, steps, form fields, and users.

Building a LookML model

Here’s a basic starting point:

  1. In Looker, go to Develop > LookML Projects
  2. Create a new project or pick an existing one
  3. Create a model file with your connection:
    connection: "tallyfy_analytics"
    explore: processes {
    join: steps {
    sql_on: ${processes.process_id} = ${steps.process_id} ;;
    relationship: one_to_many
    }
    }
  4. Create view files for each data table
  5. Define dimensions and measures based on your business needs

Dashboard ideas

Some practical dashboards you can build from Tallyfy data:

  1. Process duration analysis - find where workflows get stuck (durations show elapsed time, not effort)
  2. Team performance scorecards - completion rates and average handling times per user
  3. Form data analytics - spot trends in customer requests or quality issues
  4. Active process monitors - real-time view of running processes and their current status
  5. SLA compliance tracking - measure whether tasks complete within target timeframes

Advanced features

Embedding Looker dashboards

The Looker API lets you share insights outside Looker itself:

  • Embed dashboards in internal portals or wikis
  • Share via Slack using Looker’s Slack integration
  • Schedule email delivery of reports
  • Create public dashboards with controlled access

Query optimization

A few ways to keep queries fast:

  • Aggregate awareness - pre-calculate common metrics in PDTs
  • Incremental PDTs - only recalculate changed data
  • Push filters to Athena - filter at the query level rather than post-processing in Looker
  • Monitor query performance - use Looker’s Query History to find slow queries

Troubleshooting

Connection not working? Check these in order:

  • Double-check your Access Key and Secret Access Key - one wrong character breaks the connection
  • Verify the S3 staging directory path is correct and your credentials have write access
  • Confirm the JDBC driver is installed properly (self-hosted only)
  • Test that Looker can reach athena.us-east-1.amazonaws.com on port 443
  • Verify your Tallyfy Analytics subscription is active
  • Enable debug logging by adding ;LogLevel=DEBUG;LogPath=/tmp/athena_debug.log to Additional Params, then check /tmp/athena_debug.log for details

Still stuck? Contact Tallyfy Support with the exact error message.

Analytics > Looker

Looker and Looker Studio both connect to Tallyfy Analytics through Amazon Athena so teams can build interactive dashboards and drill into workflow performance data without writing SQL using either the enterprise platform or the free visualization tool.

Looker > Connecting Looker Studio to analytics data

Looker Studio can connect to Tallyfy Analytics workflow data through a third-party connector like CData or OWOX in about 10-15 minutes using AWS Access Key credentials to build free shareable dashboards that visualize process volumes and task durations and completion rates without needing an enterprise BI license.

Tableau > Connecting Tableau to analytics data

Tallyfy Analytics connects to Tableau Desktop through Amazon Athena in about 15 minutes by installing a JDBC driver and using Access Key credentials to query workflow data including process durations and task completion rates and form field answers for building visual dashboards.

Integrations > Tallyfy Analytics

Tallyfy Analytics is an add-on that replicates your workflow data into a private Amazon Athena environment where you can run SQL queries and connect BI tools like Tableau or Power BI to build custom dashboards and track process trends over time.

Footnotes

  1. Looker’s caching layer that pre-computes query results and stores them in S3 for faster repeat access