> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-6/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/data-science-lab-6/notebook-operations/writers.md).

# Writers

This page explains the Writers tab available in the right-side panel of the Data Science Notebook.

The Data Science Lab module provides a ***Writers*** tab inside the Notebook to write the output of the data science experiments.

{% hint style="success" %}
*Check out the illustration on how to use the Writers operation inside a DS Notebook.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2Fb3gnjZ7iug6NFo3B75M3%2Fwriters%20inside%20Notebook.mp4?alt=media&token=1727d2f5-45f9-4b61-8e48-ae75053eaf28>" %}
***Writers inside a DS Notebook***
{% endembed %}

* Navigate to a code cell with dataset details.
* Run the cell.&#x20;
* The preview of the dataset appears below.

<figure><img src="https://content.gitbook.com/content/28ipFzCz8EMtVtHrBFLx/blobs/nWV7qdcD29F51fAvzIFE/image.png" alt=""><figcaption></figcaption></figure>

* Click the ***Secrets*** tab to get the registered DB secrets.
* Select the registered DB secret keys from the ***Secrets*** tab.
* Add a new code cell.&#x20;
* Get the Secret keys of the DB using the checkboxes provided for the listed Secret keys.&#x20;

<figure><img src="https://content.gitbook.com/content/28ipFzCz8EMtVtHrBFLx/blobs/LUeoN9HtufMRBnoYCZRE/image.png" alt=""><figcaption></figcaption></figure>

* Add a new code cell.
* Open the Writers section.
* Use the given checkbox to select a driver type for the writers.
* The code gets added to the newly added cell.

<figure><img src="https://content.gitbook.com/content/28ipFzCz8EMtVtHrBFLx/blobs/bBZkuKGdl6lXEvDXfR7d/image.png" alt=""><figcaption></figcaption></figure>

* Provide the Secret values for the required information of the writer such as  Username, Password, Host, Port, Database name, table name, and DataFrame.
* Run the code cell with the modified database details.
* A message below states that the DataFrame has been written to the database. The data gets written to the specified database.

<figure><img src="https://content.gitbook.com/content/28ipFzCz8EMtVtHrBFLx/blobs/oKIJ8bQubJeaTuTEHz0z/image.png" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark>* *The supported DB writers are **MYSQL**, **MSSQL**, **Oracle**, **MongoDB,*** ***PostgreSQL**, and **ClickHouse**.*
{% endhint %}
