> For the complete documentation index, see [llms.txt](https://picsellia.gitbook.io/picsellia/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://picsellia.gitbook.io/picsellia/data-management/add-data-to-a-dataset.md).

# Add data to a Dataset

### With the Platform

In order to add assets to a dataset, you need to go to your "Datalake" page and select the assets that you want to add.&#x20;

![](https://2100239547-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M78aoA9Gcxf25O1fNjm%2F-McA5w5Mu8h8bNjzCfrL%2F-McA6FLH3XQkGEpj5_63%2Fimage.png?alt=media\&token=972577ed-8a5a-41e7-8074-79ed9ec3aba7)

Then click on  "add to dataset"&#x20;

You can then select the target dataset to import assets

Then select the specific version to add images.

### With Python SDK

```python
pip install picsellia
```

First make sure that you have Picsellia Python package installed&#x20;

then you will need to initialize the Client with your API Token, available in you profile page.

```python
from picsellia.client import Client
clt = Client(api_token="your token")
```

you can now search for some assets on your lake with the datalake.fetch() method:

```python
pictures = clt.datalake.picture.fetch(quantity=1, tags=['tag1'])
```

You can use Client.datalake.pictures.status() to vizualize the fetched assets &#x20;

then you can add data to your dataset

```python
clt.datalake.dataset.add_data(name='dataset2', 
                            version='latest',
                            pictures=pictures)

```

You can find a complete reference to the SDK [here](/picsellia/references-1/python-sdk-reference-1.md#add_data).
