> For the complete documentation index, see [llms.txt](https://docs.subsalt.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.subsalt.io/product/subsalt-managed/installation-guide.md).

# Installation Guide

### Install the Subsalt CLI

The Subsalt CLI allows you to perform administrator operations on your instance.

{% tabs %}
{% tab title="Linux" %}
**arm64:**

<pre class="language-bash"><code class="lang-bash"><strong>wget https://subsalt-cli-public.s3.us-west-2.amazonaws.com/releases/latest/linux/arm64/subsalt.tar.gz &#x26;&#x26; \
</strong><strong>    tar -xvzf subsalt.tar.gz
</strong></code></pre>

**amd64:**

```bash
wget https://subsalt-cli-public.s3.us-west-2.amazonaws.com/releases/latest/linux/amd64/subsalt.tar.gz && \
    tar -xvzf subsalt.tar.gz
```

{% endtab %}

{% tab title="Mac" %}
**arm64:**

```bash
wget https://subsalt-cli-public.s3.us-west-2.amazonaws.com/releases/latest/darwin/arm64/subsalt.tar.gz && \
    tar -xvzf subsalt.tar.gz
```

**amd64:**

```bash
wget https://subsalt-cli-public.s3.us-west-2.amazonaws.com/releases/latest/darwin/amd64/subsalt.tar.gz && \
    tar -xvzf subsalt.tar.gz
```

{% endtab %}

{% tab title="Windows" %}
**arm64:**

```bash
wget https://subsalt-cli-public.s3.us-west-2.amazonaws.com/releases/latest/windows/arm64/subsalt.tar.gz && \
    tar -xvzf subsalt.tar.gz
```

**amd64:**

```bash
wget https://subsalt-cli-public.s3.us-west-2.amazonaws.com/releases/latest/windows/amd64/subsalt.tar.gz && \
    tar -xvzf subsalt.tar.gz
```

{% endtab %}
{% endtabs %}

### Create a cluster

Generate a Terraform template for your cluster by running:

```bash
$ subsalt generate-infrastructure
```

Follow the instructions provided by the CLI, including reviewing configuration values to confirm that they're accurate for your environment. It's important to configure `backend.tf` to target a bucket/storage account container that you have access to when running the terraform commands.

Create your cluster by running:

```wasm
$ terraform apply
```

{% hint style="warning" %}
Make sure you're authenticated into a cloud account with sufficient permissions in your terminal before running `terraform apply` .
{% endhint %}

### Configuring Subsalt team access

Subsalt support engineering needs access to your Kubernetes cluster in order to manage the instance.&#x20;

#### Azure guest accounts

This method provides "contributor" access to your Subsalt cluster for Subsalt's support engineering team, which will allow us to monitor system health and apply configuration changes or updates as needed.

To issue the invites:

1. Log in to the Azure portal
2. Navigate to **Users**
3. Click on the arrow to the left of **+ New User** and click **Invite external user**
4. Fill out the form for user `managed-support-eng@getsubsalt.com`
   1. No initial Groups or Roles are required to be assigned in this part of flow
5. Find the resource group with the name starting with **MC\_subsalt-cluster**
6. Assign the **Contributor** role on this resource group for the invited user
   1. You can do this in the **Access Control (IAM)** page for the resource group
   2. The **Contributor** role will be under **Privileged administrator roles**
7. Find the resource group with the name **subsalt-cluster**
8. Assign the **Contributor** role on this resource group for the invited user
   1. You can do this in the **Access Control (IAM)** page for the resource group
   2. The **Contributor** role will be under **Privileged administrator roles**


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.subsalt.io/product/subsalt-managed/installation-guide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
