> ## Documentation Index
> Fetch the complete documentation index at: https://restate-6d46e1dc-create-pull-request-patch.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-create-pull-request-patch/SPkou6YABkQHwg1A/img/guides/cron/cron.png?fit=max&auto=format&n=SPkou6YABkQHwg1A&q=85&s=6547b355cc41ae08057114f7f0d60463" 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-create-pull-request-patch/SPkou6YABkQHwg1A/img/guides/durable-webhooks/durable-webhooks.png?fit=max&auto=format&n=SPkou6YABkQHwg1A&q=85&s=83cc29982850eb620d2823b9f2e0a5f1" 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-create-pull-request-patch/SPkou6YABkQHwg1A/img/guides/parallelizing-work/parallelizing-work.png?fit=max&auto=format&n=SPkou6YABkQHwg1A&q=85&s=24ad9e5476dbb468df2a5206e8153edd" 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-create-pull-request-patch/SPkou6YABkQHwg1A/img/guides/rate-limiting/rate-limiting.png?fit=max&auto=format&n=SPkou6YABkQHwg1A&q=85&s=2b7faf4e2e02cbaf19d1da75c1bc4e8f" 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-create-pull-request-patch/SPkou6YABkQHwg1A/img/guides/sagas/sagas.png?fit=max&auto=format&n=SPkou6YABkQHwg1A&q=85&s=bf400a6e63937cc0e848f8f7c9c8dd1f" 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-create-pull-request-patch/SPkou6YABkQHwg1A/img/guides/databases/databases.png?fit=max&auto=format&n=SPkou6YABkQHwg1A&q=85&s=51fc6ed26404b72bf96ddec374e1b056" 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-create-pull-request-patch/SPkou6YABkQHwg1A/img/guides/error-handling/error-handling.png?fit=max&auto=format&n=SPkou6YABkQHwg1A&q=85&s=dbc65f03d8e969f1a8a08800db558289" 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-create-pull-request-patch/SPkou6YABkQHwg1A/img/guides/request-lifecycle/request-lifecycle.png?fit=max&auto=format&n=SPkou6YABkQHwg1A&q=85&s=7712d6f0d824a2171a990a23fec90593" 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-create-pull-request-patch/SPkou6YABkQHwg1A/img/guides/connecting-k8s-services-to-cloud/connecting-k8s-services-to-cloud.png?fit=max&auto=format&n=SPkou6YABkQHwg1A&q=85&s=739f199c153c1753dcb7806f81d2eb27" 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-create-pull-request-patch/SPkou6YABkQHwg1A/img/guides/restate-on-kind-with-helm/restate-on-kind-with-helm.png?fit=max&auto=format&n=SPkou6YABkQHwg1A&q=85&s=7f2e05072c40b033318fb9e81a234b81" 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-create-pull-request-patch/SPkou6YABkQHwg1A/img/guides/restate-on-kind-with-operator/restate-on-kind-with-operator.png?fit=max&auto=format&n=SPkou6YABkQHwg1A&q=85&s=d7abf256ebeaf7c34cc42b1d6588fe39" 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-create-pull-request-patch/qpodPk9I2Mm-VyAp/img/guides/cluster/cluster.png?fit=max&auto=format&n=qpodPk9I2Mm-VyAp&q=85&s=416aab2cad84931afc38fd8f3e90d53c" 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-create-pull-request-patch/ZaH_uNi6_t-h7EQs/img/guides/snapshot-storage-migration/snapshot-storage-migration.png?fit=max&auto=format&n=ZaH_uNi6_t-h7EQs&q=85&s=c7692b0ea8148532e9b081e73de75269" 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-create-pull-request-patch/SPkou6YABkQHwg1A/img/guides/local-to-replicated/local-to-replicated.png?fit=max&auto=format&n=SPkou6YABkQHwg1A&q=85&s=07251dd4ec0269bd66bf20e9d8ba56c1" 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-create-pull-request-patch/Kwjzqu2pwK5iEueO/img/guides/encore/encore.png?fit=max&auto=format&n=Kwjzqu2pwK5iEueO&q=85&s=e1d115b3aa6065a74a9058a57df45922" 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-create-pull-request-patch/Kwjzqu2pwK5iEueO/img/guides/kafka-quickstart/kafka-quickstart.png?fit=max&auto=format&n=Kwjzqu2pwK5iEueO&q=85&s=5056826ddebc666eea85d915594b40bd" 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-create-pull-request-patch/Kwjzqu2pwK5iEueO/img/guides/xstate/xstate.png?fit=max&auto=format&n=Kwjzqu2pwK5iEueO&q=85&s=1b8f3075a1da55730e6b1f74a4ef4b06" width="1920" height="1080" data-path="img/guides/xstate/xstate.png">
    Integrate Restate with XState to implement durable state machines.
  </Card>
</CardGroup>
