Access influxdb from ESP32


I installed the influxdb addon in homeassistant.
Now want to write some sensor data from my ESP32 to influxdb.
I need to know if I have to change influxdb configuration to give my ESP32 permission to write into the influxdb?
If yes how do I do that please?
And how can I check if the connection works fine?
Can I use a command line tool from a PC to test the influxdb accepts input from external device?