> ## Documentation Index
> Fetch the complete documentation index at: https://nango-wari-integration-config-credentials-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Granola

> Integrate your application with the Granola API

## 🚀 Quickstart

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

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

  <Step title="Call the Granola API">
    Let's make your first request to the Granola API. Replace the placeholders below with your [Environment API key](/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/v1/notes?page_size=10" \
          -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: '/v1/notes',
            params: { page_size: 10 },
            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>

## 📚 Granola Integration Guides

Nango-maintained guides for common use cases.

* [How to obtain your Granola API key](/api-integrations/granola/connect)\
  Get your Granola API key to connect it to Nango

* [How to set up webhooks with Granola on Nango](/api-integrations/granola/webhooks)\
  Receive real-time note events from Granola in your app

## 🧩 Pre-built syncs & actions for Granola

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

### Others

| Function name    | Description                                                                                                                            | Type                                           | Source code                                                                                                            |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| `get-note`       | Retrieve a single meeting note, optionally with its transcript inlined.                                                                | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/granola/actions/get-note.ts)       |
| `get-transcript` | Retrieve a meeting transcript in pages - use when get-note's inline transcript is too large, or to page through a transcript directly. | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/granola/actions/get-transcript.ts) |
| `list-folders`   | List folders, including their parent/child hierarchy.                                                                                  | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/granola/actions/list-folders.ts)   |
| `list-notes`     | List meeting notes visible to the API key, with date and folder filtering.                                                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/granola/actions/list-notes.ts)     |
| `folders`        | Sync folders (id, name, parent hierarchy)                                                                                              | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/granola/syncs/folders.ts)          |
| `notes`          | Sync meeting notes (metadata, summary, attendees, folder/space membership - not the transcript)                                        | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/granola/syncs/notes.ts)            |

***
