Add InfluxDB as a data source without using the UI

Grafana version: 8.5.2
OS: Windows 10

Hi all,

I am trying to create a batch file (or other code) that will set up a connection from my InfluxDB to my Grafana.
The only way I found to implement that connection is by using the " Add a data source" on the Grafana UI.
Is it possible to add InfluxDB as a data source using CLI or some sort of configuration file (while not using the UI at all)?

Thanks in advance,
Or Shahar

Thanks for referring me to this feature, it exactly what I needed:)