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

# How It Works

> Connect your data sources to add files to Cloudglue

Cloudglue connects directly to platforms where your videos already live.

Once connected, you can start adding videos to your Cloudglue workspace — building a structured context layer you can search, query, and build on.

## How It Works

Choose between adding files directly, or via one of our data connectors.

> [card] [Data Connectors](#data-connectors)
>
> Connect cloud sources like Google Drive, Zoom, S3, and more.

> [card] [Local Files](#local-files)
>
> Add video files from your computer.

> [card] [Public URLs](#public-urls)
>
> Paste Loom, YouTube, TikTok, or any HTTP URL.

### Data Connectors

Data connectors give Cloudglue secure access to your cloud video sources, making it easy to add many files at a time and optimized for large files.

Connect once, then add videos anytime.

#### Supported Data Connectors

We're continuously adding more:

> [card] [Google Drive](https://docs.cloudglue.dev/data-connectors/google-drive.md)

> [card] [Dropbox](https://docs.cloudglue.dev/data-connectors/dropbox.md)

> [card] [Zoom](https://docs.cloudglue.dev/data-connectors/zoom.md)

> [card] [Gong](https://docs.cloudglue.dev/data-connectors/gong.md)

> [card] [Grain](https://docs.cloudglue.dev/data-connectors/grain.md)

> [card] [AWS S3](https://docs.cloudglue.dev/data-connectors/aws-s3.md)

> [card] [Google Cloud Storage](https://docs.cloudglue.dev/data-connectors/google-cloud-storage.md)

> [card] [Recall.ai](https://docs.cloudglue.dev/data-connectors/recall.md)

> [card] [iconik](https://docs.cloudglue.dev/data-connectors/iconik.md)

> [!NOTE]
>
> Need a connector that's not listed? [Contact our
> team](mailto:support@cloudglue.dev) to discuss adding support for your data
> source.

#### 1. Select the connector you'd like to grant Cloudglue access to

![Data Connectors page showing available connectors](https://mintcdn.com/aviary/vr_AhY8NsU7HK1Pd/images/overview-page.png?fit=max\&auto=format\&n=vr_AhY8NsU7HK1Pd\&q=85\&s=6166cd60c302215bd6705af428ecfda5)

[Go to Data Connectors →](https://app.cloudglue.dev/home/data-connectors)

#### 2. Authenticate

Each connector has its own authentication steps. See the individual connector pages above for setup instructions.

#### 3. You're ready to add videos!

Once connected, you can add videos to a [collection](https://docs.cloudglue.dev/core-concepts/entity-collection.md) in two ways:

> [tab] Dashboard
>
> Browse your connected source and pick which videos to add to a collection. Best for quick testing and one-off imports.
>
> ![Connected data connectors with Select Videos button](https://mintcdn.com/aviary/vr_AhY8NsU7HK1Pd/images/connected-connectors.png?fit=max\&auto=format\&n=vr_AhY8NsU7HK1Pd\&q=85\&s=e3e80b16d960ae807041ef9a6c98bd88)
>
> ![Select videos to analyze from Google Drive](https://mintcdn.com/aviary/vr_AhY8NsU7HK1Pd/images/select-videos-flow.png?fit=max\&auto=format\&n=vr_AhY8NsU7HK1Pd\&q=85\&s=c987604bb11ec35a59e5fed618d7db75)

> [tab] API/SDK
>
> Use connector URIs directly in any Cloudglue API call. Best for production pipelines and bulk imports.
>
> ```javascript theme={null}
> const fileInfo = await client.collections.addVideoByUrl({
>   collectionId: 'my-collection-id',
>   url: 'gdrive://file/1a2b3c4d5e6f',
>   params: {},
> });
> ```
>
> Supported URI formats: `gdrive://file/<id>` or `drive.google.com` file links · `s3://<bucket>/<path>` · `zoom://uuid/<id>` or Zoom recording-detail links · `gong://call/<id>` · `grain://recording/<id>` · `iconik://asset/<id>` · `dropbox://<path>` or Dropbox file share links
>
> See each connector's page for its full URI format and examples.

#### 4. Start working with your media

That's it! You can now start working with your videos — chat across them, search for specific moments, extract structured data, and more. The possibilities are endless. :)

```javascript theme={null}
// Ask a question across all videos in a collection
const response = await client.collections.chat({
  collectionId: 'my-collection-id',
  messages: [
    {
      role: 'user',
      content: "What topics were discussed in this week's meetings?",
    },
  ],
});
console.log(response.message.content);
```

Explore what you can do:

> [card] [Search](https://docs.cloudglue.dev/core-concepts/search.md)
>
> Find specific moments across your videos

> [card] [Chat](https://docs.cloudglue.dev/deep-dives/chat-completion.md)
>
> Ask questions across your collections

> [card] [Extract](https://docs.cloudglue.dev/core-concepts/extract.md)
>
> Pull structured data from video content

> [card] [Describe](https://docs.cloudglue.dev/core-concepts/describe.md)
>
> Get rich descriptions of your videos

### Local Files

Add video files (MP4, MOV, WEBM) directly from your computer. [Learn more →](https://docs.cloudglue.dev/data-connectors/local-files.md)

**Add on the dashboard:**

![Add local files modal](https://mintcdn.com/aviary/vr_AhY8NsU7HK1Pd/images/local-files-modal.png?fit=max\&auto=format\&n=vr_AhY8NsU7HK1Pd\&q=85\&s=6e7092384a084a9e13678b1d24894014)

**Add with the API/SDK:**

```javascript theme={null}
const { data } = await client.files.uploadFile({ file });
await client.collections.addVideo(collectionId, data.id);
```

For bulk imports or larger files, use a [data connector](https://docs.cloudglue.dev/data-connectors/overview.md#data-connectors) or the [API/SDK](https://docs.cloudglue.dev/api-reference/endpoint/files/post.md) directly.

### Public URLs

You can also add videos by pasting a URL — no data connector setup needed.

#### HTTP URLs

Add any publicly accessible video via its URL. [Learn more →](https://docs.cloudglue.dev/data-connectors/public-urls.md)

```javascript theme={null}
const result = await client.collections.addVideoByUrl({
  collectionId: 'my-collection-id',
  url: 'https://example.com/video.mp4',
  params: {},
});
```

#### TikTok URLs

Paste public TikTok video URLs to add them to a collection. Full multimodal analysis (audio, visuals, and text). [Learn more →](https://docs.cloudglue.dev/data-connectors/tiktok.md)

![Add TikTok videos modal](https://mintcdn.com/aviary/vr_AhY8NsU7HK1Pd/images/tiktok-modal.png?fit=max\&auto=format\&n=vr_AhY8NsU7HK1Pd\&q=85\&s=3a35782aa430ef3b372633429938f62b)

#### YouTube URLs

Paste public YouTube video URLs to add them to a collection. [Learn more →](https://docs.cloudglue.dev/data-connectors/youtube.md)

> [!WARNING]
>
> YouTube URLs are processed as **audio only**. For full video analysis
> including visual descriptions, add the original video file instead.

![Add YouTube videos modal](https://mintcdn.com/aviary/vr_AhY8NsU7HK1Pd/images/youtube-modal.png?fit=max\&auto=format\&n=vr_AhY8NsU7HK1Pd\&q=85\&s=62ba30f33f572d3a631fc669df5e3bfd)

***

#### Loom URLs

Paste public Loom share video URLs to add them to a collection. Full multimodal analysis (audio, visuals, and text). [Learn more →](https://docs.cloudglue.dev/data-connectors/loom.md)

## Next Steps

Ready to get started? Dive into the guides for each method:

* **[Data Connectors](https://docs.cloudglue.dev/data-connectors/overview.md#supported-data-connectors)** — Set up Google Drive, Zoom, S3, Gong, and more. Each guide walks you through authentication and your first import.
* **[Public URLs](https://docs.cloudglue.dev/data-connectors/public-urls.md)** — Add videos from HTTP URLs, YouTube, TikTok, or Loom — just paste and go.
* **[Local Files](https://docs.cloudglue.dev/data-connectors/local-files.md)** — Add video files directly from your computer, or use the API/SDK for programmatic uploads.


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