---
title: Configure the Timeseries DB
slug: manufacturing-connect-edge/configure-the-timeseries-db
docTags: 
createdAt: 2023-05-08T18:12:44.000Z
---

You can configure the Timeseries DB by navigating to **DataHub&#x20;**>**&#x20;Configuration**.&#x20;

You have the option of configuring an internal or external InfluxDB timeseries database.&#x20;

DataHub's Configuration module offers the following functionalities:

- Toggle the Timeseries DB
- Select and Customize Timeseries DB Source type
- Test Timeseries DB

## Toggle the Timeseries DB

You can enable or disable the Timeseries DB by using the **Timeseries DB disabled** or **Timeseries DB enabled** toggle.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/EZ15R5C1KhfLGFV_qlnwi_image.png" size="80" width="1069" height="565" caption="Timeseries DB toggle" position="center" showCaption="true"}

## Select and Customize Timeseries DB Source Type

You can change the Timeseries DB source type by using the Source type drop-down list and selecting internal or external.&#x20;

:::hint{type="info"}
**Important Notes**:&#x20;

- If you select internal, make sure to select the Enable Data Store option for the device you want to store data for. See [Enable Data Store](docId\:nm1lQfefyA-DSIfFitIty) to learn more.&#x20;
- In version 3.16.x and earlier, create a bucket called `tsdata` to *Enable Data Store* in DeviceHub.
- You may need to upgrade your Manufacturing Connect Edge version (3.16.x) if the database creation feature is not implemented immediately.
:::

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/3aClD96hc5jG0XmTZeY1r_image.png" size="80" width="1069" height="565" caption="Source type drop-down list" position="center" showCaption="true"}

If you select *external&#x20;*&#x65;nter the following details:

- **DB uri**: The IP address and port of the externally deployed influxdb database.
- **DB username&#x20;**(Optional): The username login credential of the externally deployed influxdb.
- **DB password&#x20;**(Optional): The password login credential of the externally deployed influxdb.
- **DB vendor**: The available vendors are
  - influxdb v1.x
  - influxdb v2.x
- **Description&#x20;**(Optional): A description for the externally deployed influxdb
- **Name**: The configuration name of the externally deployed influxdb

If you select *internal*, no further configurations are required.&#x20;

## Test the Timeseries DB

You can test the connectivity of the Timeseries DB by clicking **Test**.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/J9leHde_jw_L29l5b3GJy_image.png" size="80" width="1069" height="565" caption="The test Timeseries DB button" position="center" showCaption="true"}

The connected status and response message displays.

