Skip to content
Browse docs

Connecting to InfluxDB on Layerbase Cloud

InfluxDB exposes an HTTPS endpoint and token-based access for time-series writes and queries.

Best for: Metrics, observability, sensors, operational telemetry, and time-series dashboards.

1

Open your database in the dashboard

Go to /cloud, click the database you just created, and the connection panel shows the host, port, username, password, and a ready-to-paste connection string for the engine.

Use the database name and API token from the dashboard. InfluxDB 3 has no separate organization or bucket: the database replaces the v2 bucket.

You can also download the whole set instead of copying values one at a time: the Connect dialog offers a Download .env file, ready to drop into a project under the environment variable your engine's clients expect, and a Download .txt with the labeled parameters. Both files contain the password in plain text, so keep them out of version control.

2

TLS is required, on by default

Use the https:// endpoint from Quick Connect.

InfluxDB HTTP API over HTTPS

3

Use any standard client

InfluxDB works with the normal client family for that engine. Start with the dashboard snippet, then move the same URL and credentials into your app environment.

If your client has separate direct, pooled, TLS, or HTTP options, prefer the exact variant shown in Quick Connect.

bashInfluxDB
curl -H "Authorization: Token YOUR_TOKEN" "https://your-host.cloud.layerbase.dev/ping"

InfluxDB notes

  • Keep write tokens server-side and use read-scoped tokens for dashboards.
  • Write with Line Protocol over HTTP; query with SQL or InfluxQL via the v3 HTTP API (the SDKs query over Arrow Flight/gRPC, which is not routed here - the dashboard snippets show the HTTP path).