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

# ConnectSecure

> Integrate your application with the ConnectSecure API

## 🚀 Quickstart

Connect to ConnectSecure with Nango and see data flow in 2 minutes.

<Steps>
  <Step title="Create the integration">
    In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *ConnectSecure*.
  </Step>

  <Step title="Authorize ConnectSecure">
    Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* -> *Authorize*. Enter your ConnectSecure pod host, tenant, Client ID, and Client Secret. Nango verifies the credentials against your pod before creating the connection.
  </Step>

  <Step title="Call the ConnectSecure API">
    Make your first request to the ConnectSecure API (list companies). Replace the placeholders below with your [API key](https://app.nango.dev/dev/environment-settings), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):

    <Tabs>
      <Tab title="cURL">
        ```bash theme={null}
        curl "https://api.nango.dev/proxy/r/company/companies?skip=0&limit=10" \
          -H "Authorization: Bearer <API-KEY>" \
          -H "Provider-Config-Key: <INTEGRATION-ID>" \
          -H "Connection-Id: <CONNECTION-ID>"
        ```
      </Tab>

      <Tab title="Node">
        Install Nango's backend SDK with `npm i @nangohq/node`. Then run:

        ```typescript theme={null}
        import { Nango } from '@nangohq/node';

        const nango = new Nango({ apiKey: '<API-KEY>' });

        const res = await nango.get({
            endpoint: '/r/company/companies',
            params: { skip: 0, limit: 10 },
            providerConfigKey: '<INTEGRATION-ID>',
            connectionId: '<CONNECTION-ID>'
        });

        console.log(res.data);
        ```
      </Tab>
    </Tabs>

    Or fetch credentials with the [Node SDK](/docs/reference/sdks/node#get-a-connection-with-credentials) or [API](/docs/reference/api/connection/get).

    ✅ You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.
  </Step>

  <Step id="implement-nango" title="Implement Nango in your app">
    Follow our [Auth implementation guide](/docs/guides/primitives/auth) to integrate Nango in your app.

    To find your ConnectSecure connection details, follow the connect guide linked below.
  </Step>
</Steps>

## 📚 ConnectSecure Integration Guides

Nango-maintained guides for common use cases.

* [How do I link my ConnectSecure account?](/docs/api-integrations/connectsecure/connect)
  Find the four required connection values and connect to Nango

Official docs: [ConnectSecure support and documentation](https://connectsecure.com/support)

## 🧩 Pre-built syncs & actions for ConnectSecure

Enable them in your dashboard. Extend and customize to fit your needs.

### Others

| Function name           | Description                                                                                                                                                       | Type                                           | Source code                                                                                                                         |
| ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| `create-user`           | Create a new user account in this tenant.                                                                                                                         | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/create-user.ts)           |
| `get-asset`             | Get full details for a single asset by id.                                                                                                                        | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/get-asset.ts)             |
| `get-company`           | Get a single MSP client company by id.                                                                                                                            | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/get-company.ts)           |
| `get-compliance-master` | Get the master list of compliance benchmark checks (e.g. CIS controls) with descriptions and remediation commands.                                                | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/get-compliance-master.ts) |
| `get-password-policy`   | Get the tenant's password complexity policy.                                                                                                                      | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/get-password-policy.ts)   |
| `list-agents`           | List monitoring agents installed across assets in this account.                                                                                                   | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/list-agents.ts)           |
| `list-approver-users`   | List users who can act as approvers for a given company.                                                                                                          | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/list-approver-users.ts)   |
| `list-assets`           | List discovered assets (endpoints/devices) across this account.                                                                                                   | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/list-assets.ts)           |
| `list-companies`        | List MSP client companies (tenant-scoped) in this ConnectSecure account.                                                                                          | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/list-companies.ts)        |
| `list-compliance-types` | List available compliance framework types and the OS/platform variants each supports.                                                                             | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/list-compliance-types.ts) |
| `list-credentials`      | List stored scan/discovery credentials configured for this account                                                                                                | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/list-credentials.ts)      |
| `list-integrations`     | List third-party integrations configured or available for this account, including their action/parameter definitions.                                             | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/list-integrations.ts)     |
| `list-jobs`             | List background jobs (scans, syncs, report generation, etc) run in this account.                                                                                  | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/list-jobs.ts)             |
| `list-problem-groups`   | List vulnerability/problem severity-group categories used to classify findings.                                                                                   | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/list-problem-groups.ts)   |
| `list-problems-summary` | List a summarized, deduplicated view of security problems/vulnerabilities across the account (one row per distinct problem, with aggregate asset/company counts). | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/list-problems-summary.ts) |
| `list-roles`            | List the fixed vocabulary of assignable user roles.                                                                                                               | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/list-roles.ts)            |
| `list-settings`         | List global/company-level configuration settings for this account.                                                                                                | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/list-settings.ts)         |
| `list-users`            | List user accounts in this ConnectSecure tenant.                                                                                                                  | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/list-users.ts)            |
| `list-vulnerabilities`  | List distinct vulnerabilities (CVEs) detected across assets in this account.                                                                                      | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/list-vulnerabilities.ts)  |
| `update-user-role`      | Update a user's assigned roles.                                                                                                                                   | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/actions/update-user-role.ts)      |
| `agents`                | Sync monitoring agents installed across assets in this account.                                                                                                   | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/syncs/agents.ts)                  |
| `assets`                | Sync discovered assets (endpoints/devices) across this account.                                                                                                   | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/syncs/assets.ts)                  |
| `companies`             | Sync MSP client companies in this account.                                                                                                                        | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/syncs/companies.ts)               |
| `compliance_master`     | Sync the master list of compliance benchmark checks (e.g. CIS controls).                                                                                          | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/syncs/compliance_master.ts)       |
| `problem_groups`        | Sync the reference list of vulnerability/problem severity-group categories.                                                                                       | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/syncs/problem_groups.ts)          |
| `users`                 | Sync user accounts in this tenant.                                                                                                                                | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/syncs/users.ts)                   |
| `vulnerabilities`       | Sync distinct vulnerabilities (CVEs) detected across assets in this account                                                                                       | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/connectsecure/syncs/vulnerabilities.ts)         |

***
