Skip to main content
Version: Current

Database Configuration

Introduction

The Database Configuration page is a mandatory step in the initial setup of the AI Command Center.   It is displayed only once, during the first-time launch of the AI Command Center, and is used to configure the primary Database required for system operation.

The AI Command Center uses this Database to store:

  • Configuration data
  • Tenants
  • Users and roles
  • Process definitions
  • Runtime state, logs, and audit information

⚠️ Once the configuration is completed successfully, these settings cannot be modified through the UI.   Any future change requires manual intervention at the Database or deployment level.


Supported Databases & Authentication Modes

The AI Command Center supports Microsoft SQL Server and PostgreSQL, with authentication options varying by hosting platform.

DatabaseHosting PlatformSupported Authentication Modes
Microsoft SQL ServerWindowsSQL Server Authentication, Windows Authentication
Microsoft SQL ServerLinuxSQL Server Authentication only
PostgreSQLWindowsUsername & Password
PostgreSQLLinuxUsername & Password

Important Notes

  • Windows Authentication is supported only for SQL Server running on Windows
  • Linux deployments support password-based authentication only
  • PostgreSQL does not support Windows Authentication

Configuration Fields

The fields displayed during setup depend on the selected Database Type, Platform, and Authentication Mode.


Microsoft SQL Server (Windows)

Authentication Type: SQL Server Authentication

FieldDescription
Server NameHostname or network address of the SQL Server instance
Database NameName of the Database to be used by AI Command Center
Authentication TypeSQL Server Authentication
User NameSQL login name
PasswordPassword for the SQL login
Encryption KeyKey used to encrypt sensitive data stored by the system

Authentication Type: Windows Authentication

FieldDescription
Server NameHostname or network address of the SQL Server instance
Database NameName of the Database to be used
Authentication TypeWindows Authentication
Encryption KeyKey used to encrypt sensitive data

🔹 In this mode, the AI Command Center connects to SQL Server using the IIS Application Pool identity.


Microsoft SQL Server (Linux)

Only SQL Server Authentication is supported.

FieldDescription
Server NameSQL Server host
Database NameDatabase name
User NameSQL login
PasswordSQL login password
Encryption KeyEncryption key

PostgreSQL Server (Windows & Linux)

PostgreSQL uses username/password authentication only.

FieldDescription
HostPostgreSQL server hostname or IP address
PortPostgreSQL port (default: 5432)
Database NameDatabase name
User NamePostgreSQL login
PasswordLogin password
Encryption KeyEncryption key

Validating the Configuration

Before proceeding, you must validate the database connection.

  • Click Validate to test the connection
  • Validation checks:   - Server reachability   - Authentication credentials   - Database access permissions

Database Creation Rules

  • If the database does not exist:   - The configured user must have the Create Database permission
  • If the database already exists:   - Administrative privileges are not required

On successful validation, click Next to continue setup.


SQL Server Login Setup (SSMS)

A. SQL Server Authentication (sysadmin)

Use this option when the Database does not exist and must be created automatically.

  1. Open SQL Server Management Studio (SSMS)
  2. Connect using an administrator account
  3. Navigate to Security → Logins → New Login
  4. Select SQL Server authentication
  5. Enter:    - Login name    - Password
  6. (Recommended) Disable Enforce password policy for service accounts
  7. Go to Server Roles
  8. Select sysadmin
  9. Click OK

B. Windows Authentication (sysadmin)

This option applies only to SQL Server on Windows.

  1. Identify the IIS Application Pool name used by AI Command Center   (default example):
IIS APPPOOL\AI Command Center
  1. Open SQL Server Management Studio (SSMS)
  2. Navigate to Security → Logins → New Login
  3. Select Windows authentication
  4. Enter the Application Pool identity exactly as shown above
  5. Go to Server Roles
  6. Select sysadmin
  7. Click OK

PostgreSQL Login Setup (pgAdmin)

Create Login with Database Creation Permission

  1. Open pgAdmin
  2. Connect as a superuser (for example, postgres)
  3. Navigate to Login/Group Roles → Create → Login/Group Role
  4. Set:
  • Name
  • Can login? → Yes
  1. Go to Privileges
  2. Enable Can create databases
  3. (Optional) Enable Superuser if full administrative access is required
  4. Set the password under Definition
  5. Click Save

Platform-Specific Considerations

  • Windows Authentication works only with:
  • Microsoft SQL Server
  • Windows-hosted AI Command Center
  • Linux deployments support password-based authentication only
  • Existing databases can be reused without sysadmin privileges
  • The Encryption Key is critical and must be securely preserved

⚠️ Losing the Encryption Key may result in:

  • Inability to decrypt stored credentials
  • Failed upgrades or reinstallation

Upgrade Notes

  • Upgrading from Control Room 7.3.x to AI Command Center is supported
  • If using a custom IIS Application Pool account:
  • Ensure password changes are updated in IIS
  • Otherwise, a Service Unavailable error may occur

Official References

Microsoft SQL Server

PostgreSQL