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

# Generate admin credentials

> This page explains the steps needed to set up Databunker Pro for the first time.

## Before you start

To complete this guide, you'll need:

* Databunker Pro installed
* *(Optional)* A Databunker Pro License Key.

> [!NOTE]
>
> Automating your deployment? You can complete this setup over the API without a browser — see [Unattended installation](https://docs.databunker.org/pro/installation/unattended-installation.md).

## Copy the generated access code from the logs

When Databunker Pro starts for the first time, it generates a six-digit access code and outputs it to the service logs.

How you read the logs depends on how you deployed Databunker Pro:

> [tab] Docker Compose
>
> From your `docker-compose-*` directory, follow the Databunker Pro container logs and wait for the access code, then press `Ctrl-C` to leave the log view:
>
> ```sh theme={null}
> ./logs.sh
> ```

> [tab] Kubernetes
>
> ```sh theme={null}
> kubectl logs deployment/databunkerpro | grep "Access code"
> ```

## Complete the setup in your browser

To complete the setup, you'll need access to the Databunker Pro web interface from your browser.

**1. Open the web interface in your browser**

By default, the web interface is exposed on port 3000.

**2. Submit access code and license key**

You have three options for the license key field:

* **Trial license key** — create a free trial account at [portal.databunker.org/trial](https://portal.databunker.org/trial) and generate a key that covers up to **1 million records for 30 days**.
* **Leave it empty** — Databunker Pro runs in Trial mode, limited to **1,000 records for 14 days**, which is enough to evaluate it.
* **Paid license key** — request a production license in the [Databunker Portal](https://portal.databunker.org) and fetch the key once it is approved.

> [!NOTE]
>
> Trial mode expires 14 days after setup, after which the vault becomes read-only. A portal trial key raises this to 1 million records for 30 days. See [Licensing and limits](https://docs.databunker.org/pro/get-started/licensing.md) for record caps, expiry behaviour, and how many licenses a deployment needs.

![Initial setup for Databunker Pro](https://mintcdn.com/databunker-a1572a73/hvGKCYP1R-BJ-Gdg/pro/installation/setup-form.png?fit=max\&auto=format\&n=hvGKCYP1R-BJ-Gdg\&q=85\&s=d7d1f371b51595961192209f13b82e10)

**3. Copy the generated secrets**

Copy the following secrets from the page and store them securely:

* Root Access Token
* Wrapping Key
* Shamir Key Shares

  ![A setup page displaying root access token and encryption keys](https://mintcdn.com/databunker-a1572a73/hvGKCYP1R-BJ-Gdg/pro/installation/setup-complete.png?fit=max\&auto=format\&n=hvGKCYP1R-BJ-Gdg\&q=85\&s=24513fe31ef138c1126857960f95f7d3)

**4. Start Databunker Pro**

Finally, click **Start Databunker Pro** to start the service.

Databunker Pro is now running and ready to use. Next, learn how to issue scoped credentials in the [Authentication reference](https://docs.databunker.org/pro/api/authentication.md) — and before going live, work through the [production checklist](https://docs.databunker.org/pro/installation/production-checklist.md).


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