|
| 1 | +--- |
| 2 | +title: Enable notebooks in the Azure Cosmos DB account |
| 3 | +description: Azure Cosmos DB's built-in notebooks enable you to analyze and visualize your data from within the Portal. This article describes how to enable this feature for Cosmos accounts. |
| 4 | +author: deborahc |
| 5 | +ms.service: cosmos-db |
| 6 | +ms.topic: conceptual |
| 7 | +ms.date: 09/22/2019 |
| 8 | +ms.author: dech |
| 9 | + |
| 10 | +--- |
| 11 | + |
| 12 | +# Enable notebooks in Azure Cosmos DB account |
| 13 | + |
| 14 | +Built-in Jupyter notebooks in Azure Cosmos DB enable you to analyze and visualize your data from the Azure Portal. This article describes how to enable this feature in your Azure Cosmos DB account. |
| 15 | + |
| 16 | +## Enable notebooks in a new Cosmos account |
| 17 | +> [!IMPORTANT] |
| 18 | +> Notebooks are currently only supported for new Cosmos accounts. |
| 19 | +1. Sign into the [Azure Portal](https://portal.azure.com/). |
| 20 | +1. Select **Create a resource** > **Databases** > **Azure Cosmos DB**. |
| 21 | +1. On the **Create Azure Cosmos DB Account** page, select **Notebooks**. |
| 22 | + |
| 23 | +  |
| 24 | +1. Select **Review + create**. You can skip the **Network** and **Tags** option. |
| 25 | +1. Review the account settings, and then select **Create**. It takes a few minutes to create the account. Wait for the portal page to display **Your deployment is complete**. |
| 26 | + |
| 27 | +  |
| 28 | +1. Select **Go to resource** to go to the Azure Cosmos DB account page. |
| 29 | + |
| 30 | +  |
| 31 | + |
| 32 | +## Create a new notebooks workspace |
| 33 | +After enabling notebooks on a new account, you will need to create your notebooks workspace. This needs to be done only once per account. |
| 34 | + |
| 35 | +1. Navigate to the **Data Explorer** pane in your Cosmos account. |
| 36 | +1. Select **Enable Notebooks**. |
| 37 | + |
| 38 | +  |
| 39 | +1. This will prompt you to create a new notebooks workspace. Select **Complete setup.** |
| 40 | +1. Your account is now enabled to use notebooks! |
| 41 | + |
| 42 | +## Create your first notebook |
| 43 | + |
| 44 | +To verify that you can use notebooks, select one of notebooks under Sample Notebooks, e.g. **GettingStarted.ipynb**. This will save a copy of the notebook to your workspace and open it. |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | +You can also select **New Notebook** to create a new notebook or upload an existing notebook (.ipynb) file by selecting **Upload File** from the **My Notebooks** menu. |
| 49 | + |
| 50 | + |
| 51 | + |
0 commit comments