Part 2: Configuring database connection for app runtime