> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paradime.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Administration API: Integrations

> Set, test, and disconnect BI, ETL, and observability integrations, connect DinoAI agent integrations, and set external secret managers through the API.

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.

> [!NOTE]
>
> **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](https://docs.paradime.io/developers/graphql-api/admin-api/conventions.md).

## Operations

| Operation | Type | What it does | Capability group |
| - | - | - | - |
| [`Workspace.integrations`](https://docs.paradime.io/graphql-reference/types/Workspace) | Field | Lists the workspace's credential integrations, connected or not, with their saved settings and no secrets. | Integrations admin |
| [`setIntegration`](https://docs.paradime.io/graphql-reference/mutations/setIntegration) | Mutation | Tests credentials, saves them, and starts the first import where the integration has one. | Integrations admin |
| [`testIntegration`](https://docs.paradime.io/graphql-reference/mutations/testIntegration) | Mutation | Tests credentials without saving them. | Integrations admin |
| [`disconnectIntegration`](https://docs.paradime.io/graphql-reference/mutations/disconnectIntegration) | Mutation | Clears an integration's credentials, as the settings page does. | Integrations admin |
| [`Workspace.agentIntegrations`](https://docs.paradime.io/graphql-reference/types/Workspace) | Field | Lists the integrations the workspace's DinoAI agents use, connected or not. | Integrations admin |
| [`AgentIntegration.installUrl`](https://docs.paradime.io/graphql-reference/types/AgentIntegration) | Field | Makes a link where a person connects an agent integration in a browser. | Integrations admin |
| [`disconnectAgentIntegration`](https://docs.paradime.io/graphql-reference/mutations/disconnectAgentIntegration) | Mutation | Disconnects an agent integration and deletes its connection. | Integrations admin |
| [`Workspace.externalSecretsProviders`](https://docs.paradime.io/graphql-reference/types/Workspace) | Field | Lists the secret managers the workspace reads secrets from, without their secrets. | External secret managers admin |
| [`setExternalSecretsProvider`](https://docs.paradime.io/graphql-reference/mutations/setExternalSecretsProvider) | Mutation | Saves a secret manager's credentials, after an optional test read. | External secret managers admin |
| [`testExternalSecretReference`](https://docs.paradime.io/graphql-reference/mutations/testExternalSecretReference) | Mutation | Reads a secret reference with the saved settings, without returning the secret. | External secret managers admin |
| [`deleteExternalSecretsProvider`](https://docs.paradime.io/graphql-reference/mutations/deleteExternalSecretsProvider) | Mutation | Removes a secret manager's saved settings. | External secret managers admin |

## 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.

| Integration | `name` | `config` field | Fields | First import |
| - | - | - | - | - |
| [Looker](https://docs.paradime.io/integrations/looker.md) | `LOOKER` | `looker` | `baseUrl`, `clientId`, `clientSecret`\* | Yes |
| [Fivetran](https://docs.paradime.io/integrations/fivetran.md) | `FIVETRAN` | `fivetran` | `apiKey`, `apiSecret`\* | Yes |
| [Datadog](https://docs.paradime.io/integrations/datadog.md) | `DATADOG` | `datadog` | `site`, `apiKey`*, `applicationKey`* | No |
| [Tableau](https://docs.paradime.io/integrations/tableau.md) | `TABLEAU` | `tableau` | `url`, `patName`, `patSecret`\*, `projectIds` | Yes |
| [Power BI](https://docs.paradime.io/integrations/power-bi.md) | `POWER_BI` | `powerBi` | `tenantId`, `clientId`, `clientSecret`\*, `workspaceIds` | Yes |
| [DataHub](https://docs.paradime.io/integrations/datahub.md) | `DATAHUB` | `datahub` | `gmsUrl`, `patToken`\*, `domain` | No |
| [Sigma](https://docs.paradime.io/integrations/sigma.md) | `SIGMA` | `sigma` | `host`, `clientId`, `clientSecret`\* | Yes |
| [ThoughtSpot](https://docs.paradime.io/integrations/thoughtspot.md) | `THOUGHTSPOT` | `thoughtspot` | `host`, `username`, `password`\* | Yes |
| [Lightdash](https://docs.paradime.io/integrations/lightdash.md) | `LIGHTDASH` | `lightdash` | `instanceUrl`, `apiToken`\* | Yes |
| [Omni](https://docs.paradime.io/integrations/omni.md) | `OMNI` | `omni` | `host`, `apiKey`\* | Yes |
| [Metabase](https://docs.paradime.io/integrations/metabase.md) | `METABASE` | `metabase` | `host`, `apiKey`\* | Yes |
| [Airbyte Cloud](https://docs.paradime.io/integrations/airbyte/airbyte-cloud.md) | `AIRBYTE` | `airbyte` | `clientId`, `clientSecret`\* | Yes |
| [Hightouch](https://docs.paradime.io/integrations/hightouch.md) | `HIGHTOUCH` | `hightouch` | `apiKey`\* | Yes |
| [New Relic](https://docs.paradime.io/integrations/new-relic.md) | `NEW_RELIC` | `newRelic` | `accountId`, `apiKey`\* (the license key) | No |
| [PagerDuty](https://docs.paradime.io/integrations/pagerduty.md) | `PAGERDUTY` | `pagerduty` | `apiRegion` (`US` or `EU`), `apiKey`\* (a REST API key) | No |
| [incident.io](https://docs.paradime.io/integrations/incident.io.md) | `INCIDENT_IO` | `incidentIo` | `apiKey`\* | No |
| Rootly | `ROOTLY` | `rootly` | `apiKey`\* | No |

The per-field rules, such as the URL format each integration expects, are in the `IntegrationConfigInput` descriptions on the [`setIntegration`](https://docs.paradime.io/graphql-reference/mutations/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](https://docs.paradime.io/developers/graphql-api/admin-api/conventions.md#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.

```graphql theme={"system"}
mutation SetTableau($input: SetIntegrationInput!) {
  setIntegration(input: $input) {
    integration {
      name
      status
      syncProgress
      updatedAt
      settings {
        ... on TableauSettings {
          url
          patName
          hasPatSecret
          projectIds
        }
      }
    }
  }
}
```

```json theme={"system"}
{
  "input": {
    "config": {
      "tableau": {
        "url": "https://prod-uk-a.online.tableau.com/#/site/acme",
        "patName": "paradime-sync",
        "patSecret": "<personal access token secret>",
        "projectIds": ["4c1e9a52-77b0-4f0e-9d0e-2f3a8c6b1d10"]
      }
    }
  }
}
```

> [accordion] Example response
>
> ```json theme={"system"}
> {
>   "data": {
>     "setIntegration": {
>       "integration": {
>         "name": "TABLEAU",
>         "status": "SYNCING",
>         "syncProgress": 0.1,
>         "updatedAt": "2026-11-26T10:04:19+00:00",
>         "settings": {
>           "url": "https://prod-uk-a.online.tableau.com/#/site/acme",
>           "patName": "paradime-sync",
>           "hasPatSecret": true,
>           "projectIds": ["4c1e9a52-77b0-4f0e-9d0e-2f3a8c6b1d10"]
>         }
>       }
>     }
>   }
> }
> ```

To check credentials before you save them, send the same block to `testIntegration`. Secrets you leave out are taken from the saved ones.

```graphql theme={"system"}
mutation TestLightdash($input: TestIntegrationInput!) {
  testIntegration(input: $input) {
    name
    testedAt
  }
}
```

```json theme={"system"}
{
  "input": {
    "config": {
      "lightdash": {
        "instanceUrl": "https://app.lightdash.cloud",
        "apiToken": "<personal access token>"
      }
    }
  }
}
```

## 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.

```graphql theme={"system"}
query Integrations {
  workspace {
    integrations {
      totalCount
      edges {
        node {
          name
          status
          updatedAt
          settings {
            ... on LookerSettings {
              baseUrl
              clientId
              hasClientSecret
            }
            ... on FivetranSettings {
              apiKeyHint
              hasApiSecret
            }
          }
        }
      }
    }
  }
}
```

`disconnectIntegration` clears an integration's credentials, as the settings page does. Disconnecting it again is not an error.

```graphql theme={"system"}
mutation DisconnectFivetran($input: DisconnectIntegrationInput!) {
  disconnectIntegration(input: $input) {
    integration {
      name
      status
    }
  }
}
```

```json theme={"system"}
{
  "input": {
    "name": "FIVETRAN"
  }
}
```

## 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`](https://docs.paradime.io/graphql-reference/types/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`:

| `status` | What it means |
| - | - |
| `CONNECTED` | The integration is connected and works. |
| `PENDING_USER_ACTION` | It is not connected, or `reconnectRequired` is `true` and it must be authorized again. A person finishes it at `installUrl`. |
| `UNAVAILABLE` | Paradime doesn't offer it yet, so it can't be connected. |
| `UNKNOWN` | Paradime couldn't read the connection, so its state is not known. Nothing changed: read it again later. |

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](https://docs.paradime.io/developers/graphql-api/admin-api/conventions.md#pending-user-action).

```graphql theme={"system"}
query AgentIntegrations {
  workspace {
    agentIntegrations {
      edges {
        node {
          name
          displayName
          status
          reconnectRequired
          installUrl
          installUrlExpiresAt
        }
      }
    }
  }
}
```

> [accordion] Example response
>
> ```json theme={"system"}
> {
>   "data": {
>     "workspace": {
>       "agentIntegrations": {
>         "edges": [
>           {
>             "node": {
>               "name": "JIRA_CLOUD",
>               "displayName": "Jira Cloud",
>               "status": "CONNECTED",
>               "reconnectRequired": false,
>               "installUrl": null,
>               "installUrlExpiresAt": null
>             }
>           },
>           {
>             "node": {
>               "name": "NOTION",
>               "displayName": "Notion",
>               "status": "PENDING_USER_ACTION",
>               "reconnectRequired": false,
>               "installUrl": "<connect link>",
>               "installUrlExpiresAt": "2026-11-26T10:45:00+00:00"
>             }
>           }
>         ]
>       }
>     }
>   }
> }
> ```

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.

```graphql theme={"system"}
mutation DisconnectNotion($input: DisconnectAgentIntegrationInput!) {
  disconnectAgentIntegration(input: $input) {
    agentIntegration {
      name
      status
    }
  }
}
```

```json theme={"system"}
{
  "input": {
    "name": "NOTION"
  }
}
```

## 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.

```graphql theme={"system"}
mutation SetAwsSecretsManager($input: SetExternalSecretsProviderInput!) {
  setExternalSecretsProvider(input: $input) {
    provider {
      name
      lastValidatedAt
      settings {
        ... on AwsSecretsManagerSettings {
          accessKeyIdHint
          roleArn
          region
          hasSecretAccessKey
        }
      }
    }
  }
}
```

```json theme={"system"}
{
  "input": {
    "provider": {
      "aws": {
        "accessKeyId": "AKIAEXAMPLE12345",
        "secretAccessKey": "<secret access key>",
        "roleArn": "arn:aws:iam::123456789012:role/paradime-secrets-reader",
        "region": "eu-west-1"
      }
    },
    "testReference": "arn:aws:secretsmanager:eu-west-1:123456789012:secret:dbt-prod"
  }
}
```

A reference names one secret, and can end with `#<key>` to read one key of a JSON secret:

| Manager | Reference |
| - | - |
| AWS Secrets Manager | `arn:aws:secretsmanager:eu-west-1:123456789012:secret:dbt-prod#password` |
| Azure Key Vault | `https://acme.vault.azure.net/secrets/dbt-password` |
| GCP Secret Manager | `projects/acme-data/secrets/dbt-password` (the latest version unless it names one) |

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`.

```graphql theme={"system"}
mutation TestReference($input: TestExternalSecretReferenceInput!) {
  testExternalSecretReference(input: $input) {
    provider
    testedAt
  }
}
```

```json theme={"system"}
{
  "input": {
    "reference": "arn:aws:secretsmanager:eu-west-1:123456789012:secret:dbt-prod#password"
  }
}
```

`deleteExternalSecretsProvider` removes a manager's saved settings. References to it stop resolving. Removing it again is not an error.

```graphql theme={"system"}
mutation DeleteSecretsManager($input: DeleteExternalSecretsProviderInput!) {
  deleteExternalSecretsProvider(input: $input) {
    name
  }
}
```

```json theme={"system"}
{
  "input": {
    "name": "AWS"
  }
}
```

## Errors

These are the cases specific to integrations. For the error format and the codes every area shares, see [Errors](https://docs.paradime.io/developers/graphql-api/admin-api/conventions.md#errors).

| Code | When |
| - | - |
| `CONNECTION_TEST_FAILED` | The integration refused the credentials, or couldn't be reached. Or the secret manager couldn't read `testReference` or `reference`. Nothing is saved. |
| `VALIDATION_FAILED` | `config` or `provider` sets more or less than one block. A secret is empty, is a reference, or is missing with none saved. A URL or host is not public, or a host has a port. A Tableau project or Power BI workspace id isn't reachable. A reference is not an AWS, Azure, or GCP reference, belongs to another manager than the one you set, or names a manager the workspace doesn't have. `extensions.field` gives the input path. |
| `PLAN_UPGRADE_REQUIRED` | External secret managers are not turned on for your account. |

## Related

* [Python SDK: Integrations](https://docs.paradime.io/developers/python-sdk/modules/admin/integrations.md): the same operations in `paradime.admin.integrations`.
* [Paradime CLI: `paradime admin`](https://docs.paradime.io/developers/paradime-cli/admin-cli): `paradime admin integrations` and `paradime admin agent-integrations`.
* [Connecting integrations](https://docs.paradime.io/integrations/connecting-integrations.md): integrations and their scopes in **Workspace Settings > Integrations**.
* [AWS Secrets Manager](https://docs.paradime.io/integrations/aws-secret-manager.md), [Azure Key Vault](https://docs.paradime.io/integrations/azure-key-vault.md), and [GCP Secret Manager](https://docs.paradime.io/integrations/gcp-secret-manager.md): set up a secret manager in Paradime.


## Related topics

- [Administration API](https://docs.paradime.io/developers/graphql-api/admin-api/index.md)
- [Administration API: Conventions](https://docs.paradime.io/developers/graphql-api/admin-api/conventions.md)
- [Administration API: Setup status](https://docs.paradime.io/developers/graphql-api/admin-api/setup-status.md)
- [Administration API: Warehouse connections](https://docs.paradime.io/developers/graphql-api/admin-api/warehouse-connections.md)
- [Administration API: Bolt](https://docs.paradime.io/developers/graphql-api/admin-api/bolt.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.