4.2 GitHub Notebooks
Oracle Machine Learning UI supports direct interaction of Oracle Machine Learning Notebooks with your external GitHub repositories. You can now directly import notebooks from your GitHub repositories.
- Create GitHub Credentials
You must have separate credentials to connect to your GitHub repositories. The credentials are created and securely stored in the Autonomous AI Database. To connect to your GitHub repositories that are marked private, you require credentials containing the necessary information such as name, email, personal access token and so on. - Clone and Access your GitHub Notebook
To clone and access your GitHub notebook in Oracle Machine Learning UI, you must import the notebook from your GitHub repository. When you import the notebook, it clones the notebook and makes it available both on the Notebooks listing page and GitHub Notebooks listing page in Oracle Machine Learning UI. - Edit and Sync your GitHub Notebook
You can update remote changes in your notebooks and also upload local changes in the notebooks back to your GitHub repository using the Version Control options—Pull changes and Push & commit in OML notebook editor to synchronize the cloned notebook with your GitHub repository copy of the notebook. - Manage GitHub Notebooks
This page lists all the notebooks that you have cloned from a remote GitHub repository.
Parent topic: OML Notebooks
4.2.1 Create GitHub Credentials
You must have separate credentials to connect to your GitHub repositories. The credentials are created and securely stored in the Autonomous AI Database. To connect to your GitHub repositories that are marked private, you require credentials containing the necessary information such as name, email, personal access token and so on.
Note:
GitHub repositories that are public can be accessed without credentials.- Create: Click Create to create GitHub credentials
- Delete: Select a credential and click
Delete. Deleting a credential also deletes the
repository definition associated with the credential.
Note:
When you delete a credential, all notebooks associated with the credential are converted into regular Oracle Machine Learning notebooks. As the credential is deleted, you can longer access and edit the associated notebooks in the GitHub repository.
- Generate Personal Access Token
A Personal Access Token (PAT) is an authentication token. It is a secure method used for user authentication.
Parent topic: GitHub Notebooks
4.2.1.1 Generate Personal Access Token
A Personal Access Token (PAT) is an authentication token. It is a secure method used for user authentication.
Parent topic: Create GitHub Credentials
4.2.2 Clone and Access your GitHub Notebook
To clone and access your GitHub notebook in Oracle Machine Learning UI, you must import the notebook from your GitHub repository. When you import the notebook, it clones the notebook and makes it available both on the Notebooks listing page and GitHub Notebooks listing page in Oracle Machine Learning UI.
- You must have your GitHub credentials created.
- The notebooks to be cloned must reside in your GitHub repository.
Parent topic: GitHub Notebooks
4.2.3 Edit and Sync your GitHub Notebook
You can update remote changes in your notebooks and also upload local changes in the notebooks back to your GitHub repository using the Version Control options—Pull changes and Push & commit in OML notebook editor to synchronize the cloned notebook with your GitHub repository copy of the notebook.
- Import the notebook from the GitHub repository. For more information, see Clone and Access your GitHub Notebook
- Open the notebook:
- Either from the GitHub Notebooks listing page. See Manage GitHub Notebooks
- Or, from the Oracle Machine Learning Notebooks listing page. See Access your Oracle Machine Learning Notebooks.
Parent topic: GitHub Notebooks
4.2.4 Manage GitHub Notebooks
This page lists all the notebooks that you have cloned from a remote GitHub repository.
- Workspace: This is the name of the workspace where the project (in which the notebook is saved) is created.
- Project: This is the name of the project in which the notebook is saved in Oracle Machine Learning UI.
- Name: This is the name of the notebook. It is a clickable link. You can click on the name to open and edit it directly in the notebook editor.
- Created: This is the date and time of creation and last edit of the notebook.
- Created By: This is the name of the OML user.
- Repository Name: This is the name of the GitHub repository.
- Repository Owner: This is the name of the GitHub repository owner.
- Repository Path: This is the file name of the notebook.
- Credential Name: This is the name of the user credential
- Edit: To update repository path or credentials, select a
notebook and click Edit. The Update
Repository dialog opens. You can perform the following
information: , you can update the GitHub repository URI and choose a different
credential.
- Update the URI of the GitHub notebook.
- Click the down arrow to choose a different user.
- Click the + icon to create a new GitHub credential.
- Open: To open a notebook, click on the notebook name. It opens the notebook directly on the Oracle Machine Learning Notebook editor.
- Delete: To delete any notebook, select the notebook and click Delete. This deletes the local (cloned) copy of your GitHub notebook.
Related Topics
Parent topic: GitHub Notebooks









