> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/administrative-settings/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/administrative-settings/admin-panel-options/configurations/data-store-settings.md).

# Data Store Settings

This Admin option helps to configure the Data Store settings. The Data Store settings currently provide three database types to choose from:

1. Mongo
2. Elastic
3. ClickHouse

## **Configuration Data Store with Mongo as selected DB**

* Click the ***Data Store Settings*** option from the list of Configuration and Settings option.​

<figure><img src="/files/MIi5eKALNsMJcVJQBjXM" alt=""><figcaption></figcaption></figure>

* The ***Data Store Settings*** page appears.
* Select a database type. E.g., select the ***Mongo*** option.
* Provide the following information for the Data Store Settings:
  * Server Type
  * Username
  * Password
  * IP/Host
  * Port
  * Database Name
* Click the ***Validate*** option.

<figure><img src="/files/b4zaXPRmZ5ovP6M9P3FP" alt=""><figcaption></figcaption></figure>

* A notification message appears.
* The ***Save*** option gets enabled. Click the ***Save*** option to save the inserted information.

<figure><img src="/files/evUVklQ6MJGQUAu103aR" alt=""><figcaption></figcaption></figure>

* A notification message appears to confirm that the Data Store configuration for Mongo DB has been saved.

<figure><img src="/files/xGYVZ3sfb6Hfod1hEtbr" alt=""><figcaption></figcaption></figure>

## **Configuring Data Store with Elastic as selected DB**

* Click the ***Data Store Settings*** option from the list of Configuration and Settings option.

​

<figure><img src="/files/hIcXWqtHzzlR60UHtJFH" alt=""><figcaption></figcaption></figure>

* Select a Database type. E.g., select the ***Elastic DB*** option.
* The ***Data Store Settings*** page appears.
* Provide the following information for the Data Store Settings:
  * Elastic Search Cluster
  * Shards
  * Replicas
  * Date Formats
  * Elastic Search Hosts
  * Elastic Search Ports
  * Elastic Search http Ports
* Click the ***Validation*** option.

<figure><img src="/files/S9z4LyEqid1vllDFgacV" alt=""><figcaption></figcaption></figure>

* A notification message appears.
* The ***Save*** option gets enabled. Click the ***Save*** option to save the inserted information.

<figure><img src="/files/flwyL6cYekHEYktF5Xq1" alt=""><figcaption></figcaption></figure>

* A notification message appears to confirm that the Data Store configuration for Elastic has been saved.

<figure><img src="/files/mPeKCpqLywooPJgvL3H8" alt=""><figcaption></figcaption></figure>

## **Configuring Data Store with ClickHouse as selected DB**&#x20;

* Click the ***Data Store Settings*** option from the list of Configuration and Settings option.​

<figure><img src="/files/MIi5eKALNsMJcVJQBjXM" alt=""><figcaption></figcaption></figure>

* The ***Data Store Settings*** page appears.
* Select a database type. E.g., select the ***ClickHouse*** option.
* Provide the following information for the Data Store Settings:
  * Username
  * Password
  * IP/Host
  * Port
  * Database Name
  * SSL Type - Select one option ***NON SSL*** or ***SSL***
  * TCP Port
* Click the ***Validate*** option.

<figure><img src="/files/UKEKjWaKDQq2IOnBTBuW" alt=""><figcaption><p><em><strong>Configuration fields with NON SSL type configuration</strong></em></p></figcaption></figure>

<figure><img src="/files/la2MUdbJvhLG9jjZO3fV" alt=""><figcaption><p><em><strong>Configuration fields with SSL type configuration</strong></em></p></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note</mark>: The user needs to provide the **Upload Key*** ***while configuring the Data Store Settings with SSL** for the ClickHouse database.*
{% endhint %}

* A notification message appears.
* The ***Save*** option gets enabled. Click the ***Save*** option to save the inserted information.

<figure><img src="/files/jSYugeNkvA0iLjLpiPj0" alt=""><figcaption></figcaption></figure>

* A notification message appears to confirm that the Data Store configuration for ClickHouse DB has been saved.

<figure><img src="/files/ZnJPJWTNqxk5X06ogDjj" alt=""><figcaption></figcaption></figure>
