# Can't add dataset to project

**URL:** <https://renku.discourse.group/t/cant-add-dataset-to-project/652>\
**Category:** General\
**Created:** [21 June 2022 16:27 UTC](https://renku.discourse.group/t/cant-add-dataset-to-project/652 "2022-06-21T16:27:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jkminder](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/jkminder/32/448_2.png) [@jkminder](https://renku.discourse.group/u/jkminder)\
**Post date:** [21 June 2022 16:27 UTC](https://renku.discourse.group/t/cant-add-dataset-to-project/652/1 "2022-06-21T16:27:40Z")

</div>

Hi,  
I have two private repositories both owned by me. In one I have created a dataset. I can’t import this dataset into the other repository. If I try to do it via CLI, i get:  
`renku dataset import https://renkulab.io/datasets/7000698b42d1476ea1853e55375a3339 Error: Resource not found in knowledge graph: https://renkulab.io/datasets/7000698b42d1476ea1853e55375a3339`.

If I try to do it via the [renkulab.io](http://renkulab.io) frontend (dataset-\>‘Add to project’ Button → Select correct Existing project → ‘Add Dataset to existing Project’) I get:

 ![Screenshot 2022-06-21 at 18.24.55](https://global.discourse-cdn.com/free1/uploads/renku/original/1X/775eb32d58e28c848113d5db15dbec6ba2f4aae1.png)  
The renkulab.ui frontend clearly states that the dataset is contained in the knowledge graph. Please fix this or tell me what I’m doing wrong as I can’t really work with renku if this doesn’t work. The dataset is not yet published and the repo needs to remain private.

Thanks!

---

<div class="post-metadata">

**Author:** ![cmdoret](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/cmdoret/32/405_2.png) [@cmdoret](https://renku.discourse.group/u/cmdoret)\
**Post date:** [22 June 2022 10:56 UTC](https://renku.discourse.group/t/cant-add-dataset-to-project/652/2 "2022-06-22T10:56:46Z")

</div>

Hello @jkminder,

Thanks for your feedback, we will make this process more intuitive soon.  
For now, you need to clone the repository on your machine and use `renku login renkulab.io` before you can import your private datasets in the CLI. Once logged in, your import command should work as expected. Importing private datasets in the UI is not yet possible.

---

<div class="post-metadata">

**Author:** ![jkminder](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/jkminder/32/448_2.png) [@jkminder](https://renku.discourse.group/u/jkminder)\
**Post date:** [23 June 2022 13:25 UTC](https://renku.discourse.group/t/cant-add-dataset-to-project/652/3 "2022-06-23T13:25:51Z")

</div>

Thanks! I’m working on a remote, headless compute server. So far I have been using renku via ssh keys. If i try to run `renku login renkulab.io` it states that I should open a browser. As the machine I’m working is headless this is not an option. I am also not really keen to work with some kind of terminal browser if that even would work.

I think for the moment I can clone my work to my local machine, login in the renku CLI via browser, import the dataset, push and then pull the imported dataset onto our cluster. I hope this will work.

I’ll add a new issue regarding the login, I think this is really important and probably better if this is its own issue.
