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

<CardGroup cols={3}>
  <Card title="Data Connectors" icon="plug" href="#data-connectors">
    Connect cloud sources like Google Drive, Zoom, S3, and more.
  </Card>

  <Card title="Local Files" icon="arrow-up-from-bracket" href="#local-files">
    Add video files from your computer.
  </Card>

  <Card title="Public URLs" icon="link" href="#public-urls">
    Paste Loom, YouTube, TikTok, or any HTTP URL.
  </Card>
</CardGroup>

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

<CardGroup cols={3}>
  <Card title="Google Drive" icon="google-drive" href="/data-connectors/google-drive" />

  <Card title="Dropbox" icon="dropbox" href="/data-connectors/dropbox" />

  <Card title="Zoom" icon="video" href="/data-connectors/zoom" />

  <Card title="Gong" icon="phone" href="/data-connectors/gong" />

  <Card title="Grain" icon="film" href="/data-connectors/grain" />

  <Card title="AWS S3" icon="aws" href="/data-connectors/aws-s3" />

  <Card title="Google Cloud Storage" icon="google" href="/data-connectors/google-cloud-storage" />

  <Card title="Recall.ai" icon="circle-dot" href="/data-connectors/recall" />
</CardGroup>

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

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

<Frame>
  <img src="https://mintcdn.com/aviary/vr_AhY8NsU7HK1Pd/images/overview-page.png?fit=max&auto=format&n=vr_AhY8NsU7HK1Pd&q=85&s=6166cd60c302215bd6705af428ecfda5" alt="Data Connectors page showing available connectors" width="2822" height="2122" data-path="images/overview-page.png" />
</Frame>

[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](/core-concepts/entity-collection) in two ways:

<Tabs>
  <Tab title="Dashboard">
    Browse your connected source and pick which videos to add to a collection. Best for quick testing and one-off imports.

    <Frame>
      <img src="https://mintcdn.com/aviary/vr_AhY8NsU7HK1Pd/images/connected-connectors.png?fit=max&auto=format&n=vr_AhY8NsU7HK1Pd&q=85&s=e3e80b16d960ae807041ef9a6c98bd88" alt="Connected data connectors with Select Videos button" width="1934" height="640" data-path="images/connected-connectors.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/aviary/vr_AhY8NsU7HK1Pd/images/select-videos-flow.png?fit=max&auto=format&n=vr_AhY8NsU7HK1Pd&q=85&s=c987604bb11ec35a59e5fed618d7db75" alt="Select videos to analyze from Google Drive" width="2682" height="2122" data-path="images/select-videos-flow.png" />
    </Frame>
  </Tab>

  <Tab title="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>` · `dropbox://<path>` or Dropbox file share links

    See each connector's page for its full URI format and examples.
  </Tab>
</Tabs>

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

<CardGroup cols={2}>
  <Card title="Search" icon="magnifying-glass" href="/core-concepts/search">
    Find specific moments across your videos
  </Card>

  <Card title="Chat" icon="message" href="/deep-dives/chat-completion">
    Ask questions across your collections
  </Card>

  <Card title="Extract" icon="table" href="/core-concepts/extract">
    Pull structured data from video content
  </Card>

  <Card title="Describe" icon="align-left" href="/core-concepts/describe">
    Get rich descriptions of your videos
  </Card>
</CardGroup>

### Local Files

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

**Add on the dashboard:**

<Frame>
  <img src="https://mintcdn.com/aviary/vr_AhY8NsU7HK1Pd/images/local-files-modal.png?fit=max&auto=format&n=vr_AhY8NsU7HK1Pd&q=85&s=6e7092384a084a9e13678b1d24894014" alt="Add local files modal" width="2682" height="2122" data-path="images/local-files-modal.png" />
</Frame>

**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](/data-connectors/overview#data-connectors) or the [API/SDK](/api-reference/endpoint/files/post) 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 →](/data-connectors/public-urls)

```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 →](/data-connectors/tiktok)

<Frame>
  <img src="https://mintcdn.com/aviary/vr_AhY8NsU7HK1Pd/images/tiktok-modal.png?fit=max&auto=format&n=vr_AhY8NsU7HK1Pd&q=85&s=3a35782aa430ef3b372633429938f62b" alt="Add TikTok videos modal" width="2682" height="2122" data-path="images/tiktok-modal.png" />
</Frame>

#### YouTube URLs

Paste public YouTube video URLs to add them to a collection. [Learn more →](/data-connectors/youtube)

<Warning>
  YouTube URLs are processed as **audio only**. For full video analysis
  including visual descriptions, add the original video file instead.
</Warning>

<Frame>
  <img src="https://mintcdn.com/aviary/vr_AhY8NsU7HK1Pd/images/youtube-modal.png?fit=max&auto=format&n=vr_AhY8NsU7HK1Pd&q=85&s=62ba30f33f572d3a631fc669df5e3bfd" alt="Add YouTube videos modal" width="2822" height="2122" data-path="images/youtube-modal.png" />
</Frame>

***

#### Loom URLs

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

## Next Steps

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

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