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

# Demo Setup Guide

Prepare DNS, TLS, and SMTP automatically on an evaluation host that doesn't already have them.

Use the optional "demo bootstrap" when an evaluation host doesn't already have usable DNS, trusted TLS, or SMTP. It prepares those prerequisites and then hands off to the normal installer; it does not replace the normal install. For bundle download, license import, and normal installation, see [Installation](https://docs.keeper.io/keeperpam/self-managed-keeper/self-managed-keeper-overview/installation.md) and [Preparing for Installation](https://docs.keeper.io/keeperpam/self-managed-keeper/self-managed-keeper-overview/installation/preparing-for-installation.md).

The sequence is: prepare the host and approved bundle, run the demo command, complete the listed external DNS/network actions, run the generated installer handoff, check health, then prepare each browser and complete first login.

```bash
./smk demo-environment install
```

The guided command asks for the public hostname, service domain, a reachable IP address, the administrator email, DNS/TLS choices, and the client networks allowed to open the local mail catcher. It lists the exact changes it's about to make to the host and requires you to type `apply` before making any of them.

### Supported hosts

The demo bootstrap runs on Linux `amd64`, on one of:

* Ubuntu 24.04 LTS
* Rocky Linux 9.x
* Amazon Linux 2023

Docker Engine with the Compose plugin, Python 3, OpenSSL, and the host's normal trust and service-management tools must already be installed. Unlike a normal install, this command needs outbound internet access during initial preparation to download its DNS and mail-catcher images; neither image ships in the normal offline bundle.

### What is prepared

The command installs three host-managed companions, kept separate from the normal deployment:

* a local DNS resolver for the generated demo records, when local DNS is selected;
* a local certificate authority and certificates, when local TLS is selected; and
* a local mail catcher that captures demo email instead of sending it externally.

It also writes narrowly scoped, reversible host integration: a split DNS rule for clients, the generated certificate authority added to the host's trust store when local TLS is selected, and firewall rules that expose the mail catcher's web interface only to approved client networks while keeping mail delivery private.

The command does not replace your system DNS resolver configuration, disable security tooling, weaken TLS, or distribute the certificate authority's private signing key.

### Complete the normal install

The command generates a quick-start guide, browser setup instructions, and an installer handoff script. Follow the generated instructions to complete the external DNS and network actions it lists, then run the generated handoff script to complete the normal install. You still need a valid Self-Managed Keeper license and sufficient host capacity; see [Licensing](https://docs.keeper.io/keeperpam/self-managed-keeper/self-managed-keeper-overview/licensing.md) and [System Requirements](https://docs.keeper.io/keeperpam/self-managed-keeper/self-managed-keeper-overview/installation/system-requirements.md).

### First login and email device approval

Follow the generated quick-start guide:

1. Complete the generated browser setup instructions on the client you'll use.
2. Open the generated Vault URL and sign in with the administrator email.
3. When prompted for device approval, request the approval email.
4. Open the mail catcher's web interface using its own separate credential (not your Self-Managed Keeper master password) and read the approval code.
5. Enter the code, then your master password, to finish signing in.

The mail catcher only captures demo mail; it does not deliver anything externally.

### Removal

Remove the normal installation first (`./smk remove`). Then run the demo removal command and type `remove` to confirm:

```bash
./smk demo-environment remove
```

This removes only the demo's own companions, generated state, trust anchor, DNS configuration, and firewall rules; it refuses to run while a normal installation is still present.

This bootstrap is for demonstrations and evaluation. It does not install or manage production certificate automation or any part of a production deployment.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.keeper.io/keeperpam/self-managed-keeper/self-managed-keeper-overview/installation/demo-setup-guide.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
