Skip to content

First start and go-live#

What has to be done, in order, between the first start of Empowerment Center and the day users start working. Each step points to the page that explains it in full.

Before you start#

The first administrator#

ECENTER_ADMIN_LOGIN and ECENTER_ADMIN_PASSWORD create a user only if the own database has no user, that is, on the first start:

  • The user is created with the description “Administrador del sistema” and the role System administrator, which has System administration.
  • Their password must have at least 10 characters and not exceed 72 bytes (72 characters without accents, fewer with accented letters). If it does not meet this, the backend does not start.
  • If both variables are missing and the database has no users, the backend starts but nobody can sign in. The log warns about it.
  • After the first start they do nothing: you can remove them from deploy/.env. Changing their value does not change the administrator's password.

This administrator is also the emergency route if the identity provider fails: they sign in with their password even if the rest of the organization signs in with single sign-on. Keep their credentials in a safe place and use personal users for daily work.

Checklist#

Step Where Details
1 Sign in with the first administrator The public address The first administrator
2 Install the license Administration › License The license
3 Check the server Administration › Operations Check the server
4 Configure email deploy/.env Configure email
5 Add the first connection Administration › Connections Connections
6 Describe its data in the metadata Administration › Metadata Metadata
7 Create the users and roles Administration › Users and roles Security
8 Connect the identity provider (optional) Your own application.yml Security
9 Turn on the optional parts deploy/.env Optional services
10 Plan the backups The server Backups and restore

Check the server#

  1. Open Administration › Operations.
  2. In Summary, check that Own DB says Answers and that its Engine is the expected one (with the own database in Oracle, also its Schema), that the License is valid and that the Version is the expected one.
  3. In Policies, check the session expiry, the workbook backups and, in Email notifications, whether there is a Mail server.
  4. In Alerts, check that none is open.
The summary of the operations console with the server, the own database, the disk and the licenseThe summary of the operations console with the server, the own database, the disk and the license
The summary of the operations console with the server, the own database, the disk and the license

Configure email#

ECenter sends by email the subscriptions, the data alerts, the operations console and scheduling notifications, and the notice to whoever holds a service credential that is about to expire.

  1. In deploy/.env, uncomment and fill in SPRING_MAIL_HOST, SPRING_MAIL_PORT, the user and the password, and, if the server asks for it, authentication and STARTTLS.
  2. Put the sender in ECENTER_MAIL_FROM (ecenter@example.org).
  3. To receive the console notifications, configure ecenter.operations.notifications.mode and its recipients.
  4. Recreate the backend: docker compose -f deploy/compose.yaml up -d backend.
  5. In Administration › Operations › Policies, Mail server changes to Configured.

All the variables are in Mail and notifications. To check sending end to end, create a subscription to a document and use Send me a test.

Users receive email at the address in their record. Without an address, they receive no subscriptions or notifications.

The first connection and its metadata#

Each customer database is added as a connection in Administration › Connections (New connection…, with Test before Create connection). The backend must be able to reach it over the network. Then, in Administration › Metadata, its tables are described so that users can analyze them, or the metadata of an Empowerment Center 7 installation is imported (see Migration from EC7).

Connection passwords are stored encrypted with ECENTER_SECRETS_KEY.

Important

If the own database is in the same database as the data (a schema of the organization's Oracle), the connection's user must be different from ECenter's and cannot see its tables. ECenter checks it when testing and saving the connection, and afterwards with an alert (see Prepare the database).

Users and roles#

In Administration › Users and roles, New user… adds each person with their login, their email and their password (or without a password, if they sign in with the identity provider). The installation comes with these roles:

Role Privileges
System administrator System administration.
Metadata administrator Metadata administration.
User administrator User administration.
Empowerment Center user Access to Empowerment Center, Portal access, Workbook administration, Subscriptions, Data alerts and No level defined (what is not protected in the metadata).
Portal user Portal access, Subscriptions and No level defined.

In Spanish these roles are Administrador Sistema, Administrador Metadata, Administrador Usuarios, Usuario Empowerment Center and Usuario Portal: each user sees them in their language while they keep their original name.

Important

Empowerment Center user carries Workbook administration, as in Empowerment Center 7: whoever has it opens and modifies all workbooks, manages lists, groupings and external data, and schedules recalculations. For analysts, create a role without that privilege (see Security).

Roles can be changed and others can be created. If the organization has an identity provider, it can add and remove users through SCIM. All of this is in Security.

What to review before opening to users#

  • The time zone (TZ): it governs the dates in PDFs, in schedules and in emails.
  • Session expiry: 30 minutes without use and 12 hours at most since signing in (see Sessions, security and license).
  • The help text on the sign-in screen (ECENTER_LOGIN_HELP), for example with the support service's phone number.
  • That the backups of the own database work and that ECENTER_SECRETS_KEY is kept separately.

See also#