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

# Gong (Basic Auth)

> Integrate your application with the Gong API using Basic Auth

## 🚀 Quickstart

Connect to Gong with Nango using Basic Auth (API key) and see data flow in 2 minutes. See [Gong (Oauth)](/docs/api-integrations/gong-oauth) if you want to use OAuth instead.

<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* -> *Gong (Basic Auth)*.
  </Step>

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

  <Step title="Call the Gong API">
    Let's make your first request to the Gong API (list calls). Replace the placeholders below with your [Environment API key](/docs/reference/backend/http-api/api-keys), [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/v2/calls" \
          -H "Authorization: Bearer <NANGO-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: '<NANGO-API-KEY>' });

        const res = await nango.get({
            endpoint: '/v2/calls',
            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 title="Implement Nango in your app">
    Follow our [Auth implementation guide](/docs/guides/primitives/auth) to integrate Nango in your app.

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

## 📚 Gong (Basic Auth) integration guides

Nango-maintained guides for common use cases.

* [How do I link my Gong account?](/docs/api-integrations/gong/connect)
  Find your Access Key and Access Key Secret and connect your account through Nango's UI

* [How to set up webhooks with Gong on Nango](/docs/api-integrations/gong/webhooks)
  Receive real-time Gong call events in your app

Official docs: [Gong API documentation](https://app.gong.io/settings/api/documentation#overview)

## 🧩 Pre-built syncs & actions for Gong (Basic Auth)

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

### Others

| Function name                            | Description                                                                                                                                                 | Type                                           | Source code                                                                                                                                 |
| ---------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `add-call-users-access`                  | Grant individual users access to specific calls.                                                                                                            | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/add-call-users-access.ts)                  |
| `ask-entity`                             | Ask a natural language question about a Gong entity using AI.                                                                                               | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/ask-entity.ts)                             |
| `assign-prospects-cool-off-override`     | Assign prospects to a Gong Engage flow bypassing the cool-off period restriction.                                                                           | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/assign-prospects-cool-off-override.ts)     |
| `create-meeting`                         | Create a new Gong meeting (Beta).                                                                                                                           | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/create-meeting.ts)                         |
| `create-permission-profile`              | Create a new permission profile in a Gong workspace                                                                                                         | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/create-permission-profile.ts)              |
| `delete-crm-integration`                 | Delete a registered generic CRM integration from Gong.                                                                                                      | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/delete-crm-integration.ts)                 |
| `delete-data-for-email`                  | Erase all Gong data associated with an email address (GDPR / data privacy).                                                                                 | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/delete-data-for-email.ts)                  |
| `delete-data-for-phone`                  | Erase all Gong data associated with a phone number (GDPR / data privacy)                                                                                    | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/delete-data-for-phone.ts)                  |
| `delete-meeting`                         | Delete a Gong meeting (Beta).                                                                                                                               | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/delete-meeting.ts)                         |
| `fetch-call-extensive-data`              | Fetch detailed Gong call data including content, interaction, and collaboration fields for specific calls.                                                  | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/fetch-call-extensive-data.ts)              |
| `fetch-call-transcripts`                 | Fetch a page of Gong call transcripts, optionally filtered by date range, workspace, or call IDs. Use the returned nextCursor to retrieve subsequent pages. | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/fetch-call-transcripts.ts)                 |
| `get-bulk-assignment-results`            | Poll the results of a bulk prospect-to-flow assignment job.                                                                                                 | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-bulk-assignment-results.ts)            |
| `get-call-media`                         | Retrieve the media download URL for a Gong call recording                                                                                                   | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-call-media.ts)                         |
| `get-call-transcript`                    | Retrieve the transcript for a single Gong call.                                                                                                             | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-call-transcript.ts)                    |
| `get-call-users-access`                  | Retrieve the list of users that have individual access to a specific call.                                                                                  | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-call-users-access.ts)                  |
| `get-call`                               | Retrieve a single call from Gong.                                                                                                                           | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-call.ts)                               |
| `get-coaching-metrics`                   | Retrieve all coaching metrics from Gong.                                                                                                                    | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-coaching-metrics.ts)                   |
| `get-crm-entities`                       | Retrieve CRM objects (accounts, contacts, deals, leads) from the Gong CRM integration.                                                                      | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-crm-entities.ts)                       |
| `get-crm-entity-schema`                  | List CRM entity schema fields registered in Gong                                                                                                            | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-crm-entity-schema.ts)                  |
| `get-crm-integration`                    | Retrieve details of the registered generic CRM integration                                                                                                  | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-crm-integration.ts)                    |
| `get-crm-request-status`                 | Check the status of an async CRM upload request.                                                                                                            | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-crm-request-status.ts)                 |
| `get-data-for-email`                     | Retrieve all Gong references associated with a specific email address.                                                                                      | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-data-for-email.ts)                     |
| `get-data-for-phone`                     | Retrieve all Gong references associated with a specific phone number.                                                                                       | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-data-for-phone.ts)                     |
| `get-entity-brief`                       | Generate an AI brief for a CRM entity using Gong's AI briefer                                                                                               | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-entity-brief.ts)                       |
| `get-flow-steps`                         | Retrieve details and steps for one or more Gong Engage flows.                                                                                               | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-flow-steps.ts)                         |
| `get-integration-settings`               | Retrieve Gong integration settings.                                                                                                                         | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-integration-settings.ts)               |
| `get-logs`                               | Retrieve Gong audit logs by type and time range.                                                                                                            | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-logs.ts)                               |
| `get-meeting-integration-status`         | Validate the Gong meeting integration status.                                                                                                               | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-meeting-integration-status.ts)         |
| `get-permission-profile`                 | Retrieve a specific Gong permission profile by ID.                                                                                                          | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-permission-profile.ts)                 |
| `get-scorecard`                          | Retrieve a single scorecard from Gong.                                                                                                                      | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-scorecard.ts)                          |
| `get-stats-activity-aggregate-by-period` | Retrieve aggregated activity statistics for users over a date range, grouped by time period.                                                                | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-stats-activity-aggregate-by-period.ts) |
| `get-stats-activity-aggregate`           | Retrieve aggregated activity statistics for defined users on a specific date.                                                                               | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-stats-activity-aggregate.ts)           |
| `get-stats-activity-day-by-day`          | Retrieve daily activity statistics for applicable users over a date range.                                                                                  | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-stats-activity-day-by-day.ts)          |
| `get-stats-activity-scorecards`          | Retrieve answered scorecard statistics for reviewed users or specific scorecards over a date range.                                                         | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-stats-activity-scorecards.ts)          |
| `get-stats-interaction`                  | Retrieve interaction statistics for users on a specific date                                                                                                | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-stats-interaction.ts)                  |
| `get-tracker`                            | Retrieve a single keyword tracker from Gong.                                                                                                                | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-tracker.ts)                            |
| `get-user-settings-history`              | Retrieve the settings change history for a specific Gong user.                                                                                              | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-user-settings-history.ts)              |
| `get-user`                               | Retrieve a single user from Gong.                                                                                                                           | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-user.ts)                               |
| `get-workspace`                          | Retrieve a single Gong workspace by ID.                                                                                                                     | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/get-workspace.ts)                          |
| `list-call-outcomes`                     | List all configured call outcomes in Gong.                                                                                                                  | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/list-call-outcomes.ts)                     |
| `list-call-transcripts`                  | List call transcripts from Gong using date-range or other filters.                                                                                          | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/list-call-transcripts.ts)                  |
| `list-calls`                             | List calls from Gong with optional date-range filters.                                                                                                      | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/list-calls.ts)                             |
| `list-flow-folders`                      | List Gong Engage flow folders                                                                                                                               | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/list-flow-folders.ts)                      |
| `list-flow-prospects`                    | List prospects and their current flow assignment status.                                                                                                    | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/list-flow-prospects.ts)                    |
| `list-flows`                             | List Gong Engage flows owned by a specific user.                                                                                                            | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/list-flows.ts)                             |
| `list-library-folder-content`            | List calls within a specific Gong library folder                                                                                                            | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/list-library-folder-content.ts)            |
| `list-library-folders`                   | Retrieve all Gong library folders.                                                                                                                          | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/list-library-folders.ts)                   |
| `list-permission-profile-users`          | List all users attached to a specific Gong permission profile                                                                                               | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/list-permission-profile-users.ts)          |
| `list-permission-profiles`               | List all permission profiles in a Gong workspace.                                                                                                           | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/list-permission-profiles.ts)               |
| `list-scorecards`                        | List scorecards from Gong                                                                                                                                   | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/list-scorecards.ts)                        |
| `list-tasks`                             | List tasks for the current Gong user.                                                                                                                       | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/list-tasks.ts)                             |
| `list-trackers`                          | List keyword trackers from Gong.                                                                                                                            | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/list-trackers.ts)                          |
| `list-users`                             | List users from Gong                                                                                                                                        | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/list-users.ts)                             |
| `list-workspaces`                        | List all workspaces in the Gong account.                                                                                                                    | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/list-workspaces.ts)                        |
| `post-digital-interaction`               | Post a digital interaction event to Gong (web visits, email opens, content engagement, etc.)                                                                | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/post-digital-interaction.ts)               |
| `register-crm-integration`               | Register a generic CRM integration with Gong                                                                                                                | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/register-crm-integration.ts)               |
| `remove-call-users-access`               | Remove individual user access from specific calls                                                                                                           | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/remove-call-users-access.ts)               |
| `remove-prospects-from-flow`             | Unassign prospects from an Engage flow by their flow instance IDs.                                                                                          | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/remove-prospects-from-flow.ts)             |
| `unassign-flow-by-crm-id`                | Unassign prospects from an Engage flow using their CRM prospect IDs                                                                                         | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/unassign-flow-by-crm-id.ts)                |
| `update-integration-settings`            | Update Gong integration settings.                                                                                                                           | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/update-integration-settings.ts)            |
| `update-meeting`                         | Update an existing Gong meeting (Beta).                                                                                                                     | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/update-meeting.ts)                         |
| `update-permission-profile`              | Update an existing Gong permission profile.                                                                                                                 | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/update-permission-profile.ts)              |
| `update-task`                            | Update a Gong task for the current user.                                                                                                                    | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/update-task.ts)                            |
| `upload-call`                            | Create a call record in Gong from an external telephony or recording system (step 1 of the two-step ingestion flow)                                         | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/upload-call.ts)                            |
| `upload-crm-entities`                    | Upload CRM objects (accounts, contacts, deals, leads) to Gong.                                                                                              | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/upload-crm-entities.ts)                    |
| `upload-crm-entity-schema`               | Upload or update the object schema fields for a CRM entity type in Gong.                                                                                    | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/actions/upload-crm-entity-schema.ts)               |
| `call-outcomes`                          | Sync configured call outcomes from Gong.                                                                                                                    | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/syncs/call-outcomes.ts)                            |
| `call-transcripts`                       | Sync call transcripts from Gong                                                                                                                             | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/syncs/call-transcripts.ts)                         |
| `calls`                                  | Sync calls from Gong.                                                                                                                                       | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/syncs/calls.ts)                                    |
| `library-folders`                        | Sync Gong library folders                                                                                                                                   | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/syncs/library-folders.ts)                          |
| `scorecards`                             | Sync scorecards from Gong                                                                                                                                   | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/syncs/scorecards.ts)                               |
| `trackers`                               | Sync keyword trackers from Gong.                                                                                                                            | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/syncs/trackers.ts)                                 |
| `users`                                  | Sync users from Gong                                                                                                                                        | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/syncs/users.ts)                                    |
| `workspaces`                             | Sync workspaces from Gong.                                                                                                                                  | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gong/syncs/workspaces.ts)                               |

## API gotchas

* Gong rate-limits API access to 3 requests per second and 10,000 requests per day by default. Contact [Gong support](https://help.gong.io/) if you need higher limits.

***
