Importing a project (Watson Studio)
You can create a project that is preloaded with assets by importing the project.
Use one of these methods:
Watch the following video to see how to create a project from a ZIP file and from a GitHub repository.
This video provides a visual method as an alternative to following the written steps in this documentation.
Importing a project from a local file or sample
You can import a project that you previously exported, or a sample project from the Gallery. You can download sample projects from Industry accelerators that contain a set of data science assets to accomplish a specific goal.
If you created a project from file, you can create it from a project ZIP file on your local system. The compressed file that you select must be an exported ZIP file of a Cloud Pak for Data project and must be from the same Cloud Pak for Data version you are currently using or from earlier versions. You cannot import a compressed file that was exported from a project in Cloud Pak for Data as a Service.
Note that if the imported project contains notebooks, you can only work with those notebooks in the notebook editor, even if the notebooks were created in JupyterLab. You cannot use the JupyterLab IDE in the project.
To create a project from a local file:
- From the navigation menu, choose Projects > All projects.
- Select Create a project from a file.
- Upload the project ZIP file or select a sample project.
- If the exported file that you select to import was encrypted, you must enter the password that was used for encryption to enable decrypting sensitive connection properties. If you enter an incorrect password, the project file imports successfully, but sensitive connection properties are falsely decrypted.
- You have the option to select these project configurations:
- Mark the project as sensitive. The project has a sensitive tag and project collaborators can't move data assets out of the project. You cannot change this setting after the project is created.
- Log project activity. Detailed project activity is tracked in a full activities log that you can download. You can enable or disable this option at any time on the project Settings page.
- Click Create.
Importing a project from a Git repository
You can import a project from a Git repository by using default Git integration or deprecated Git integration.
Before you begin
- Before you create a project with Git integration, you must understand the options that you have and the implications of choosing either option:
- You must configure access to a Git repository. This enables you to work in your clone of a branch from the remote repository associated with the project.
If the imported project contains notebooks, you can only work with those notebooks in the notebook editor, even if the notebooks were created in JupyterLab. You cannot use the JupyterLab IDE in the project.
Creating a project with a Git repository
To create a project with a Git repository:
- From the navigation menu, choose Projects > All projects.
- Select Create a project integrated with a Git repository.
- Enter a name.
- Select the integration type:
- Default Git integration for true Git-based version control when working on files.
- Deprecated Git integration for Git integration with locking. Although you can still create and use projects with this integration type, this project creation option is deprecated.
You have these project configuration options:
- Either create a new empty project or import an existing project from a Git repository.
- Mark the project as sensitive. You cannot change this setting after the project is created.
- Log project activity. You can enable or disable this option at any time on the project Settings page.
- Designate the JupyterLab IDE as the only editor tool for notebooks and scripts by selection. You can enable this option at any time on the project Settings page.
- Select your token and Git repository.
- Click Create.
- After the project import is complete, view the project import summary to check that all the assets were successfully imported.
- Before you begin working with the imported assets in your new project, check for missing credentials, for example in notebooks and data connections, to enable successful relinking between project assets.
- Add collaborators by clicking the Access Control tab in your project, then click Add collaborators or Add user groups. All users will need to create access tokens for collaboration.
If the notebooks were created in JupyterLab, the required notebook kernel might not be found when you try opening the notebooks. In this case, you need to associate the notebook with an appropriate environment template. You can do this:
-
From the notebook opened in edit mode by:
- Clicking the Notebook Info icon () from the notebook toolbar, clicking Environment and then selecting an environment template for the notebook from the list.
-
Before you open the notebook, from the project Assets page by:
- Selecting the notebook and unlocking it if it is locked. You can only change the environment of a notebook if the notebook is unlocked.
- Clicking Actions > Change environment and selecting an appropriate environment template for the notebook.
If you notice that notebooks or Python scripts are missing in the project import, they might not have been included in the original project export. Verify that the person who synchronized assets between the repository and your project explicitly selected those assets, and added them to the project export.
The status of a project import is also tracked on the project's Overview page. Check for a readme file on the Assets page of the project for information about the analytics use case of the added assets and the applied data analysis methods. Imported notebook jobs will always run on the latest available version of the notebook.
Learn more
- Default Git integration
- Deprecated Git integration
- Choosing a tool
- Administering a project
- Exporting project
Parent topic: Creating a project