> 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

Configure the database settings for your Data Stores to get saved.

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="https://155581940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSuiyPYGtTJrg3jydU0rO%2Fuploads%2FWAIkLsxPlfCqfWd3w319%2Fimage.png?alt=media&amp;token=4d883729-a638-4165-b013-df5202844f3e" 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="https://155581940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSuiyPYGtTJrg3jydU0rO%2Fuploads%2FFSUsvhpqmCxIUzg2fmf6%2Fimage.png?alt=media&amp;token=b8e01f79-0028-499e-88ea-12080f2602c2" 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="https://155581940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSuiyPYGtTJrg3jydU0rO%2Fuploads%2Favc0BsCTZf7iGcOeTSkX%2Fimage.png?alt=media&amp;token=3aaa0acc-536e-41bb-9035-6d6c4f7570b5" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://155581940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSuiyPYGtTJrg3jydU0rO%2Fuploads%2FCj8FPlfmkGvi6iECFdX2%2Fimage.png?alt=media&amp;token=b76aac96-eb61-4645-914a-da22a1749e18" 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="https://155581940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSuiyPYGtTJrg3jydU0rO%2Fuploads%2FKSaXr3yZMGRrxJbGCTZ4%2Fimage.png?alt=media&amp;token=227af306-f89b-4166-9c26-527c0dd5cb88" 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="https://155581940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSuiyPYGtTJrg3jydU0rO%2Fuploads%2FR1R1f8bQc4eBRqKe75WH%2Fimage.png?alt=media&amp;token=86bef15e-fa77-4718-817e-914412ed3afc" 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="https://155581940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSuiyPYGtTJrg3jydU0rO%2Fuploads%2FfC2pikzfMhFCl59VX5js%2Fimage.png?alt=media&amp;token=fe65f4a8-5e16-45cd-8e15-d42cf14856e7" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://155581940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSuiyPYGtTJrg3jydU0rO%2Fuploads%2FjfUxkg8C6dEj17AQoPyu%2Fimage.png?alt=media&amp;token=da7edf8e-c16d-4017-bb8b-32456537e39d" 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="https://155581940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSuiyPYGtTJrg3jydU0rO%2Fuploads%2FWAIkLsxPlfCqfWd3w319%2Fimage.png?alt=media&amp;token=4d883729-a638-4165-b013-df5202844f3e" 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="https://155581940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSuiyPYGtTJrg3jydU0rO%2Fuploads%2F6TZ4lGLnM6zveWj7AxSv%2Fimage.png?alt=media&amp;token=32771673-3334-48af-a371-58995e0a207a" alt=""><figcaption><p><em><strong>Configuration fields with NON SSL type configuration</strong></em></p></figcaption></figure>

<figure><img src="https://155581940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSuiyPYGtTJrg3jydU0rO%2Fuploads%2Fy3O8akEH01KiQqtulJM7%2Fimage.png?alt=media&amp;token=26d13f72-486a-4abe-a980-f29c765cd0bf" 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="https://155581940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSuiyPYGtTJrg3jydU0rO%2Fuploads%2F4NAnjFB3crGmB50rKYjC%2Fimage.png?alt=media&amp;token=e0184171-97a7-4b8a-96f7-2359f4dce558" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://155581940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSuiyPYGtTJrg3jydU0rO%2Fuploads%2F3zHS8HQNDspON15VE6K2%2Fimage.png?alt=media&amp;token=8c51ca1f-8a26-4448-9b6f-b67f361b5ec7" alt=""><figcaption></figcaption></figure>
