> ## Documentation Index
> Fetch the complete documentation index at: https://alphacastio.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Publish to Dataset

> Write pipeline output to a dataset that updates automatically whenever the pipeline runs.

**Publish to Dataset** is one of the pipeline's output steps. It creates a dataset that is automatically kept up to date by the pipeline.

<Frame>
  <img src="https://mintcdn.com/alphacastio/ttF_U-V9HDrmrPbo/images/steps/publish-1.png?fit=max&auto=format&n=ttF_U-V9HDrmrPbo&q=85&s=1931ed8cf68cc6c40495566acf650c77" alt="Publish Dataset step in the pipeline editor" width="672" height="163" data-path="images/steps/publish-1.png" />
</Frame>

Once you have made every transformation you need, publish the result as a dataset. The step lets you choose the dataset name and the repository it is stored in.

<Frame>
  <img src="https://mintcdn.com/alphacastio/ttF_U-V9HDrmrPbo/images/steps/publish-2.jpg?fit=max&auto=format&n=ttF_U-V9HDrmrPbo&q=85&s=33286b83b5e5cf055f5b1fa73fff6292" alt="Naming the published dataset and choosing a repository" width="955" height="318" data-path="images/steps/publish-2.jpg" />
</Frame>

After naming and saving, click the link to navigate to the new dataset.

<Frame>
  <img src="https://mintcdn.com/alphacastio/ttF_U-V9HDrmrPbo/images/steps/publish-3.jpg?fit=max&auto=format&n=ttF_U-V9HDrmrPbo&q=85&s=317ec4c5effe4f89a9c4e893942debac" alt="Link to the newly published dataset" width="954" height="342" data-path="images/steps/publish-3.jpg" />
</Frame>

<Note>
  You need write access to the destination repository. See [Repositories](/concepts/repositories) for how permission levels work.
</Note>

<Tip>
  A published dataset is a first-class dataset: it can be queried through the [API](/api/datasets/data), read with the [Python SDK](/python-sdk/downloading), and fetched by other pipelines with [Fetch Dataset](/steps/fetch-dataset).
</Tip>

## Next steps

<CardGroup cols={2}>
  <Card title="Chart data" icon="chart-simple" href="/steps/chart-data">
    Chart the result instead of, or as well as, publishing it.
  </Card>

  <Card title="Data snapshot" icon="camera" href="/steps/data-snapshot">
    Produce a downloadable, embeddable snapshot.
  </Card>
</CardGroup>
