content/influxdb3/explorer/get-started.md
Get started with {{% product-name %}} by connecting it to an InfluxDB 3 instance, writing data to InfluxDB, and then querying that data. This guide walks you through each of those steps.
[!Note] This guide assumes you have already installed {{% product-name %}}.
InfluxDB 3 Explorer supports the following InfluxDB 3 products:
Navigate to Configure > Servers.
Click + Connect Your First Server.
Provide the following InfluxDB 3 server information:
Server name: A name to identify the InfluxDB 3 server you're connecting to.
Server URL: The URL used to connect to your InfluxDB 3 server.
host.docker.internal for more information.[!Note]
When to use
host.docker.internalIf your InfluxDB 3 instance is running in Docker (not the same container as Explorer), use
host.docker.internalas your server host to allow the Explorer container to connect to the InfluxDB container on the host--for example:txt"DEFAULT_INFLUX_SERVER": "http://host.docker.internal:8181"
- If both Explorer and InfluxDB are in the same Docker network, use the container name instead.
- If InfluxDB is running natively on your machine (not in Docker), use
localhost.For more information, see the Docker networking documentation.
Token: The authorization token to use to connect to your InfluxDB 3 server. We recommend using an InfluxDB 3 admin token.
[!Important]
Token permissions may limit Explorer functionality
The permissions associated with the provided token determine what databases you can access using this server configuration. InfluxDB 3 tokens with limited permissions may not be able to use some Explorer functionality.
Click Add Server.
InfluxDB 3 Explorer attempts to verify the connection. If successful, Explorer saves the server configuration and selects it as the active server.
[!Note] If you already have data in your InfluxDB 3 instance, skip to Query data from InfluxDB.
{{% product-name %}} lets you write data to InfluxDB 3 and provides multiple options. For this getting started guide, use Explorer to write one of the sample data sets to InfluxDB:
{{% product-name %}} creates a new database and then writes the sample data to the database.
{{% product-name %}} provides other ways to write data to InfluxDB, including the following:
To use {{% product-name %}} to query data from InfluxDB 3, navigate to Query Data > Data Explorer.
The Data Explorer lets you explore the schema of your database and automatically builds SQL queries by either selecting columns in the Schema Browser or by using Natural Language with the {{% product-name %}} AI integration.
For this getting started guide, use the Schema Browser to build a SQL query that returns data from the newly written sample data set.
{{% product-name %}} runs the query and returns the results in the Results pane. The Results pane provides three view options:
[!Tip] SQL query results may not be ordered by
timeand Line and Bar graph visualizations may behave unexpectedly. To order results by time:
- Ensure that you query the
timecolumn- Update the query to include an
ORDER BY timeclause.
You have successfully used {{% product-name %}} to connect to, write data to, and query data from an InfluxDB 3 instance.
{{< youtube "zW2Hi1Ki4Eo" >}}
<!-- ## Next steps TO-DO: Provide links to deeper content as we release it -->