---
title: Run pipelines on the platform
sidebar_label: Overview
description: Deploy and run dlt pipelines, transformations and notebooks in the cloud with the dltHub platform
keywords: [dlthub platform, deployment, cloud, scheduling, notebooks, dashboard, jobs, triggers, manifest]
---
# dltHub platform

The dltHub platform is a managed cloud platform for running your [`dlt` pipelines](../../general-usage/pipeline.md), [transformations](../transformations/index.md), and [notebooks](../../general-usage/dataset-access/marimo.md). It mirrors your local [dltHub workspace](what-is-a-workspace.md) into the cloud as a **remote workspace**, with one **workspace deployment** for each environment that you deploy to, so your familiar dlt pipelines, [datasets](../data-discovery/datasets.md), notebooks, and dashboards run remotely with the same code that runs on your machine.

For a high-level summary of platform capabilities, see [Pipeline operations](../getting-started/introduction.md#pipeline-operations) in the introduction.

## Where to start

| If you want to...                                                                                                                                                      | Go to                                             |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- |
| Convert a Python project into a dltHub workspace and set up credentials                                                                                                | [Workspace setup](workspace-setup.md)             |
| Push code to the cloud — ad-hoc runs or full manifest deploys                                                                                                          | [Deployments](deployments.md)                     |
| Schedule with cron/intervals, chain follow-ups, backfill with scheduler-driven intervals, require fresh upstream data, cascade refreshes, tag jobs for bulk operations | [Triggers and scheduling](triggers.md)            |
| Configure timeouts, dependencies, timezone, retries, and per-job TOML sections                                                                                         | [Job configuration](job-configuration.md)         |
| Set workspace or profile environment variables for cloud runs                                                                                                          | [Environment variables](environment-variables.md) |
| Stream logs in real time, inspect run states, view metric dashboards, diagnose failures, cancel runs                                                                   | [Monitoring and debugging](monitoring.md)         |
| Pick a deployment region                                                                                                                                               | [Regions](../platform-capabilities/regions.md)    |

## Key concepts

### Jobs vs runs

- A **Job** is a script registered in your workspace. It defines what code to run and optionally a schedule.
- A **Run** is a single execution of a job. Each run has its own logs, status, and metadata. See [run states](monitoring.md#understand-run-states).

### Batch vs interactive

- **Batch jobs** run with a profile with write data access, [`prod`](./profiles.md) by default, and are meant for scheduled [data loading](../../general-usage/pipeline.md).
- **Interactive jobs** run with a profile with read data access, [`access`](./profiles.md) by default, and are meant for [notebooks](../../general-usage/dataset-access/marimo.md), [dashboards](../ingestion/dashboard.md), and Streamlit apps.

### Interactive application types

| Type           | Description                                                                                                            |
| -------------- | ---------------------------------------------------------------------------------------------------------------------- |
| Notebooks      | [Marimo notebooks](../../general-usage/dataset-access/marimo.md) for the pipeline dashboard, exploration, and analysis |
| Streamlit apps | Interactive [Streamlit dashboards](../ingestion/dashboard.md)                                                          |
| MCP servers    | Model Context Protocol servers that provide tool and data access for AI assistants and agents                          |

Each interactive application is exposed via a unique public URL tied to its run.

### Profiles and environments

A [profile](./profiles.md) controls access to your data. It holds the credentials that a job runs with and declares their data access: write, read or none. A deployment gives each job the default profile of the data access that it declares. You set up the credentials:

- Local development uses [DuckDB](../../dlt-ecosystem/destinations/duckdb.md) with no credentials needed
- Production jobs use [MotherDuck](../../dlt-ecosystem/destinations/motherduck.md) (or [any cloud destination](../../dlt-ecosystem/destinations/index.md)) with credentials that can write
- Interactive jobs use read-only credentials

An [environment](./profiles.md#how-environments-work) is what you deploy the workspace to: `prod` by default, or `staging` to review your changes. In each environment, the same local workspace has a workspace deployment of its own. See [How profiles work](./profiles.md#how-profiles-work) for the built-in profiles.

### Deployments and configurations

A workspace deployment holds two things that you upload:

- **Deployment version** — your code files (`.py` scripts, notebooks)
- **Configuration version** — your `.dlt/*.toml` files ([settings and secrets](../../general-usage/credentials/index.md))

Both are versioned separately, so you can update code without changing secrets and vice versa.

## Command line fundamentals

The `dlthub` CLI is split into two scopes:

- **local** — `dlthub local ...` operates on the **local workspace** (files in `.dlt/`, your machine's pipeline working dirs, local profiles).
- **remote** — `dlthub ...` (unqualified) operates on the **connected dltHub workspace** (the cloud deployment, configurations, jobs, runs).

Most actions and entities exist in both scopes: running a job, serving an interactive app, inspecting workspace state, listing pipelines. Use the local scope to validate jobs before pushing them to the cloud.

Verbs have consistent meaning regardless of the scope or the entity they operate on:

| Verb      | Meaning                                                                                              |
| --------- | ---------------------------------------------------------------------------------------------------- |
| `info`    | Print structured information about the entity (workspace, job, run, deployment, configuration)       |
| `list`    | Enumerate entities                                                                                   |
| `run`     | Execute a batch job or pipeline                                                                      |
| `serve`   | Start an interactive job (notebook, dashboard, MCP server, REST app)                                 |
| `show`    | Open the GUI / human-readable interface (web dashboard remotely, marimo view locally) for the entity |
| `clean`   | Remove local artefacts (e.g. wipe pipeline working dirs and locally loaded data)                     |
| `sync`    | Push local changes to the cloud counterpart                                                          |
| `cancel`  | Cancel an in-flight job or run                                                                       |
| `connect` | Connect a local entity to a remote one                                                               |
| `deploy`  | Push the deployment manifest to the cloud                                                            |

The local/remote split makes most pages of this guide read in pairs:

| Local                                       | Remote                                |
| ------------------------------------------- | ------------------------------------- |
| `dlthub local run [<selector_or_job>]`      | `dlthub run [<selector_or_job>]`      |
| `dlthub local serve [<selector_or_job>]`    | `dlthub serve [<selector_or_job>]`    |
| `dlthub local pipeline run <pipeline_name>` | `dlthub pipeline run <pipeline_name>` |
| `dlthub local info`                         | `dlthub workspace info`               |
| `dlthub local show`                         | `dlthub show`                         |

Run the local form first to catch missing dependencies, misconfigured destinations, or broken decorators without burning a remote slot.

## Web UI

Visit [app.dlthub.com](https://app.dlthub.com) to access the web dashboard. It provides workspace overview, jobs and runs management, run details with execution logs, deployment & config inspection, pipeline dashboards, and workspace settings.

For monitoring runs, streaming logs, and diagnosing failures, see [Monitoring and debugging](monitoring.md).

### Public links for interactive jobs

Notebooks and dashboards can be shared via public links. Manage them either from the dashboard — open the job's context menu (or its detail page) and click **Manage Public Link** to toggle the link — or from the CLI:

```cli
# Generate a public link
dlthub job publish fruitshop_notebook

# Revoke an active link
dlthub job unpublish fruitshop_notebook
```

Both commands take the job name, not the file path.

Anyone with an active link can view the running notebook or dashboard — useful for sharing dashboards with stakeholders without dltHub platform access.

## CLI reference

For detailed CLI documentation, see [CLI](../command-line-interface.md).

### Common commands

| Command                                                                      | Description                                                               |
| ---------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| `dlthub login`                                                               | Authenticate with GitHub OAuth (interactive workspace selection)          |
| `dlthub logout`                                                              | Clear local credentials                                                   |
| `dlthub workspace list`                                                      | List all accessible workspaces                                            |
| `dlthub workspace connect [name_or_id]`                                      | Connect project to a workspace (interactive picker if no arg)             |
| `dlthub local info`                                                          | Show local workspace info                                                 |
| `dlthub show`                                                                | Open the dltHub dashboard                                                 |
| `dlthub local run <script_or_job>`                                           | Run a batch job on the local machine (recommended before deploying)       |
| `dlthub local serve <script_or_job>`                                         | Serve an interactive app on the local machine                             |
| `dlthub run [<script_or_selector>] [-f] [--refresh]`                         | Deploy and run a batch script or named job                                |
| `dlthub serve [<script_or_selector>] [-f]`                                   | Deploy and serve an interactive application                               |
| `dlthub deploy [--dry-run] [--show-manifest]`                                | Deploy jobs from `__deployment__.py`                                      |
| `dlthub job trigger <selectors...> [--refresh] [--dry-run] [--profile NAME]` | Trigger runs for matching jobs (for example `tag:backfill`, `schedule:*`) |
| `dlthub pipeline run <pipeline_name> [-f] [--refresh]`                       | Run a job by pipeline name                                                |
| `dlthub job cancel <selector_or_name>...`                                    | Cancel active runs for matching jobs                                      |
| `dlthub job runs cancel <selector_or_name> [run_number]`                     | Cancel a specific run (defaults to latest)                                |
| `dlthub job logs <selector_or_name> [run_number] [-f]`                       | View or stream logs for a run                                             |
| `dlthub job publish <job_name>`                                              | Generate a public link for an interactive notebook/app                    |
| `dlthub job unpublish <job_name>`                                            | Revoke a public link                                                      |

## Platform limits

- **Platform limits**: non-interactive jobs default to 2 hours maximum execution time (override with `execute={"timeout": "6h"}` in the decorator — see [Job configuration](job-configuration.md#execution-constraints))
- **Interactive timeout**: interactive jobs (notebooks, dashboards, MCP servers) are capped at 15 minutes of execution time and are not extended
- **UI operations**: new jobs must currently be created via the CLI; once a job exists, subsequent runs can be triggered from the Web UI (and schedules can be changed there too)
- **Pagination**: list views are paginated; the page size can be adjusted in the Web UI
- **Log latency**: logs typically lag a few seconds during execution and are guaranteed complete after the run finishes (completed or failed state)
- **One workspace deployment per environment**: in each environment, a local workspace is connected to one workspace deployment at a time. A new connection deactivates the jobs deployed under the previous one. See [Workspace setup](workspace-setup.md#one-workspace-deployment-for-each-environment).
- **No drift detection**: the CLI does not yet detect whether local code differs from remote. Run `dlthub workspace deployment sync` (or any `run` / `serve` / `deploy`) to ensure your latest code is deployed
