---
title: bigtable.from() function
description: bigtable.from() retrieves data from a Google Cloud Bigtable data source.
url: https://docs.influxdata.com/flux/v0/stdlib/experimental/bigtable/from/
estimated_tokens: 355
product: Flux
version: v0
publisher: InfluxData
canonical: https://docs.influxdata.com/flux/v0/stdlib/experimental/bigtable/from/
date: '2024-04-08T16:01:02-06:00'
lastmod: '2024-04-08T16:01:02-06:00'
---

* Flux 0.45.0+

InfluxDB support

> [!Important]
> `bigtable.from()` is experimental and [subject to change at any time](/flux/v0/stdlib/experimental/#experimental-packages-are-subject-to-change).

`bigtable.from()` retrieves data from a [Google Cloud Bigtable](https://cloud.google.com/bigtable/) data source.

##### Function type signature

```js
(instance: string, project: string, table: string, token: string) => stream[A] where A: Record
```

For more information, see [Function type signatures](/flux/v0/function-type-signatures/).

## Parameters

### token

(Required)
Google Cloud IAM token to use to access the Cloud Bigtable database.

For more information, see the following:

* [Cloud Bigtable Access Control](https://cloud.google.com/bigtable/docs/access-control)
* [Google Cloud IAM How-to guides](https://cloud.google.com/iam/docs/how-to)
* [Setting Up Authentication for Server to Server Production Applications on Google Cloud](https://cloud.google.com/docs/authentication/production)

### project

(Required)
Cloud Bigtable project ID.

### instance

(Required)
Cloud Bigtable instance ID.

### table

(Required)
Cloud Bigtable table name.

## Examples

### Query Google Cloud Bigtable

```js
import "experimental/bigtable"

bigtable.from(
    token: "example-token",
    project: "example-project",
    instance: "example-instance",
    table: "example-table",
)
```

[inputs](/flux/v0/tags/inputs/)
