Accessing the JupyterLab IDE in Cloud Pak for Data (CP4D)

Puja Javalagi
Nov 17, 2022

--

If you are a Cloud Pak for Data user, you have the option to use either Jupyter Notebooks or JupyterLab to interact with your code, depending on your needs. The instructions below will show you how to get access to the JupyterLab interface within Cloud Pak for Data.

As a note, please refer to the captions of the images for instructions.

Step 1: Create a New Project

Click on “New project”
Click on “Next”
Select “Create a project integrated with a Git Repository”
Define “Name”, “Description”, and select Default Git Integration, then select “New Token”
Select “Github Enterprise” for Platform, and go to Github to get your access token

Step 2: Create a new token (in Github)

Go to your enterprise github and select “Settings”
Under Account settings, scroll down and select Developer settings
Select Personal Access Tokens
Select “Generate new token”
Name your token under “Note”, then check the boxes for repo and admin:org, then Generate Token
Copy your personal access token, you won’t be able to see it again!

Step 3: Return to Cloud Pak for Data

Paste your generated token into “Access token”, and add your Domain URL
Add a name for your token, then hit “Continue”
Now you can select the token you created!
If you don’t have a repo, create one
Copy the repo HTTPS link
Paste into “Repository URL”, wait for it to give you a check, then in Branch, select “master”
Go to Launch IDE and select JupyterLab
Select the appropriate environment

And you’re in!

--

--

Puja Javalagi
Puja Javalagi

No responses yet