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

# Run the wizard — Confluent Cloud

> Walk all 14 prompts of the Confluent Cloud path — what each asks, what to pick, and what to prepare. For the CFK path, use the CFK wizard page instead.

ⓘINFO

**Wizard execution page — AWS EKS + Confluent Cloud path.** Running **AWS EKS + Confluent Platform (CFK)**? Use [Run the wizard — CFK](https://sariva.mintlify.site/install-setup/wizard-cfk.md) instead. Running the **Linux VM (Docker)** path? The wizard asks a much shorter set — every Kubernetes- and provisioning-only prompt below is skipped — and the walkthrough lives on the [VM page, section 3](https://sariva.mintlify.site/deploy/vm-docker-cc.md#3-run-the-wizard--option-4). Earlier pages prepare answers for individual wizard prompts. This page is where you run the full wizard and walk through every prompt in order.

The wizard is the canonical setup entry point. It's interactive and **offline** — it writes files locally and emits four artifacts in one pass:

| Artifact | Purpose |
| - | - |
| `config/customer_config.yaml` | Runtime config — stages, CC environments, Kafka cluster registry, Slack channels, GitHub repo, LLM block |
| `values.yaml` | Helm install-time inputs — LLM backend, image, replicas, pod AWS identity, Secret references, paging provider, credential source |
| `setup-secret.sh` | A bash template for creating the K8s Secret. You edit the placeholders and run it; the wizard never executes it. |
| `sariva-gitops/` | The unified Terraform scaffold, populated per your "initial scaffold" choice, with a vendored module library and workflow templates. |

⚠WARNING

**The wizard does not collect your secret values.** `setup-secret.sh` is a customer-edited template. Fill it later and do not commit it to Git.

## Where to run it

Run the wizard on any machine where you've installed the `sariva` CLI — a laptop, bastion, or VM. **Nothing is running yet at this point** — the wizard only **writes files locally**, makes **no** network calls, and touches **no** cluster or cloud account. You apply those files in the steps that follow.

```bash theme={null}
sariva setup wizard
```

`sariva setup wizard --help` lists the options per path: the values-file and secret-script options apply to the Kubernetes paths only; the VM path writes `docker-compose.yml` and `.env` instead.

## Walk the prompts

Fourteen user prompts, in order. The wizard establishes your **deployment path** first; every later question either belongs to a path dimension (cloud-gated) or is path-independent. Steps with external setup show a short summary here and link to the page that does it; the rest are self-contained.

### Step 1 — Deployment path

Asks each path dimension as its own short single-select, then the CI/CD applier question:

1. **Cloud + Sariva deployment** — AWS EKS, or **option 4 — Linux VM (Docker)**, which switches to the [VM path](https://sariva.mintlify.site/deploy/vm-docker-cc.md) and its shorter prompt set (Azure AKS and GCP GKE show as `[Planned]`, not yet selectable)
2. **Kafka flavor** — Confluent Cloud (CFK, MSK, Strimzi, Apache Kafka are `[Planned]`)
3. **Git host** — GitHub (GitLab, Bitbucket are `[Planned]`)
4. **CI/CD applier** — *Use GitHub's native CI (GitHub Actions) to apply Terraform?* **Y (default)** emits GitHub Actions workflow templates into the scaffold and enables the gitops workflow watcher; **N** skips both (Jenkins / ArgoCD / kubectl-only — you wire your own pipeline and register clusters with `sariva cluster register --from-tf-outputs`).

The supported combination today is **AWS EKS · Confluent Cloud · GitHub** — this page family: [AWS EKS + Confluent Cloud](https://sariva.mintlify.site/deploy/aws-eks-cc.md).

* *What to pick:* the supported values; explore the `[Planned]` entries freely — they re-prompt rather than abort.
* *Prepare:* your CI/CD applier decision. → [AWS S3/DynamoDB state with GitHub Actions](https://sariva.mintlify.site/install-setup/access-and-state/aws-github-actions.md)

### Step 2 — Platform identity

Asks for a platform name, **how Sariva should write its logs**, and a log level (INFO / WARNING / ERROR). The log-format choices: `[1] JSON` (default) — structured, for log tools (CloudWatch, Datadog, Loki) — or `[2] Plain text` — human-readable, for watching the terminal. The answer also silently sets the label-only `platform.environment` in `values.yaml` (JSON → `production`, plain text → `dev`); it is *not* a Confluent Cloud environment or a scaffold env — those come from step 5.

* *What to pick:* the name is cosmetic — it labels this deployment in Slack and logs. `[1] JSON` for anything real (structured logs feed log pipelines); `[2] Plain text` only for a local/dev install where you read pod logs by eye. INFO suits day-to-day operation.
* *Prepare:* nothing.

### Step 3 — Cloud region

For the supported AWS path, asks for the AWS region used by AWS-backed features (Bedrock, MSK, AWS Secrets Manager). Defaults to `us-east-1`. This question belongs to your cloud choice — a future Azure path would ask an Azure region instead.

* *What to pick:* the region where your EKS cluster and Kafka infrastructure already live.
* *Prepare:* nothing — just match your existing AWS footprint.

### Step 4 — LLM backend

Asks which model backend powers the agents: Ollama (in-cluster), Ollama (external / BYOK), Claude API, or AWS Bedrock.

* *What to pick:* Claude API for best quality; Bedrock to keep it inside your AWS account; Ollama if data must stay in your VPC. The model defaults to `claude-sonnet-4-6`.
* *Prepare:* Claude API → an Anthropic API key (templated as `ANTHROPIC_API_KEY`); Bedrock → model access enabled. → [LLM backend](https://sariva.mintlify.site/prerequisites/llm-backend.md) shows where to get the key.

### Step 5 — Initial scaffold

Defines the three terms that drive every deployment, then asks you to pick a shape and name the pieces:

* **Stage** — one AWS account boundary (holds the state backend + CI role; can contain several CC environments)
* **Env** — one Confluent Cloud environment
* **Cluster** — one Kafka cluster inside a CC env

Shapes: \[1] one account / one env / one cluster (POC), \[2] one account / multiple envs (multi-team), \[3] two accounts — dev + prod (recommended), \[4] custom.

* *What to pick:* shape 3 for anything heading to production; shape 1 for a POC. You can grow later via Slack ("add stage prod"), so don't over-build now.
* *Prepare:* names for your stage / env / cluster (defaults `dev` / `dev_env` / `dev_cluster`).

### Step 6 — Terraform state backend

Derived from your cloud (AWS → S3 + DynamoDB). Asks, per stage, for the S3 bucket and DynamoDB lock table that hold Terraform state — and whether you bring your own or have the agent create them.

* *What to pick:* point at existing names, or let the agent bootstrap them.
* *Prepare:* you create the actual bucket + lock table here. → [AWS S3/DynamoDB state with GitHub Actions](https://sariva.mintlify.site/install-setup/access-and-state/aws-github-actions.md) for the AWS + GitHub Actions path

### Step 7 — Cluster connection

For each cluster in your scaffold, asks whether Sariva **provisions** it (opens a GitOps PR; CI applies on merge) or connects to one that **already exists**.

* *What to pick:* Provision for new clusters; Exists to attach one you already run. Bootstrap servers and cluster IDs fill in from Terraform after the first apply.
* *Prepare:* if Exists, the cluster's connection details. → [Connecting Kafka clusters](https://sariva.mintlify.site/connecting-clusters/overview.md)

### Step 8 — Credential source

Asks where CI reads your Confluent Cloud credentials, and how CI authenticates to AWS (OIDC vs static keys). Cloud-gated — these are the AWS options — and worded per your step-1 CI/CD applier answer: with GitHub Actions the choices are *GitHub repo secrets (read by GitHub Actions)* vs AWS SSM; with your own pipeline (Jenkins / ArgoCD / etc.) they are *your pipeline's own secret store (self-managed)* vs AWS SSM, and the AWS-auth sub-question is pipeline-neutral (OIDC / assumed role vs static keys).

* *What to pick:* GitHub secrets + OIDC for production on the GitHub Actions path; on your own pipeline, however it already sources secrets, plus an assumed role over static keys.
* *Prepare:* nothing yet — you create the OIDC role next. → [AWS S3/DynamoDB state with GitHub Actions](https://sariva.mintlify.site/install-setup/access-and-state/aws-github-actions.md) for the AWS + GitHub Actions path

### Step 9 — Slack (optional)

Asks whether to configure Slack now, plus your approval and alerts channels (defaults `#kafka-approvals`, `#kafka-alerts`).

* *What to pick:* configure it — Slack is the human approval gate; skipping leaves the Deployment Agent unable to apply infrastructure changes.
* *Prepare:* the Slack app and its bot + app tokens (templated as `SLACK_BOT_TOKEN` / `SLACK_APP_TOKEN`). → [Create the Slack app](https://sariva.mintlify.site/prerequisites/slack/overview.md)

### Step 10 — Paging

Asks which paging provider should receive high-severity incidents — **None**, **PagerDuty** or **xMatters** — exactly one per install. The chosen provider's non-secret settings are asked here (xMatters' trigger URL); its secrets are named and templated into `setup-secret.sh`.

* *What to pick:* a provider if you page an on-call rotation; otherwise **None** (chat alerts still work).
* *Prepare:* PagerDuty — the routing key (templated as `PAGERDUTY_ROUTING_KEY`) → [PagerDuty](https://sariva.mintlify.site/prerequisites/paging/pagerduty.md); xMatters — the HTTP trigger URL plus an API key + secret (templated as `XMATTERS_API_KEY` / `XMATTERS_API_SECRET`) → [xMatters](https://sariva.mintlify.site/prerequisites/paging/xmatters.md)

### Step 11 — Network topology

Asks how Sariva's pod *reaches* the clusters it manages over the network — the path, not where the cluster lives. On Confluent Cloud the cluster runs in Confluent's own cloud account, never inside your VPC, so the choices describe the network path: a public bootstrap endpoint + API keys, a private network path (PrivateLink / VPC peering / Transit Gateway), or clusters spanning multiple clouds.

* *What to pick:* **public endpoint** if the cluster's bootstrap endpoint is reachable over the internet (the common Confluent Cloud case); **private network path** if you reach it via PrivateLink or peering.
* *Prepare:* nothing. The answer is recorded into `network_topology` / `networkTopology`, but is not yet wired to any scaffold behaviour — it does not change what the wizard emits today.

### Step 12 — Pod AWS identity (conditional)

Shown **only if** you chose an AWS-backed feature (Bedrock, MSK, AWS Secrets Manager / SSM). Asks for the IAM role ARN that gives the platform pod its AWS identity.

* *What to pick:* provide the role ARN if you use CloudWatch logs (the Log source step), pod health, Secrets Manager / SSM, MSK, or Bedrock; otherwise this prompt doesn't appear.
* *Prepare:* create the IAM role and have its ARN ready. → [Wire the pod's AWS identity](https://sariva.mintlify.site/install-setup/irsa.md)

### Step 13 — Output directory

Asks where to write the generated gitops scaffold (default `./sariva-gitops/`).

* *What to pick:* a working directory you control; the wizard writes the scaffold there.
* *Prepare:* nothing.

### Step 14 — Change delivery

The gitops repo Sariva opens infrastructure PRs into — the PR *destination*, a distinct decision from who *applies* the Terraform (the Step-1 CI/CD-applier answer). Sariva opens a PR here for every change **regardless of who applies it**. The git host comes from your deployment path (step 1) and is echoed; the wizard then asks for the repo and base branch.

* *What to pick:* if your Step-1 applier is **GitHub Actions**, the repo is required and the wizard goes straight to it (GitHub Actions applies the Terraform *from* this repo). If you apply with your **own pipeline** (Jenkins / ArgoCD / kubectl), you can defer it — but Sariva still opens its PRs here, so configure it unless you have a reason not to.
* *Prepare:* the repo and the Sariva platform GitHub token (`GITHUB_TOKEN`). → [GitHub](https://sariva.mintlify.site/prerequisites/github.md)

🔥DANGER

**Cross-cloud is fail-closed.** It is rejected unless you launch with `sariva setup wizard --allow-cross-cloud`, and the wizard logs a warning when you accept it. Cross-cloud is always a deliberate, audited choice.

### Step 15 — Log source

The **last** step on every path (it is step 8 on a VM/Docker install and step 13 on a CFK install — the number differs, the step is the same). Asks which log source Sariva may read application logs from — **AWS CloudWatch Logs**, **New Relic**, or **None** — exactly one per install, then an **optional install-wide budget**: GB scanned per month for CloudWatch, NRQL queries per day for New Relic (blank = no install cap: usage is tracked; every cap is per app, set by the SRE when they approve that app). New Relic's account ID and region (US / EU) are asked here; its User API key is named and templated (`NEWRELIC_API_KEY` in `.env` or in `setup-secret.sh`).

* *What to pick:* the source your app teams' logs already land in. **None** means Sariva will say it cannot read application logs — error-pattern alerts and log questions are off for every app, and the capability card says so. Whatever you pick, no app's logs are read until a platform SRE approves that app in the SRE channel — on-demand chat scans and scheduled monitoring are approved separately, each with its own caps.
* *Prepare:* CloudWatch — the pod AWS identity (step 12) or the VM's instance role with Logs Insights read; New Relic — the account ID, region and a read-only User API key. → [New Relic](https://sariva.mintlify.site/prerequisites/log-sources/newrelic.md) · [App logs & pod health](https://sariva.mintlify.site/app-teams/logs-and-pod-health.md)
* *What it writes:* `.env` always carries `LOG_SOURCE` (`cloudwatch`, `newrelic` or `none`) and `LOG_SCAN_BUDGET` (blank unless you set one); `values.yaml` carries the `logSource` block. A fresh install therefore never lands on *none* by accident — only by choice.

When you answer the last prompt, the wizard writes the four artifacts and prints a summary that opens with your resolved path:

```
Deployment path: AWS EKS · Confluent Cloud · GitHub · GitHub Actions
Follow the exact steps: docs.sariva.ai/deploy/aws-eks-cc
```

## Non-interactive mode

For CI pipelines, demo resets, or dev rebuilds:

```bash theme={null}
sariva setup wizard --from-answers answers.yaml
```

The answers file is validated against the wizard schema before any artifact is written. Same four outputs, zero prompts.

## Quick reference — steps with a dedicated page

These prompts have a full page with the setup and its prerequisites; the walkthrough above links to each:

| Wizard step | Detail page |
| - | - |
| 1 — Deployment path (incl. CI/CD applier) | [AWS EKS + Confluent Cloud](https://sariva.mintlify.site/deploy/aws-eks-cc.md); applier setup: [AWS S3/DynamoDB state with GitHub Actions](https://sariva.mintlify.site/install-setup/access-and-state/aws-github-actions.md), then [Bootstrap the infrastructure](https://sariva.mintlify.site/install-setup/infrastructure.md) |
| 4 — LLM backend | [LLM backend](https://sariva.mintlify.site/prerequisites/llm-backend.md) — incl. how to get the API key |
| 6 — Terraform state backend | [AWS S3/DynamoDB state with GitHub Actions](https://sariva.mintlify.site/install-setup/access-and-state/aws-github-actions.md) for the AWS + GitHub Actions path |
| 7 — Cluster connection | [Connecting Kafka clusters](https://sariva.mintlify.site/connecting-clusters/overview.md) |
| 8 — Credential source | [AWS S3/DynamoDB state with GitHub Actions](https://sariva.mintlify.site/install-setup/access-and-state/aws-github-actions.md) for the AWS + GitHub Actions path |
| 9 — Slack | [Create the Slack app](https://sariva.mintlify.site/prerequisites/slack/overview.md) |
| 10 — Paging | [PagerDuty](https://sariva.mintlify.site/prerequisites/paging/pagerduty.md) · [xMatters](https://sariva.mintlify.site/prerequisites/paging/xmatters.md) |
| 12 — Pod AWS identity (conditional) | [Wire the pod's AWS identity](https://sariva.mintlify.site/install-setup/irsa.md) |
| 14 — Change delivery (gitops repo) | [GitHub](https://sariva.mintlify.site/prerequisites/github.md) |
| 15 — Log source | [New Relic](https://sariva.mintlify.site/prerequisites/log-sources/newrelic.md) · CloudWatch: [App logs & pod health](https://sariva.mintlify.site/app-teams/logs-and-pod-health.md) |

## Continue the deployment path

> [card] [Next: review generated files](https://sariva.mintlify.site/install-setup/generated-files.md)
>
> Confirm the wizard emitted the expected config, Helm values, Secret script, and GitOps scaffold.

> [card] [Back to deployment path](https://sariva.mintlify.site/deploy/aws-eks-cc.md)
>
> Return to the supported deployment path checklist.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.