> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-4/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-4/repo-sync-project/tabs-for-a-data-science-lab-project/tabs-for-tensorflow-and-pytorch-environment/notebook/notebook-page/.ipynb-cells.md).

# .ipynb Cells

Learn steps to add .ipynb file and use it.

These cells contain explanatory text (Markdown), executable code,  and BDB Assist cells and their output.&#x20;

* Navigate to the Notebook tab for a repo sync project.
* Open a .ipynb file from the left side menu.
* The user can use the ***Add pre-cell*** icon to add a new code cell at the beginning of the .ipynb file.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FHZiShDBp6vkNvqd6IpXG%2Fimage.png?alt=media&amp;token=19298629-2f44-4f7d-adb8-b1d74bdd2279" alt=""><figcaption></figcaption></figure>

* You can add new cells by using the **+Code**, **+Markdown,** and **+Assist** options given at the bottom of the cell.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FNBsJ9djTjHpwOFJCMM1s%2Fimage.png?alt=media&amp;token=68d8a822-2384-4dac-927d-4a9f2c003911" alt=""><figcaption></figcaption></figure>

## Saving as Notebook Notification

A dialog box opens each time to save the recent changes from the user while closing the selected opened Notebook at any given time. The user can click the ***Yes*** option to save the Notebook.

* Navigate to an opened Notebook and click the close icon provided to close the Notebook infrastructure.
* The ***Save as Notebook*** dialog box opens.
* Click the ***Yes*** option.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FM8pKMNY44tmE1PHjndbo%2Fimage.png?alt=media&amp;token=83057739-6e33-45d2-b77c-9d2ff3ac09f7" alt=""><figcaption><p><em><strong>Save as Notebook dialog box</strong></em></p></figcaption></figure>

* The current Notebook gets closed and a notification message appears to assure the user that all the recent changes are saved.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FcFR3UJ3CGl2vPOYbC7Lf%2Fimage.png?alt=media&amp;token=8747d23d-32f8-4581-a3be-55f3a030d889" alt=""><figcaption></figcaption></figure>

{% hint style="info" %} <mark style="color:green;">Please Note:</mark> *Refer to the* [***Data Science Lab Quick Start Flow*** ](https://docs.bdb.ai/data-science-lab-4/data-science-lab-quick-start-flow)*page to get an overview of the **Data Science Lab** module in a nutshell.* ​​​
{% endhint %}
