What to do in the first ten minutes after installing BlackBox Analytics.
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.
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.
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 |
Admin → Overview should show:
If the processing service is unavailable, see troubleshooting.
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.
Either or both:
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.
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.
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.
BBA_ADMIN_PASSWORD removed from .envBBA_SECRET_KEY backed up somewhere other than the host