---
title: Get started with Flux and InfluxDB
description: Get started with Flux, the functional data scripting language, and learn the basics of writing a Flux query that queries InfluxDB.
url: https://docs.influxdata.com/influxdb/v2/query-data/get-started/
estimated_tokens: 533
product: InfluxDB OSS v2
version: v2
---

# Get started with Flux and InfluxDB

This page documents an earlier version of InfluxDB OSS. [InfluxDB 3 Core](/influxdb3/core/) is the latest stable version.

#### API token hashing is enabled by default in InfluxDB OSS 2.9.0

Stronger token security: tokens are stored as hashes on disk, so a copy of the database file doesn’t expose usable tokens. Existing tokens are hashed on first startup and the original strings can’t be recovered afterward — **capture any plaintext tokens you still need before you upgrade**.

For more information, see [Token hashing](/influxdb/v2/admin/tokens/#token-hashing).

Flux is InfluxData’s functional data scripting language designed for querying, analyzing, and acting on data.

These guides walks through important concepts related to Flux and querying time series data from InfluxDB using Flux.

## Tools for working with Flux

The [Execute queries](/influxdb/v2/query-data/execute-queries) guide walks through the different tools available for querying InfluxDB with Flux.

## Before you start

To get a basic understanding of the Flux data model and syntax, see [Get started with Flux](/flux/v0/get-started/) in the [Flux documentation](/flux/v0/).

[Query InfluxDB with Flux](/influxdb/v2/query-data/get-started/query-influxdb/)

#### Related

-   [Get started with Flux](/flux/v0/get-started/)
-   [Flux documentation](/flux/v0/)
-   [Flux standard library](/flux/v0/stdlib/)

[query](/influxdb/v2/tags/query/) [flux](/influxdb/v2/tags/flux/) [get-started](/influxdb/v2/tags/get-started/)
