> 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.md).

# Installation

Self-Managed Keeper installation instructions for your own infrastructure.

<figure><img src="https://762006384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJXOXEifAmpyvNVL1to%2Fuploads%2FMrshZIdqHNIZIDKPCUlH%2FKeeper%20-%20SMK%20Installation.jpg?alt=media&amp;token=ac080cd7-9b9e-44db-97f5-372510e7ab45" alt=""><figcaption></figcaption></figure>

Self-Managed Keeper is installed as a prebuilt bundle in your cloud, virtual, or on-prem environment. Installation only takes a few minutes once the host, DNS, certificate, and SMTP decisions below are made.

## Install Methods

Today there is one supported install method: [**Auto Docker Install**](https://docs.keeper.io/keeperpam/self-managed-keeper/self-managed-keeper-overview/installation/auto-docker-install.md). It installs from a prebuilt bundle onto a dedicated Linux host that already has Docker Engine and the Compose plugin, and does not require a source checkout or build tools.

### Configure DNS

Choose a hostname for your deployment, for example `keeper.example.com`, and a service domain for the service hostnames it depends on (by default the same as the hostname). Create DNS records mapping all of them to your server's IP address. See [Preparing for Installation](https://docs.keeper.io/keeperpam/self-managed-keeper/self-managed-keeper-overview/installation/preparing-for-installation.md) for the full list of names and what each one serves.

Ensure the DNS records map to an address reachable over HTTPS port 443 from both the host and every client.

### Decide on a certificate

Self-Managed Keeper terminates TLS at its own front door. During installation you're asked whether to use your own certificate instead of a self-signed one:

* **Answer N (the default)** and the installer generates a self-signed certificate authority and certificate automatically. This is fine for internal testing, but browsers and the Keeper Gateway will not trust it until its `ca.crt` is installed on them.
* **Answer Y** to provide your own certificate, already issued by a certificate authority (public or internal). You'll be asked for the full absolute path to your certificate file (full chain, PEM), your private key file (PEM), and, only for a private/internal CA, the CA root file. Make sure to transfer these files to your server before beginning installation.

A certificate from Let's Encrypt is obtained separately: see [TLS Certificates](https://docs.keeper.io/keeperpam/self-managed-keeper/self-managed-keeper-overview/installation/tls-certificates.md) for that process, then answer Y above and supply the issued files.

Whichever option you choose, the certificate must cover every required name, not just the main hostname. See [TLS Certificates](https://docs.keeper.io/keeperpam/self-managed-keeper/self-managed-keeper-overview/installation/tls-certificates.md) for the full requirements and how to verify the result.

### Prepare SMTP

Self-Managed Keeper requires an SMTP mail server before it will complete installation: invitations, device approvals, and the verification code needed for first sign-in are all delivered by email. The installer sends a test message and lets you correct the settings if it fails. Have the mail server hostname and port, credentials if required, and a permitted from-address ready before you start. See [Preparing for Installation](https://docs.keeper.io/keeperpam/self-managed-keeper/self-managed-keeper-overview/installation/preparing-for-installation.md) for the exact details to gather.


---

# 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.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.
