# Import Data to Project

There are many ways to bring your data into your project, in this section we'll cover using from the following data sources:

* Using virtualized data

> _Note: The lab instructions below assume you have your project already available. If not, follow the instructions in the pre-work section to create a project._

## Importing Virtualized Data

For this section we'll explore the data that is available from the virtualized views that have been created in Data Virtualization. This data may come from various data sources or tables within a single source, but will appear as a single data asset. We will add this data to an analytics project so that it can be used in subsequent modules of this workshop (i.e for data analysis and to build ML models).

### Assign the data to your project

* To launch the data virtualization tool, go the (☰) navigation menu and under the _`Data`_ section click on `Data virtualization`.

![(☰) Menu -> Collect -> Data Virtualization](https://4168210942-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0YPhXPJogwds2wYiEl%2Fsync%2Ff64c2c3848dbc870d95640e33026527bb918fd6d.png?generation=1626367017265364\&alt=media)

* From the data virtualization sub-menu at the top left of the page, click on the menu drop down list and choose _`My virtualized data`_. Here you should see the data you have virtualized or that you have been given access to (or that the administrator has assigned to you).

![(My virtualized data](https://4168210942-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0YPhXPJogwds2wYiEl%2Fsync%2F260b6f9b915747a357cfeaa5637040743b2e0a22.png?generation=1626367019925697\&alt=media)

* Select the checkbox next to the data sets you want to use in your project and click the _`Assign`_ button to start importing it to your project.

> _Note: The name of the data assets to select may vary based on names chosen during data virtualization. The default names to select are: LOANS, APPLICANTFINANCIALDATA, APPLICANTPERSONALDATA, APPLICANTFINANCIALPERSONALDATA AND APPLICANTFINANCIALPERSONALLOANDATA_

![Select the data you want to import](https://4168210942-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0YPhXPJogwds2wYiEl%2Fsync%2F3296f195e57f5b8349ba0f1dd51a79b30de997bb.png?generation=1626367019148416\&alt=media)

* In the 'Assign virtual objects' screen, choose your analytics project from the drop down list. Then click the _`Assign`_ button to add the data to your project.

![Assign the data to a project](https://4168210942-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0YPhXPJogwds2wYiEl%2Fsync%2Fe6de4b381e43d2a359e6c4620cdc7330d8384c13.png?generation=1626367025620209\&alt=media)

* In the `Publish virtual assets to catalog` pop up panel, select the _`Publish`_ button to publish these assets to the catalog.

![Publish to catalog](https://4168210942-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0YPhXPJogwds2wYiEl%2Fsync%2Fe7a07237e2ec7b13789eea9867d331bf87a5fdae.png?generation=1626367018345927\&alt=media)

* In the pop up panel, you will receive a confirmation that the objects have been assigned to your project. Click the _`Go to project`_ button.

![Data assigned to a project](https://4168210942-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0YPhXPJogwds2wYiEl%2Fsync%2Ffcbdf342bced993e13d8af2d0a32adb875b1b022.png?generation=1626367040165247\&alt=media)

*   In the project page, clicking on the `Assets` tab will show the virtualized tables and joined tables that are now in your project (along with other assets that are in the project).

    **Do not go to the next section until you see the data assets in your project.**

## Conclusion

This lab shows just one of the ways to gather data for your analytics projects in Cloud Pak for Data. In this case you used data that was previously virtualized. Other ways might include: browsing the catalogs, importing flat files, or importing data from connections directly in the project.
