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-Workspaceheader, 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.
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…Hintwith 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,
projectIdsselects the projects to import: left out or empty, every project is imported. For Power BI,workspaceIdsselects at least one Power BI workspace. An id that the credentials can’t reach isVALIDATION_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.
Example response
Example response
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.
Example response
Example response
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.
lastValidatedAtis whentestReferencewas last read with the saved settings. Saving withouttestReferenceclears it. Credentials equal to the saved ones, sent withouttestReference, are not saved again and keeplastValidatedAt.- Leave the secret (
secretAccessKey,clientSecret, orserviceAccountJson) out to keep the saved one, unless the credentials belong to another account: a new AWSaccessKeyId, or a new AzuretenantIdorclientId. Then send the secret again. - The manager’s own credentials must be values, not references.
#<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.Related
- Python SDK: Integrations: the same operations in
paradime.admin.integrations. - Paradime CLI:
paradime admin:paradime admin integrationsandparadime admin agent-integrations. - Connecting integrations: integrations and their scopes in Workspace Settings > Integrations.
- AWS Secrets Manager, Azure Key Vault, and GCP Secret Manager: set up a secret manager in Paradime.