Skip to main content
Connect the tools around your dbtâ„¢ project from code: set, test, and disconnect the credentials of BI, ETL, and observability integrations, connect the integrations that DinoAI agents use, and set the secret managers Paradime reads secrets from.
Prerequisites:
  • These operations are part of the Enterprise plan. On other plans, they fail with PLAN_UPGRADE_REQUIRED.
  • An account API key with the X-Paradime-Workspace header, or a workspace API key.
  • The Integrations admin capability group for credential and agent integrations, and External secret managers admin for secret managers. External secret managers must also be turned on for your account. If they are not, the call fails with PLAN_UPGRADE_REQUIRED: contact Paradime.
Keys, errors, write-only secrets, and steps that need a person work the same in every area. See Conventions.

Operations

Supported integrations

setIntegration and testIntegration take one block in config: set exactly one field. name is the value that Workspace.integrations returns and disconnectIntegration takes. Fields marked with an asterisk are secrets. The per-field rules, such as the URL format each integration expects, are in the IntegrationConfigInput descriptions on the setIntegration reference page.

Set and test an integration

setIntegration tests the credentials first. If the integration refuses them, the call fails with CONNECTION_TEST_FAILED and saves nothing. If the test passes, Paradime saves the credentials and starts what connecting starts in the settings page, such as the first import. While that import runs, status is SYNCING, and syncProgress goes from 0 to 1. Credentials equal to the saved ones are tested, and not saved again. testIntegration runs the same test and saves nothing.
  • Secrets are write-only. Reads return has… booleans and, for some keys, a …Hint with the last characters. Leave a secret out to keep the saved one, unless you change where the credentials point, such as the URL, host, region, account, or client id. Then send the secret again. An empty secret is refused. See Secrets.
  • Values, not references. These credentials don’t accept a reference to an external secret manager.
  • Public addresses only. A URL or host must resolve to a public address, over HTTPS. A host field takes no port: Paradime calls it on port 443.
  • Two-step setups in one call. For Tableau, projectIds selects the projects to import: left out or empty, every project is imported. For Power BI, workspaceIds selects at least one Power BI workspace. An id that the credentials can’t reach is VALIDATION_FAILED.
  • New Relic and Rootly are tested as the settings page tests them: the API checks the shape of the values and doesn’t call the service.
To check credentials before you save them, send the same block to testIntegration. Secrets you leave out are taken from the saved ones.

List and disconnect integrations

Workspace.integrations lists every credential integration of the workspace, connected or not, ordered by name. settings is null for an integration that is not connected. Select the settings type of each integration you need.
disconnectIntegration clears an integration’s credentials, as the settings page does. Disconnecting it again is not an error.

Connect DinoAI agent integrations

DinoAI agents use their own integrations, such as Jira Cloud, Notion, Google Drive, or Slack. In Paradime, they are the Agent integrations under Workspace Settings > Integrations. The connection belongs to the workspace, not to a user. AgentIntegrationName lists every integration. Connecting one needs a person to sign in to the tool, in a browser, so the API can’t finish it. Instead, Workspace.agentIntegrations shows each integration’s status: When you select installUrl, Paradime makes a new connect link for each integration that is PENDING_USER_ACTION. A link works for 30 minutes, until installUrlExpiresAt. Anyone who opens it can connect an account to the workspace, so send it only to the person who should connect the integration. See Steps that need a person.
After the person connects it, status reads CONNECTED. To remove a connection, call disconnectAgentIntegration. It disconnects the integration from the workspace and deletes its connection, as the settings page does. Disconnecting it again is not an error.

Set an external secret manager

Paradime can read secrets, such as warehouse passwords, from AWS Secrets Manager, Azure Key Vault, or GCP Secret Manager. Set the manager’s credentials once per workspace. Then, wherever a secret field accepts it, send a reference to the secret instead of its value. setExternalSecretsProvider takes one block in provider (aws, azure, or gcp) and replaces the saved settings of that manager. Send testReference, a reference to a secret the credentials can read, to test them first: if the read fails, the call fails with CONNECTION_TEST_FAILED and saves nothing.
  • lastValidatedAt is when testReference was last read with the saved settings. Saving without testReference clears it. Credentials equal to the saved ones, sent without testReference, are not saved again and keep lastValidatedAt.
  • Leave the secret (secretAccessKey, clientSecret, or serviceAccountJson) out to keep the saved one, unless the credentials belong to another account: a new AWS accessKeyId, or a new Azure tenantId or clientId. Then send the secret again.
  • The manager’s own credentials must be values, not references.
A reference names one secret, and can end with #<key> to read one key of a JSON secret: To check that Paradime can read a reference with the saved settings, call testExternalSecretReference. It never returns the secret. A failed read is CONNECTION_TEST_FAILED.
deleteExternalSecretsProvider removes a manager’s saved settings. References to it stop resolving. Removing it again is not an error.

Errors

These are the cases specific to integrations. For the error format and the codes every area shares, see Errors.