> For the complete documentation index, see [llms.txt](https://docs.monokot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.monokot.io/tags-and-devices/influxdb-connectivity-connector/how-to-configure-for-influxdb-2.x.md).

# How to: Configure for InfluxDB 2.x

Since the driver is designed for InfluxDB 1.x, some additional steps need to be performed to work with InfluxDB 2.x.

On the InfluxDB 2.x side, you need to create authentication (Basic Auth) using the Influx CLI. To do this, run the following command and type the password for NEW\_USER\_NAME\_V1:

```powershell
influx v1 auth create --org-id YOUR_ORG_ID  --read-bucket YOUR_BUCKET_ID --write-bucket YOUR_BUCKET_ID --username NEW_USER_NAME_V1 --token YOUR_OPERATOR_TOKEN --host http://localhost:8086
```

For the InfluxDB connector, specify the following settings:

<figure><img src="https://4282443477-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3cwznMbQcEQxtnjiRDYX%2Fuploads%2F3DJdSdzXr7A3vpUyKfhk%2Fconnector-1.jpg?alt=media&amp;token=1a265fc8-0e31-472e-ad77-4c18bb34057c" alt="influxdb-con-1"><figcaption></figcaption></figure>

and then specify the credentials:

<figure><img src="https://4282443477-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3cwznMbQcEQxtnjiRDYX%2Fuploads%2Fm4EfFFYmQ6HqiFVi28dU%2Fconnector-2.jpg?alt=media&amp;token=729022fd-4a35-44ac-911c-2726acfff3eb" alt="influxdb-con-2"><figcaption></figcaption></figure>

In order for the changes to take effect on the server, click the Sync button.
