You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/enable-notebooks.md
+25-11Lines changed: 25 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,28 +9,30 @@ ms.author: dech
9
9
10
10
---
11
11
12
-
# Enable notebooks in Azure Cosmos DB account
12
+
# Enable notebooks for Azure Cosmos DB accounts
13
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.
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 for your Azure Cosmos DB account.
15
15
16
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/).
17
+
1. Sign into the [Azure portal](https://portal.azure.com/).
1. On the **Create Azure Cosmos DB Account** page, select **Notebooks**.
22
20
23
21

24
22
1. Select **Review + create**. You can skip the **Network** and **Tags** option.
25
23
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**.
1. Select **Go to resource** to go to the Azure Cosmos DB account page.
29
27
30
-

28
+

31
29
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.
30
+
1. Navigate to the **Data Explorer** pane. You should now see your notebooks workspace.
31
+
32
+

33
+
34
+
## Enable notebooks in an existing Cosmos account
35
+
You can also enable notebooks on existing accounts. This step needs to be done only once per account.
34
36
35
37
1. Navigate to the **Data Explorer** pane in your Cosmos account.
36
38
1. Select **Enable Notebooks**.
@@ -39,13 +41,25 @@ After enabling notebooks on a new account, you will need to create your notebook
39
41
1. This will prompt you to create a new notebooks workspace. Select **Complete setup.**
40
42
1. Your account is now enabled to use notebooks!
41
43
42
-
## Create your first notebook
44
+
## Create and run your first notebook
45
+
46
+
To verify that you can use notebooks, select one of notebooks under Sample Notebooks. This will save a copy of the notebook to your workspace and open it.
43
47
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.
48
+
In this example, we'll use **GettingStarted.ipynb**.
1. Select the first code cell that contains Python code.
54
+
1. Select **Run** to run the cell. You can also use **Shift + Enter** to run the cell.
55
+
1. Refresh the resource pane to see the database and container that has been created.
56
+
57
+

58
+
48
59
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
60
50
61

51
62
63
+
## Next steps
64
+
65
+
- Learn about the benefits of [Azure Cosmos DB Jupyter notebooks](cosmosdb-jupyter-notebooks.md)
0 commit comments