Skip to main content

Cube

Connect using Cube Cloud's REST API to access your cubes, measures and dimensions in Push.ai.

Prerequisites

To connect to Cube, you'll need a Cube project set up in Cube Cloud.

Don't have a Cube Cloud project yet?

Learn how to get started using the Cube docs.

Step 1 - Copy the REST API Endpoint

Copy the REST API endpoint which can be found on the Overview page

Step 2 - Copy the API Secret

Copy the API secret an be found on the Settings / Configuration page under “Cube environment variables” and is named CUBEJS_API_SECRET.

Step 3 - Configure the connection in Push.ai

ParameterDescription
API URLthe REST API endpoint which can be found on the Overview page
API Secretthe API secret an be found on the Settings / Configuration page under “Cube environment variables” and is named CUBEJS_API_SECRET.

Usage Notes

After connecting with Cube, measures and dimensions need to be converted into metrics. This can be done in two ways:

  1. Measures and dimensions will automatically be available in the Report builder and can be converted to metrics in the Data section of the Report builder. Any metrics configured here will be created and available throughout the application.
  2. Metrics can be imported through the Metric import flow on the metrics page.