> For the complete documentation index, see [llms.txt](https://docs.segments.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.segments.ai/tutorials/getting-started.md).

# Getting started

This tutorial shows how you can create a dataset, upload some images in it, label and review them, and finally create a dataset release to export your data.

{% hint style="info" %}
If you want to know how to interact programmatically with Segments.ai, follow the [Python SDK quickstart](/tutorials/python-sdk-quickstart.md) instead.
{% endhint %}

First, make sure you've [created an account](https://segments.ai/join) and are logged in. Clicking on the Segments.ai logo in the upper left corner, takes you to your home screen:

![On the home screen you see a list of all your own datasets, and the datasets of others in which you're a collaborator.](https://1553794111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHczBG7NHgAtEe4ql1rXH%2Fuploads%2Fo9YxhsIMZ8Lk6Ozhg8Gd%2Fimage.png?alt=media\&token=2ea6325f-5863-4955-8537-0174bde83786)

## Create a new dataset

From the home screen, click the "New dataset" button. Choose a dataset name and description, set the visibility, and choose a category. Then click "Next".

Choose "Segmentation (bitmap)" for the task type in this tutorial. We will be labeling a dataset of pets in this tutorial, so we add three object categories: cat, dog and other.&#x20;

Finally, click "Create dataset".

![](https://1553794111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHczBG7NHgAtEe4ql1rXH%2Fuploads%2Ff5NnPT94Xg2NcvIywmZ2%2Fimage.png?alt=media\&token=0ffb83b6-ba33-40be-a64c-57fdef388565)

## Upload images

Now that you've created a new dataset, let's add some images to it. In your dataset, go to the Samples tab and click the "Add Samples" button.

{% hint style="info" %}
A sample can be an image, video or 3D pointcloud. In this tutorial we're working with images.
{% endhint %}

![](https://1553794111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHczBG7NHgAtEe4ql1rXH%2Fuploads%2Ff0WWsXd7VJIHWlvwczl5%2Fimage.png?alt=media\&token=21061962-0242-4d73-8692-83aa3df97360)

Select a few images and upload them. The images appear as thumbnails in the Samples tab.

![](https://1553794111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHczBG7NHgAtEe4ql1rXH%2Fuploads%2FG8muoXpRPCkQAZYUX1Lm%2Fimage.png?alt=media\&token=77545325-7bda-44e5-8b5c-e472689d30fb)

## Label and review

Press the "Start labeling" button. This brings you into the labeling workflow, where you will be presented with unlabeled images until the labeling queue is empty.&#x20;

Label all objects in the image and press "Submit", until all images are labeled. More details on effectively using the segmentation interface can be found [here](/how-to-annotate/label-images/image-segmentation-interface.md).

![](https://1553794111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHczBG7NHgAtEe4ql1rXH%2Fuploads%2FybI73itaeMmNnwAJIddI%2Fimage.png?alt=media\&token=946edb52-edcc-465a-8f9a-45ac04a4f35d)

When done labeling, press the little cross icon in the top right corner to exit the labeling interface.

Optionally, press the "Start reviewing" button. This brings you into the reviewing workflow, where you can accept or reject labeled images. Rejected images go back to the labeling queue for correction.

{% hint style="info" %}
Instead of using the "Start labeling" and "Start reviewing" buttons, you can also open and edit any image directly by clicking its thumbnail. Note that in this case, the image is not prevented from being edited by someone else at the same time.
{% endhint %}

## Export data

Go to the Releases tab. Here you can create a snapshot of your dataset with a download link to the finished labels.

Press the "Create a new release button" and choose a name and description for the release. Creating the release may take a few seconds.

![](https://1553794111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHczBG7NHgAtEe4ql1rXH%2Fuploads%2Fgr2CR3ROlEhC2zRCtvXd%2Fimage.png?alt=media\&token=bd343e9a-2556-4e14-b7a6-ea8ff5c1046d)

For more details on exporting data to different formats, see the [Export data](/how-to-integrate/export.md) section.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.segments.ai/tutorials/getting-started.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
