> ## 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 — CFK

> Walk the wizard prompts for the AWS EKS + Confluent Platform (CFK) path — what each asks, what to pick, and what to prepare.

ⓘINFO

**Wizard execution page — CFK path.** Running **AWS EKS + Confluent Cloud**? Use [Run the wizard — Confluent Cloud](https://sariva.mintlify.site/install-setup/wizard.md) instead; the prompts differ. On the CFK path the wizard emits **Kubernetes manifests, not Terraform** — the state-backend and network-topology steps are skipped automatically.

The wizard is interactive and **offline** — it writes files locally, makes no network calls, and touches no cluster. It emits four artifacts in one pass:

| Artifact | Purpose |
| - | - |
| `config/customer_config.yaml` | Runtime config — stages, Kafka cluster registry, Slack channels, GitHub repo, LLM block |
| `values.yaml` | Helm install-time inputs — LLM backend, image, Secret references, PagerDuty toggle |
| `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 CFK bootstrap scaffold: a per-EKS `cfk-operator/` directory (operator + cert-manager chain) with an install README, plus the kubectl-apply workflow when GitHub Actions is the applier. **No cluster manifests** — every CP cluster is [deployed later by DM](https://sariva.mintlify.site/operate/deploy-cluster-cfk.md) and arrives as a PR. |

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

## Walk the prompts

### Step 1 — Deployment path

Asks each path dimension as its own short single-select:

1. **Cloud + Sariva deployment** — AWS EKS
2. **Kafka flavor** — **Confluent CFK (on Kubernetes)**
3. **Git host** — GitHub
4. **Manifest applier** — *Use GitHub's native CI (GitHub Actions) to apply the manifests?* **Y** emits a ready-to-use workflow that runs `kubectl apply`, and the CR-status watcher auto-registers each cluster once its `Kafka` CR reports Ready. **N** for Argo CD, Flux, or manual kubectl — the manifests still emit; you apply them and register clusters afterwards.

### The CFK block

Immediately after the path, the wizard asks the CFK-specific questions:

* **Confluent Enterprise license — platform-wide.** The wizard does **not** ask which package to deploy — that is a per-cluster decision you make later in the deploy conversation (a Community POC and an Enterprise prod cluster can share one platform). What it asks here: **do you have a Confluent Enterprise license key ready?** Default **No** — Enterprise clusters you later deploy run Confluent's 30-day evaluation until a license Secret is installed. **Yes** → name the Secret holding the license (you create it with your real key before applying; Sariva never sees the value). Community clusters need no license. See [Confluent Platform package](https://sariva.mintlify.site/prerequisites/cfk/package.md).

* **Enable Kafka authorization (ACLs)?** Default **Yes**. Components run as super-users, Sariva's principal is describe-only (writes denied), and app ACLs arrive via pull requests — disable only for throwaway clusters. Decide with [Confluent Platform package](https://sariva.mintlify.site/prerequisites/cfk/package.md); the model is in the [Permissions model](https://sariva.mintlify.site/prerequisites/cfk/permissions.md).

* **mTLS certificate source.** `[2] cert-manager + self-signed CA` is the recommended start and is emitted end-to-end. To use your own CA, bring the cluster up on the self-signed scaffold first, then seed the CA Secret and re-create the issuer — component certificates re-issue from your CA.

* **How the manifests are applied.** GitHub Actions kubectl, Argo CD, Flux, manual kubectl, or other. Sariva never applies them — it opens a PR.

* **StorageClass** (default `gp3`) and **Kubernetes namespace** (default `confluent`).

* **EKS cluster name Sariva runs on** — the platform's own cluster; **no default** (a wrong guess would misplace every cluster deployed later). Step 7's "same EKS as Sariva" answer reuses it.

* **AWS account ID that EKS cluster runs in (12 digits)** — **no default**; recorded on the emitted config's stage entry.

* *What to pick:* nothing needs deciding up front — the package is chosen per cluster at deploy time.

* *Prepare:* if you hold an Enterprise license, have the key ready to create its Secret out-of-band. Otherwise nothing.

### Step 2 — Platform identity

Platform name, log format (`[1] JSON` for anything real, `[2] Plain text` for local dev), and log level (INFO suits day-to-day).

### Step 3 — AWS region

The region used by AWS-backed features (Bedrock, Secrets Manager). Default `us-east-1` — match your existing footprint.

### Step 4 — LLM backend

Ollama (in-cluster), Ollama (external), Claude API, or AWS Bedrock. Claude API for best quality; the key is templated as `ANTHROPIC_API_KEY`. → [LLM backend](https://sariva.mintlify.site/prerequisites/llm-backend.md)

### Step 5 — Initial scaffold

Three terms drive a CFK deployment:

* **Stage** — one AWS account (which account the EKS cluster is in)
* **EKS** — one EKS cluster running **one CFK operator**
* **CP cluster** — one Confluent Platform stack on that EKS

Shape `[1]` — one account, one EKS, one CP cluster — is the POC starting point (multi-cluster and multi-EKS shapes are coming). You then name the stage (default `dev`) and the CP cluster (default `dev-cluster`).

### Step 6 — Terraform state backend — **skipped**

CFK applies Kubernetes manifests; there is no Terraform state on this path.

### Step 7 — Cluster connection

For each CP cluster, asks **where it runs relative to the Sariva pod** — `[A]` same EKS cluster, `[B]` different EKS in the same AWS account, `[C]` different AWS account — and the EKS cluster name. This sets how Sariva observes the cluster (and, for B/C, the cross-account reader role).

* *What to pick:* `[A]` for the POC shape — Sariva and Confluent Platform share the EKS cluster.

### Step 8 — EKS apply credentials — conditional

Skipped for manual kubectl / Argo CD / Flux (your reconciler owns its own auth). Asked only when GitHub Actions is the applier.

### Step 9 — Slack

Slack is the human approval gate — skipping leaves the Deployment Agent unable to execute changes. Approval + alerts channels default to `#kafka-approvals` / `#kafka-alerts`; tokens are templated as `SLACK_BOT_TOKEN` / `SLACK_APP_TOKEN`. → [Create the Slack app](https://sariva.mintlify.site/prerequisites/slack/overview.md)

### Step 10 — Paging

Pick **None**, **PagerDuty** or **xMatters** — exactly one per install. PagerDuty's routing key is templated as `PAGERDUTY_ROUTING_KEY`; xMatters asks for its trigger URL and templates `XMATTERS_API_KEY` / `XMATTERS_API_SECRET`. → [PagerDuty](https://sariva.mintlify.site/prerequisites/paging/pagerduty.md) · [xMatters](https://sariva.mintlify.site/prerequisites/paging/xmatters.md)

### Step 12 — Pod AWS identity — conditional

Skipped unless an AWS-backed runtime feature needs it. → [Wire the pod's AWS identity](https://sariva.mintlify.site/install-setup/irsa.md)

### Step 13 — Output directory

Where to write the scaffold (default `./sariva-gitops/`).

### Step 14 — Change delivery

The GitHub repo Sariva opens infrastructure PRs into — every topic and cluster change arrives as a PR here **regardless of who applies it**. The token is templated as `GITHUB_TOKEN` with `repo, workflow` scopes. → [GitHub](https://sariva.mintlify.site/prerequisites/github.md)

## What the summary tells you

The wizard ends by echoing your resolved path and the CFK-specific next steps:

```
Deployment path: AWS EKS · Confluent CFK (on Kubernetes) · GitHub · GitHub Actions
Follow the exact steps: docs.sariva.ai/deploy/aws-eks-cfk
```

The **image-pull Secret** is called out for every path. If you answered **yes** to the license question, the **license Secret** joins it, and the wizard prints the exact real-key command (`license=<key>` format — Confluent validates strictly); if you answered no, there is no license Secret at all, and any Enterprise cluster you later deploy runs the 30-day evaluation (expires in 30 days; don't scale to zero during the trial). The scaffold's `cfk-operator/README.md` repeats the same two-path model. Secrets are never held by Sariva. **No Confluent Cloud API keys are needed** — the data plane is mTLS via cert-manager.

## Non-interactive mode

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

Same artifacts, zero prompts. The `cfk.cp_package` field is **optional and normally absent** — the package is decided per cluster in the deploy conversation, not in the answers file. Older answers files that still carry it are accepted for back-compat.

## Continue the deployment path

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

> [card] [Back: AWS EKS + Confluent Platform (CFK)](https://sariva.mintlify.site/deploy/aws-eks-cfk.md)
>
> Return to the CFK path map.


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