Enabling the DataBrew extension for JupyterLab
After you have a secure installation of JupyterLab with extensions enabled, install the DataBrew extension so you can run DataBrew in your notebook.
To install the extensions for DataBrew (console)
-
To start JupyterLab, run the following command at the command prompt.
jupyter lab
-
On the JupyterLab webpage, choose the Extension Manager icon in the menu at left.
-
Search for the DataBrew extension by entering "
brew
" for Search at top left. -
Locate aws_glue_databrew_jupyter in the list, but don't click it. If you click the highlighted name of the extension, a new browser window opens with the aws_glue_databrew_jupyter
page on GitHub. -
To install the DataBrew extension, choose one of the following:
-
At the command line, run
jupyter labextension install aws_glue_databrew_jupyter
. -
Choose Install at the bottom of the extension card, underneath "aws_glue_databrew_jupyter" in gray lettering.
DataBrew extension is compatible with JupyterLab version 1.2 and 2.x.
-
-
To verify that it installed, run
jupyter labextension list
. The output should look something like the following.JupyterLab v2.2.9 Known labextensions: app dir: /usr/local/share/jupyter/lab # varies by OS aws_glue_databrew_jupyter v1.0.1 enabled OK
-
Rebuild JupyterLab by using one of the following:
-
At the command prompt, run
jupyter lab build
. -
In the webpage, choose Rebuild at top left.
-
-
When the build is complete, do one of the following:
-
At the command prompt, run
jupyter lab
. -
In the webpage, choose Reload on the Build Complete message.
-
-
In the JupyterLab webpage, close the Extension Manager by choosing its icon in the menu at left.
To open the extension, choose Launch Amazon Glue DataBrew from the Other section on the Launcher tab. The extension uses your current Amazon CLI configuration for access keys and Amazon region settings.
After you complete the setup, you can use the Amazon Glue DataBrew tab to interact with DataBrew from within JupyterLab.