InfluxDB setup from CLI - getting the token

I installed InfluxDB, ran the setup through CLI, and now I want to use the CLI or client libraries.
But how do I get the authentication token from here?
I know that I can manually get it in the WebUI, but I’m looking for the non-UI way and I can’t find it.


Hi @Oren_Shpigel,

When you run influx setup you can actually specify a token that you want provisioned with the cluster.

You can pass the token with --token and it can be any arbitrary string