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

# Guides

> Learn how to do common tasks with Restate.

## Recipes

<CardGroup cols={3}>
  <Card title="Cron Jobs" href="/guides/cron" img="https://mintcdn.com/restate-6d46e1dc-cloud-docs/kWrtqVtYl3PrYv_c/img/guides/cron/cron.png?fit=max&auto=format&n=kWrtqVtYl3PrYv_c&q=85&s=88fc5680a8265441627c9de19730183f" width="1920" height="1080" data-path="img/guides/cron/cron.png">
    Schedule tasks periodically with Restate
  </Card>

  <Card title="Durable Webhooks" href="/guides/durable-webhooks" img="https://mintcdn.com/restate-6d46e1dc-cloud-docs/kWrtqVtYl3PrYv_c/img/guides/durable-webhooks/durable-webhooks.png?fit=max&auto=format&n=kWrtqVtYl3PrYv_c&q=85&s=a00fdc44f9fdce67409cc1887c104a37" width="1440" height="810" data-path="img/guides/durable-webhooks/durable-webhooks.png">
    Process webhook events from external services with exactly-once delivery guarantees.
  </Card>

  <Card title="Parallelizing Work" href="/guides/parallelizing-work" img="https://mintcdn.com/restate-6d46e1dc-cloud-docs/kWrtqVtYl3PrYv_c/img/guides/parallelizing-work/parallelizing-work.png?fit=max&auto=format&n=kWrtqVtYl3PrYv_c&q=85&s=8a8e0be8a6a8f8bc5fa4432b6a4507e4" width="1440" height="810" data-path="img/guides/parallelizing-work/parallelizing-work.png">
    Execute a list of tasks in parallel and then gather their result.
  </Card>

  <Card title="Rate Limiting" href="/guides/rate-limiting" img="https://mintcdn.com/restate-6d46e1dc-cloud-docs/kWrtqVtYl3PrYv_c/img/guides/rate-limiting/rate-limiting.png?fit=max&auto=format&n=kWrtqVtYl3PrYv_c&q=85&s=4e1abae017cbea381aa78addd3a2a5a8" width="1920" height="1080" data-path="img/guides/rate-limiting/rate-limiting.png">
    Control request rates and prevent service overload with Restate
  </Card>

  <Card title="Sagas" href="/guides/sagas" img="https://mintcdn.com/restate-6d46e1dc-cloud-docs/G3yDE3RlKqX3D28h/img/guides/sagas/sagas.png?fit=max&auto=format&n=G3yDE3RlKqX3D28h&q=85&s=f9c96ed40029286ce810017bb31ac00a" width="1920" height="1080" data-path="img/guides/sagas/sagas.png">
    Implementing undo operations in case of failures, to keep your system consistent
  </Card>
</CardGroup>

## Development Guides

<CardGroup cols={3}>
  <Card title="Databases and Restate" href="/guides/databases" img="https://mintcdn.com/restate-6d46e1dc-cloud-docs/kWrtqVtYl3PrYv_c/img/guides/databases/databases.png?fit=max&auto=format&n=kWrtqVtYl3PrYv_c&q=85&s=13fcc870226201e619c11d5569b85ce1" width="1920" height="1080" data-path="img/guides/databases/databases.png">
    Learn when and how to use databases in combination with Restate.
  </Card>

  <Card title="Error Handling" href="/guides/error-handling" img="https://mintcdn.com/restate-6d46e1dc-cloud-docs/kWrtqVtYl3PrYv_c/img/guides/error-handling/error-handling.png?fit=max&auto=format&n=kWrtqVtYl3PrYv_c&q=85&s=1b97756ceedbb2133fd065b3384da116" width="1472" height="832" data-path="img/guides/error-handling/error-handling.png">
    Learn how to handle transient and terminal errors in your applications.
  </Card>

  <Card title="Request Lifecycle" href="/guides/request-lifecycle" img="https://mintcdn.com/restate-6d46e1dc-cloud-docs/G3yDE3RlKqX3D28h/img/guides/request-lifecycle/request-lifecycle.png?fit=max&auto=format&n=G3yDE3RlKqX3D28h&q=85&s=a6906ec14d9dda4e606ce0a26a0cc0e6" width="1920" height="1080" data-path="img/guides/request-lifecycle/request-lifecycle.png">
    Deep dive into the lifecycle of a request in Restate
  </Card>
</CardGroup>

## Deployment Guides

<CardGroup cols={3}>
  <Card title="Connecting Kubernetes Services to Restate Cloud" href="/guides/connecting-k8s-services-to-cloud" img="https://mintcdn.com/restate-6d46e1dc-cloud-docs/kWrtqVtYl3PrYv_c/img/guides/connecting-k8s-services-to-cloud/connecting-k8s-services-to-cloud.png?fit=max&auto=format&n=kWrtqVtYl3PrYv_c&q=85&s=609a73a7678693098bfca795f6641f2e" width="1920" height="1080" data-path="img/guides/connecting-k8s-services-to-cloud/connecting-k8s-services-to-cloud.png">
    Learn how to connect services on Kubernetes to Restate Cloud.
  </Card>

  <Card title="Kubernetes deployments with Helm" href="/guides/restate-on-kind-with-helm" img="https://mintcdn.com/restate-6d46e1dc-cloud-docs/G3yDE3RlKqX3D28h/img/guides/restate-on-kind-with-helm/restate-on-kind-with-helm.png?fit=max&auto=format&n=G3yDE3RlKqX3D28h&q=85&s=207e86f920a1594e604ae16ea5e1c415" width="1920" height="1080" data-path="img/guides/restate-on-kind-with-helm/restate-on-kind-with-helm.png">
    Learn how to deploy a Restate cluster using Helm on a kind Kubernetes cluster.
  </Card>

  <Card title="Kubernetes deployments with Restate Operator" href="/guides/restate-on-kind-with-operator" img="https://mintcdn.com/restate-6d46e1dc-cloud-docs/G3yDE3RlKqX3D28h/img/guides/restate-on-kind-with-operator/restate-on-kind-with-operator.png?fit=max&auto=format&n=G3yDE3RlKqX3D28h&q=85&s=4de44364b79beb1b5c26b538ee7a698c" width="1920" height="1080" data-path="img/guides/restate-on-kind-with-operator/restate-on-kind-with-operator.png">
    Learn how to deploy single-node Restate with Restate operator on a kind Kubernetes cluster.
  </Card>

  <Card title="Local Restate Cluster with Docker" href="/guides/cluster" img="https://mintcdn.com/restate-6d46e1dc-cloud-docs/kWrtqVtYl3PrYv_c/img/guides/cluster/cluster.png?fit=max&auto=format&n=kWrtqVtYl3PrYv_c&q=85&s=02bd73f5de8a6180f658b70825c93d31" width="1920" height="1080" data-path="img/guides/cluster/cluster.png">
    Learn how to deploy a Restate cluster using Docker Compose.
  </Card>

  <Card title="Migrating Snapshot Storage Backend" href="/guides/snapshot-storage-migration" img="https://mintcdn.com/restate-6d46e1dc-cloud-docs/G3yDE3RlKqX3D28h/img/guides/snapshot-storage-migration/snapshot-storage-migration.png?fit=max&auto=format&n=G3yDE3RlKqX3D28h&q=85&s=53373ee4908f10e4e0b9c838924e7c72" width="1920" height="1080" data-path="img/guides/snapshot-storage-migration/snapshot-storage-migration.png">
    Move a multi-node Restate cluster from one snapshot destination to another.
  </Card>

  <Card title="Scaling to Multi-Node Deployments" href="/guides/local-to-replicated" img="https://mintcdn.com/restate-6d46e1dc-cloud-docs/kWrtqVtYl3PrYv_c/img/guides/local-to-replicated/local-to-replicated.png?fit=max&auto=format&n=kWrtqVtYl3PrYv_c&q=85&s=beb04072515f31505d8ac2b189409c01" width="1920" height="1080" data-path="img/guides/local-to-replicated/local-to-replicated.png">
    Migrate a single node to a multi-node cluster.
  </Card>
</CardGroup>

## Integrations

<CardGroup cols={3}>
  <Card title="Restate and Encore" href="/guides/encore" img="https://mintcdn.com/restate-6d46e1dc-cloud-docs/kWrtqVtYl3PrYv_c/img/guides/encore/encore.png?fit=max&auto=format&n=kWrtqVtYl3PrYv_c&q=85&s=b279cb9a649475b8c3dccfc6288b4318" width="1920" height="1080" data-path="img/guides/encore/encore.png">
    Learn how to run Restate service handlers inside an Encore TypeScript backend.
  </Card>

  <Card title="Restate-Kafka Quickstart" href="/guides/kafka-quickstart" img="https://mintcdn.com/restate-6d46e1dc-cloud-docs/kWrtqVtYl3PrYv_c/img/guides/kafka-quickstart/kafka-quickstart.png?fit=max&auto=format&n=kWrtqVtYl3PrYv_c&q=85&s=0b502b7906686b0a2cdfdcd998c80158" width="1920" height="1080" data-path="img/guides/kafka-quickstart/kafka-quickstart.png">
    Learn how to connect your Restate service to a Kafka topic.
  </Card>

  <Card title="XState" href="/guides/xstate" img="https://mintcdn.com/restate-6d46e1dc-cloud-docs/G3yDE3RlKqX3D28h/img/guides/xstate/xstate.png?fit=max&auto=format&n=G3yDE3RlKqX3D28h&q=85&s=00f12957a908b2dfd2924c608f234c0b" width="1920" height="1080" data-path="img/guides/xstate/xstate.png">
    Integrate Restate with XState to implement durable state machines.
  </Card>
</CardGroup>
