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

# setIntegration

> Tests credentials, then saves them and starts what connecting starts in the settings page, such as the first import. Refused credentials are a `CONNECTION_TEST_FAILED` error and save nothing. Credentials equal to the saved ones are tested and not saved again. Needs `integration_settings:write`.



**mutation** `setIntegration(input: SetIntegrationInput!): SetIntegrationPayload!`

## Arguments

**`input`**: `SetIntegrationInput!` (required)

The credentials.

## Returns

`SetIntegrationPayload!`

**`integration`**: `WorkspaceIntegration!`

The integration, connected.

## Examples

```graphql Mutation
mutation SetIntegration($input: SetIntegrationInput!) {
  setIntegration(input: $input) {
    integration {
      name
      status
      syncProgress
      updatedAt
      settings {
        __typename
        ... on LookerSettings {
          __typename
        }
      }
    }
  }
}
```

```json Variables
{
  "input": {
    "config": {}
  }
}
```

```json Response
{
  "data": {
    "setIntegration": {
      "integration": {
        "name": "LOOKER",
        "status": "NOT_CONNECTED",
        "syncProgress": 1.5,
        "updatedAt": "value",
        "settings": {
          "__typename": "LookerSettings"
        }
      }
    }
  }
}
```


## Related topics

- [Administration API: Integrations](https://docs.paradime.io/developers/graphql-api/admin-api/integrations.md)
- [Admin client: integrations](https://docs.paradime.io/developers/python-sdk/modules/admin/integrations.md)
- [Admin CLI](https://docs.paradime.io/developers/paradime-cli/admin-cli.md)
- [Custom Integration](https://docs.paradime.io/developers/python-sdk/modules/custom-integration.md)
- [Bolt Trigger Integrations](https://docs.paradime.io/products/bolt/creating-schedules/trigger-integrations/index.md)


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