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

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.restate.dev/feedback

```json
{
  "path": "/guides/index",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# 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/5I23uDb6FXQeLlpU/img/guides/cron/cron.png?fit=max&auto=format&n=5I23uDb6FXQeLlpU&q=85&s=b6f6f87a4558fd7be1310bcb48ac52c4" 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/KwqBFjAxCCpb6XVP/img/guides/durable-webhooks/durable-webhooks.png?fit=max&auto=format&n=KwqBFjAxCCpb6XVP&q=85&s=da1cbc4b064369a2d7bd36666f97392b" 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/KwqBFjAxCCpb6XVP/img/guides/parallelizing-work/parallelizing-work.png?fit=max&auto=format&n=KwqBFjAxCCpb6XVP&q=85&s=808335caa6f579ffeeee38b585c615bf" 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/HMoMpu-se-tX1KYn/img/guides/rate-limiting/rate-limiting.png?fit=max&auto=format&n=HMoMpu-se-tX1KYn&q=85&s=1a9a55b4a95d76e3bd58a3d10dd14597" 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/5I23uDb6FXQeLlpU/img/guides/sagas/sagas.png?fit=max&auto=format&n=5I23uDb6FXQeLlpU&q=85&s=988ade11bc358fb93ddadd3a6386f308" 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/5I23uDb6FXQeLlpU/img/guides/databases/databases.png?fit=max&auto=format&n=5I23uDb6FXQeLlpU&q=85&s=339028b4b50824fc46fa95a7c3d263ef" 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/5I23uDb6FXQeLlpU/img/guides/error-handling/error-handling.png?fit=max&auto=format&n=5I23uDb6FXQeLlpU&q=85&s=3dda7b65b5cd29bc748f0afd9ebb3027" 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/5I23uDb6FXQeLlpU/img/guides/request-lifecycle/request-lifecycle.png?fit=max&auto=format&n=5I23uDb6FXQeLlpU&q=85&s=1badd2bec40ded63b1e1be47c34b05d5" 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/JE_5lF_32wyDbugn/img/guides/connecting-k8s-services-to-cloud/connecting-k8s-services-to-cloud.png?fit=max&auto=format&n=JE_5lF_32wyDbugn&q=85&s=814bd40f741701286fa7e9c6b326aeca" 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/JE_5lF_32wyDbugn/img/guides/restate-on-kind-with-helm/restate-on-kind-with-helm.png?fit=max&auto=format&n=JE_5lF_32wyDbugn&q=85&s=6b1f85b7132840592a31f05bd8b9d553" 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/JE_5lF_32wyDbugn/img/guides/restate-on-kind-with-operator/restate-on-kind-with-operator.png?fit=max&auto=format&n=JE_5lF_32wyDbugn&q=85&s=194e4ed159a167025c16b76acac31841" 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/5I23uDb6FXQeLlpU/img/guides/cluster/cluster.png?fit=max&auto=format&n=5I23uDb6FXQeLlpU&q=85&s=10b7eb27101beaa6ace349ce9ce833ac" width="1920" height="1080" data-path="img/guides/cluster/cluster.png">
    Learn how to deploy a Restate cluster using Docker Compose.
  </Card>

  <Card title="Scaling to Multi-Node Deployments" href="/guides/local-to-replicated" img="https://mintcdn.com/restate-6d46e1dc/5I23uDb6FXQeLlpU/img/guides/local-to-replicated/local-to-replicated.png?fit=max&auto=format&n=5I23uDb6FXQeLlpU&q=85&s=46477fef863ce2aca98efe0475ad0848" 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/p5izd8y8O8qgbNN8/img/guides/encore/encore.png?fit=max&auto=format&n=p5izd8y8O8qgbNN8&q=85&s=ac741ca6b0e0130a5c005792ebfc6c85" 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/p5izd8y8O8qgbNN8/img/guides/kafka-quickstart/kafka-quickstart.png?fit=max&auto=format&n=p5izd8y8O8qgbNN8&q=85&s=20e4fb6d916339ca1223585c1860146b" 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/p5izd8y8O8qgbNN8/img/guides/xstate/xstate.png?fit=max&auto=format&n=p5izd8y8O8qgbNN8&q=85&s=9822fcc9a413e85108cf09411a614e5f" width="1920" height="1080" data-path="img/guides/xstate/xstate.png">
    Integrate Restate with XState to implement durable state machines.
  </Card>
</CardGroup>
