---
title: "Durable Workflows"
description: "A task queue application demonstrating how to use Temporal for durable workflows, with a local Temporal server in development and Temporal Cloud in production."
---

**[Live Demo](https://workflows.spcf.app)**

Try it in your browser

**[Source Code](https://github.com/specific-dev/examples/tree/main/node-workflows)**

View on GitHub

<br />

![Durable Workflows service diagram](/images/examples/workflows.png)

## How it works

- **Development**: Runs a local Temporal server automatically via `specific dev`
- **Production**: Connects to Temporal Cloud using configs and secrets

## Get started

**Coding agent**

Paste this prompt into Claude Code, Cursor, Codex, or whichever agent you use:

```text
Help me get started with Specific by following https://start.specific.dev, using the Durable Workflows example
```



Your agent installs the Specific and Temporal CLIs, clones the example, runs it locally, and walks you through deploying.

**Manual**

1. **Install prerequisites**

    Install the Temporal CLI from https://docs.temporal.io/cli

    ```bash
    curl -fsSL https://specific.dev/install.sh | sh
    ```

    ```bash
    git clone https://github.com/specific-dev/examples.git
    cd examples/node-workflows
    npm install
    ```

2. **Start the development server**

    ```bash
    specific dev
    ```

    Open the URL shown in the output to schedule tasks and view their status.

3. **Deploy to production**

    Then deploy:

    ```bash
    specific deploy
    ```

    You will automatically be prompted to input secrets and config values for a Temporal Cloud API Key, namespace and address.
