> For the complete documentation index, see [llms.txt](https://docs.garden.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.garden.io/acorn-0.12/tutorials/your-first-project/2-connect-to-a-cluster.md).

# 2. Connect to a Cluster

In order to deploy your new project, you (perhaps obviously) need somewhere to deploy it to.

Here we hit a bit of a fork in the road, since you have a choice between setting up a local Kubernetes cluster on your dev machine *or* to connect to a remote cluster.

We have separate guides for each of these options. Pick the one you prefer, walk through that guide, and then come back here or skip straight to the [next section](/acorn-0.12/tutorials/your-first-project/3-deploy-and-test.md).

* [Local Kubernetes](/acorn-0.12/kubernetes-plugins/local-k8s.md)
* [Remote Kubernetes](/acorn-0.12/kubernetes-plugins/remote-k8s.md)

Once you've set up your cluster and updated your project configuration accordingly, we can move on to [deploying and testing your project](/acorn-0.12/tutorials/your-first-project/3-deploy-and-test.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.garden.io/acorn-0.12/tutorials/your-first-project/2-connect-to-a-cluster.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
