initial-setup

Initial setup

What to do in the first ten minutes after installing BlackBox Analytics.

1. Sign in as the bootstrap administrator

On an empty installation the application creates one administrator from BBA_ADMIN_EMAIL and BBA_ADMIN_PASSWORD. Both must be set; if either is missing, start-up logs a warning and creates nobody, and you will have no way in.

Open https://<BBA_DOMAIN>/ and sign in with those credentials.

The bootstrap account is created only while no user accounts exist. Once any user exists the two variables are ignored, so a later change to BBA_ADMIN_PASSWORD does nothing.

2. Change the password, then remove it from the environment

Change the bootstrap password immediately: open the user menu at the bottom of the left rail and choose Change password. Changing your own password signs out your other devices.

Then delete BBA_ADMIN_PASSWORD from .env and docker compose up -d so the plaintext password stops living on disk.

The password policy is enforced by the server: at least 12 characters (configurable), at least three of lower case, upper case, digits and symbols, not a well-known password, and not containing your own email address.

3. Set the installation name and locale

Admin → Settings → General:

setting effect
Installation name shown in the browser title and the left rail
Default timezone the timezone dates are presented in
Locale number and date formatting, e.g. en-GB

4. Check the system overview

Admin → Overview should show:

If the processing service is unavailable, see troubleshooting.

5. Create the people who will use it

Admin → Users → New user. Give a name, an email address and a role.

role can do
viewer open shared dashboards and shared insights
analyst everything a viewer can, plus upload files, create and configure datasets, explore, save insights, build dashboards, and see the job queue
admin everything, plus users, connections, settings, API keys, schedules and the audit log

Roles are hierarchical: admin > analyst > viewer.

Leave the password field blank and the server generates a temporary one and returns it once, on the creation screen, with a copy button. There is no way to see it again. Send it to the person over a channel you trust; their first sign-in will require them to choose their own password before they can reach anything else.

Reset password on an existing user does the same thing and signs that user out everywhere.

Two rules the server enforces, so nobody can lock the installation out:

Deactivating a user revokes all of their sessions immediately.

6. Connect some data

Either or both:

7. Teach the engine what the data means

After the first load finishes, open the dataset and spend a few minutes on the Fields tab. Two edits pay for themselves immediately:

Everything else is in datasets and field configuration.

8. Optional: turn on AI

The product is complete without it — questions are interpreted by rules and explanations come from deterministic templates. If you want AI wording, see AI configuration, which also documents exactly what leaves the installation.

9. Optional: embed in Salesforce

To frame the app inside Salesforce, add the Salesforce origins in Admin → Settings → Embedding → Allowed origins. Enter the exact https:// origin supplied by your Salesforce administrator, such as https://acme.lightning.force.com. Add only sites managed by your organisation. See Access and privacy settings.

Checklist