Heroku
Heroku is a cloud platform as a service (PaaS) that enables developers to build, deploy, run, and manage applications entirely in the cloud. This data integration platform provides comprehensive visibility into Heroku infrastructure, applications, and associated resources, allowing teams to query and monitor their platform deployments, configurations, and operational state.
| Category | Cloud |
| Direction | Query source |
| Sign-in | API Key |
| Query languages | SQLite |
| Tables | 12 |
| Query templates | 29 |
| Website | heroku.com |
Before you start
Huntbase signs in to Heroku with API Key. Create the credential in Heroku first, then keep it to hand for the Connect step.
- If your account doesn't use SSO, open Account settings in the Heroku Dashboard and copy the API Key.
- For a long-lived token that doesn't change with your password, run
heroku authorizations:createin the Heroku CLI instead, and copy the token it returns.
- The Dashboard API key regenerates when you change your password, which breaks the connection. Tokens from
heroku authorizations:createavoid this. - Tokens from
heroku auth:tokenare short-lived. They expire after one year, or after 8 hours with SSO.
For the vendor's own instructions, see Heroku API key documentation.
Use a dedicated, read-only credential for Huntbase where the product allows it. Huntbase only needs to read.
Connect Heroku
- Go to Connections and click New connection, or click New connection on the Heroku product page.
- On Product, pick Heroku and choose the Owner.
- On Details, give the connection a Name and, optionally, a Description.
- On Connect, fill in the settings and credentials described below.
- On Verify, review the summary and click Create & check.
For everything else on the setup page — saving a draft, I'll do this later, and what each check result means — see Connections.
Settings
Where your Heroku lives:
| Field | Required | Notes |
|---|---|---|
| Account Email | No | The email address of the Heroku user the API key belongs to. |
Credentials
The only Method is API Key. Enter a Credential label (for example Production), then fill in:
| Field | Required | Notes |
|---|---|---|
| API Key | Yes | Secret — not shown again after you save it. |
Query it
Once connected, Heroku can serve these languages in a query tab, and Scout can use it when you ask in Auto:
| Language | Use it for |
|---|---|
| SQLite | SQL over the 12 tables listed below, alongside every other connected source. |
Example: SQLite
List all keys — Explore the full range of keys available within your Heroku account.
select
*
from
heroku_key;
Heroku ships with 29 query templates. Find them in Library › Queries — see Query templates.
Tables
Heroku adds 12 tables. Browse their columns from Schema in the query bar's ⋯ menu.
All 12 tables
| Table | Contains |
|---|---|
heroku_account | An account represents an individual signed up to use the Heroku platform. |
heroku_addon | Add-ons are components, services, or pieces of infrastructure that are fully maintained for you, either by a third-party provider or by Heroku. |
heroku_app | An app represents the program that you would like to deploy and run on Heroku. |
heroku_app_release | A release represents a combination of code, config vars and add-ons for an app on Heroku. |
heroku_app_webhook | Webhooks define what web routes should be routed to an app on Heroku. |
heroku_domain | Domains define what web routes should be routed to an app on Heroku. |
heroku_dyno | Dynos encapsulate running processes of an app on Heroku. |
heroku_key | Keys represent public SSH keys associated with an account and are used to authorize accounts as they are performing git operations. |
heroku_pipeline | A pipeline allows grouping of apps into different stages. |
heroku_region | A region represents a geographic location in which your application may run. |
heroku_team | Teams allow you to manage access to a shared group of applications and other resources. |
heroku_team_member | A team member is an individual with access to a team. |
Next steps
- Connections — health, credentials and settings after you connect
- Query languages — syntax, parameters and time ranges
- Chatting with Scout — ask questions without writing a query
- All integrations — the rest of the catalog