> ## 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](/pro/installation/unattended-installation).
</Note>

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

For example, if you deployed Databunker Pro on Kubernetes, you can print the access code with the following command line:

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

<Steps>
  <Step title="Open the web interface in your browser">
    By default, the web interface is exposed on port 3000.
  </Step>

  <Step title="Submit access code and license key">
    [Book a call](https://cal.com/databunker-team/30min) to purchase a license key, or leave empty to run Databunker Pro in Trial mode.

    <img src="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" alt="Initial setup for Databunker Pro" width="1208" height="1184" data-path="pro/installation/setup-form.png" />
  </Step>

  <Step title="Copy the generated secrets">
    Copy the following secrets from the page and store them securely:

    * Root Access Token
    * Wrapping Key
    * Shamir Key Shares

          <img src="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" alt="A setup page displaying root access token and encryption keys" width="1392" height="1494" data-path="pro/installation/setup-complete.png" />
  </Step>

  <Step title="Start Databunker Pro">
    Finally, click **Start Databunker Pro** to start the service.
  </Step>
</Steps>

Databunker Pro is now running and ready to use. Next, learn how to issue scoped credentials in the [Authentication reference](/pro/api/authentication).
