Skip to content

gclouduniverse/jupyterlab-gcloud-auth

Repository files navigation

JupyterLab extension that allows to use AI Platform Notebooks with personal credentials

In short, it works like this:

Installation

This extension includes both a notebook server extension and a lab extension. In order to use it, you must enable both of them.

To install the server extension, run the following in your terminal:

pip3 install jupyterlab-gcloud-auth

To install the lab extension, run:

jupyter labextension install jupyterlab-gcloud-auth

Don't forget to restart jupyter:

sudo service jupyter restart

and refresh the browser tab.

Installation For Development (Remote From Local Machine)

# INSTANCE_NAME - name of either AI Platform Notebook instance or Cloud AI Deep Learning VM
git clone https://github.com/gclouduniverse/jupyterlab-gcloud-auth.git
cd jupyterlab-gcloud-auth
./deploy.sh INSTANCE_NAME