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

# dope.security

> Integrate your application with the Flightdeck API by dope.security

## 🚀 Quickstart

Connect to dope.security 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* -> *dope.security*.
  </Step>

  <Step title="Authorize dope.security">
    Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* -> *Authorize*, then enter your Client ID and Client Secret. Later, you'll let your users do the same directly from your app.
  </Step>

  <Step title="Call the Flightdeck API">
    Make your first request to the Flightdeck API to get a paginated list of all your policies, ordered by policy name. Replace the placeholders below with your [secret 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/v1/policies" \
          -H "Authorization: Bearer <NANGO-SECRET-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({ secretKey: '<NANGO-SECRET-KEY>' });

        const res = await nango.get({
            endpoint: '/v1/policies',
            providerConfigKey: '<INTEGRATION-ID>',
            connectionId: '<CONNECTION-ID>'
        });

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

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

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

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

    To obtain your own production credentials, follow the setup guide linked below.
  </Step>
</Steps>

## 📚 dope.security Integration Guides

Nango-maintained guides for common use cases.

* [How do I link my dope.security account?](/api-integrations/dope-security/connect)\
  Create API client credentials in the dope console to connect dope.security to Nango.

## 🧩 Pre-built syncs & actions for dope.security

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

### Others

| Function name                        | Description                                                                                                                             | Type                                           | Source code                                                                                                                                      |
| ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| `add-custom-category-urls`           | Add URLs to a custom category; rejects the entire request if any URL is invalid.                                                        | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/add-custom-category-urls.ts)           |
| `create-custom-category`             | Create a custom category.                                                                                                               | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/create-custom-category.ts)             |
| `create-policy`                      | Create a custom policy.                                                                                                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/create-policy.ts)                      |
| `delete-custom-category-url`         | Delete one specific URL from a custom category                                                                                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/delete-custom-category-url.ts)         |
| `delete-custom-category-urls`        | Remove all URLs from a custom category.                                                                                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/delete-custom-category-urls.ts)        |
| `delete-custom-category`             | Delete a custom category and its associated data.                                                                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/delete-custom-category.ts)             |
| `delete-policy-application-bypasses` | Delete custom application bypasses by name and platform.                                                                                | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/delete-policy-application-bypasses.ts) |
| `delete-policy-url-bypasses`         | Remove custom URL bypass entries from a policy by name.                                                                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/delete-policy-url-bypasses.ts)         |
| `delete-policy`                      | Delete a custom policy.                                                                                                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/delete-policy.ts)                      |
| `get-policy-application-bypasses`    | Fetch a policy's application bypass entries, split by platform (mac/windows).                                                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/get-policy-application-bypasses.ts)    |
| `get-policy-assignments`             | Fetch the users and groups a policy is assigned to.                                                                                     | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/get-policy-assignments.ts)             |
| `get-policy-content`                 | Retrieve a policy's category and custom-category restrictions, with inheritance state.                                                  | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/get-policy-content.ts)                 |
| `get-policy-ssl-inspection`          | Get a policy's SSL inspection state and inheritance flag.                                                                               | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/get-policy-ssl-inspection.ts)          |
| `get-policy-url-bypasses`            | Retrieve a policy's URL bypass entries (custom and default, with toggle state).                                                         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/get-policy-url-bypasses.ts)            |
| `list-custom-categories`             | List all custom categories.                                                                                                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/list-custom-categories.ts)             |
| `list-custom-category-urls`          | List all URLs in a custom category.                                                                                                     | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/list-custom-category-urls.ts)          |
| `list-endpoints`                     | List and search endpoints (managed devices) with filtering.                                                                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/list-endpoints.ts)                     |
| `list-policies`                      | List all policies, paginated by name.                                                                                                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/list-policies.ts)                      |
| `replace-custom-category-urls`       | Replace all URLs in a custom category                                                                                                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/replace-custom-category-urls.ts)       |
| `update-policy-application-bypasses` | Upsert custom application bypasses, or toggle defaults, per platform.                                                                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/update-policy-application-bypasses.ts) |
| `update-policy-assignments`          | Update the users and groups a policy is assigned to (replaces lists; omit a list to preserve it).                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/update-policy-assignments.ts)          |
| `update-policy-exceptions`           | Add user/group-level restriction overrides per category; replaces all existing exceptions for the categories/customCategories supplied. | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/update-policy-exceptions.ts)           |
| `update-policy-restrictions`         | Update a policy's category restrictions (ALLOW/BLOCK/WARNING), or reset to base inheritance.                                            | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/update-policy-restrictions.ts)         |
| `update-policy-ssl-inspection`       | Set a custom SSL inspection state, or reset to inherit from the base policy (mutually exclusive).                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/update-policy-ssl-inspection.ts)       |
| `update-policy-url-bypasses`         | Update custom URL bypasses and toggle default URL bypass entries for a policy, or reset to base policy inheritance.                     | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/actions/update-policy-url-bypasses.ts)         |
| `custom-categories`                  | Sync custom categories and their URLs                                                                                                   | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/syncs/custom-categories.ts)                    |
| `endpoints`                          | Sync endpoints (managed devices)                                                                                                        | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/syncs/endpoints.ts)                            |
| `policies`                           | Sync policies.                                                                                                                          | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dope-security/syncs/policies.ts)                             |

***
