# How to: Configure for InfluxDB 2.x

Since the data logger 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 data logger, specify the following settings:

<figure><img src="https://4282443477-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3cwznMbQcEQxtnjiRDYX%2Fuploads%2FGD4mTanit3wvB2ZjudLi%2Finfluxdb-store-1.jpg?alt=media&#x26;token=487359a7-589e-4fd4-bf30-b177e995381c" alt=""><figcaption></figcaption></figure>

then specify the credentials:

<figure><img src="https://4282443477-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3cwznMbQcEQxtnjiRDYX%2Fuploads%2FxdJy8Fkq4SZUStyrzAqQ%2Finfluxdb-store-2.jpg?alt=media&#x26;token=425688bb-b21d-4db6-876d-58a0ef012f46" alt=""><figcaption></figcaption></figure>

and then disable the DDL settings:

<figure><img src="https://4282443477-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3cwznMbQcEQxtnjiRDYX%2Fuploads%2FSWnmXoL31ZrnlVDOmucB%2Finfluxdb-store-3.jpg?alt=media&#x26;token=00f76785-95a1-4de8-bf7c-eca6d96b029d" alt=""><figcaption></figcaption></figure>

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