# Sharing a Notebook

{% hint style="success" %}
*Check out the given walk-through on how to share a Notebook.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F8AlgRudh7HmT32wNalE0%2FShare%20Notebook%20(PySpark).mp4?alt=media&token=678c3063-596a-4157-9aa1-54e5f6a494f1>" %}
***Sharing a Notebook***
{% endembed %}

* Navigate to the ***Notebook*** tab for a DS Lab project.
* Select a Notebook from the list.
* Click the ***Share*** icon.

<figure><img src="https://content.gitbook.com/content/1QeOywZjV1cHo55cMW8u/blobs/ZB4LcW4jzhY99jRny43X/image.png" alt=""><figcaption><p><em><strong>Share option given for a Notebook</strong></em></p></figcaption></figure>

* The ***Share Notebook*** page opens.
* Select a tab out of ***USER***, ***USER GROUP***, and ***EXCLUDE USER*** tabs.
* Search for a specific user or user group to share the Notebook.
* Select a User or user group from the respective tabs (as displayed in the given image for the USER tab).
* Use the single arrow mark to move the user (By selecting the icon containing both the arrows will move all the users).

<figure><img src="https://content.gitbook.com/content/1QeOywZjV1cHo55cMW8u/blobs/n6rb0SWhZe6y1I1baUPz/image.png" alt=""><figcaption></figcaption></figure>

* The selected user or user group will get moved to the right hand side box.
* Click the ***Save*** option.

<figure><img src="https://content.gitbook.com/content/1QeOywZjV1cHo55cMW8u/blobs/xw0okCK1AmhqBYuGxoo9/image.png" alt=""><figcaption><p><em><strong>the</strong></em> <em><strong>Selected user to share a Notebook</strong></em></p></figcaption></figure>

* A notification message appears, and the Notebook gets shared.

<figure><img src="https://content.gitbook.com/content/1QeOywZjV1cHo55cMW8u/blobs/EMz6EZqoHG2AWGxvcIbk/image.png" alt=""><figcaption><p><em><strong>Notification message when a Notebook gets shared</strong></em></p></figcaption></figure>

* Login to the Platform using the credentials of the user to whom the Notebook is shared and navigate to the ***DS Lab*** module.
* The ***Shared Project*** gets indicated as shared in the Project list.&#x20;
* Click the shared project to open the **Notebook** tab. The Shared Notebook gets listed in the Notebook list.

<figure><img src="https://content.gitbook.com/content/1QeOywZjV1cHo55cMW8u/blobs/dja1HAYyuWfEIAkr6cRd/image.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/1QeOywZjV1cHo55cMW8u/blobs/EHz46buuLGrAz9GZZn16/image.png" alt=""><figcaption><p><em><strong>Accessing a Shared Project</strong></em> </p></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark>*&#x20;

* *The **Project** gets shared by default with the concerned **Notebook** while using the **Share** function for a Notebook.*

* *The **Shared Project** even if it is shared by default with a Notebook **remains*** ***Active by default** for the user to access and open the Notebook tab provided inside it.*
  {% endhint %}

* Access the shared ***Notebook*** from the Notebook tab.

<figure><img src="https://content.gitbook.com/content/1QeOywZjV1cHo55cMW8u/blobs/bBH2n4NDDuhyFW80eCfk/image.png" alt=""><figcaption><p><em><strong>Accessing the</strong></em> <em><strong>Shared Notebook inside a Shared Project</strong></em></p></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark>*

1. The user with whom the project has been shared appears in the right-side box.
2. If the project is shared with a user group, then all the users under that group appear under the right-side box.
3. If the ***EXCLUDE USER*** tab is selected the user gets excluded from the rights to access the Notebook.
4. A ***Shared Project*** will not have permissions to ***Share***, ***Edit,*** ***Delete or creating versions of it*** by the user to whom it has been shared.
5. A ***Shared Notebook*** will not have permissions to ***Share*** or ***Delete*** by the user to whom it has been shared, but ***Export***, ***Register***, ***Push into VCS,*** and ***Pull from VCS*** actions are available for a shared Notebook.
6. *Refer 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 nutshell.*&#x20;
   {% endhint %}
