PulseSensor -Eclipse Kapua configuration
In a previous section of this chapter we have seen all the software components which have been used in this project. While we explained in another chapter already the installation process of the components, we need to continue here with the project specific configuration of the various components.
Eclipse Kapua™
There are a couple of configurations which we have to male in the Eclipse Kapua™ platform. We will create a new Child account, assign a new user to this account and manage some account specific settings.
This is all done with our kapua-sys account (user=kapua-sys, password=kapua-password).
Creating a new Child Account
Go to [Child Accounts]->[Add] and add a new account by providing a name, organizational name and an organizational email-address. While with the PulseSensor application we are representing a healthcare-related use case, we choose a hospital (Derry-Hospital) for this child-account.

Creating a new User and assign it to the new account
Select the account we just created, click [Users] and add a user with username, Display name, email address and telephone number (optional). At this point, we are not yet able to assign privileges to this user, this comes some steps later.

Now we need to switch to our new created account.

Modifying Account Settings
For our new account – Derry-Hospital – we need to adapt some settings which enable us to further work with this account.
In [Child Accounts]->[Derry-Hospital] click on the tab [Account Settings]. For specific services, we need to adapt the number allowed number of these services to enabled on the system.
This needs to be done for the following services:
- Account Services -> infiniteChildAccounts = true
- DeviceRegistryServices -> infiniteChildDevices = true
- GroupService ->infiniteChildGroups = true
- JobService ->infiniteChildJobs = true
- RoleService ->infiniteChildRoles = true
- TagService ->infiniteChildTags = true
- UserService ->infiniteChildUsers = true

Modifying User privileges and roles
Login in with the kapua-sys user and witch to the Derry-Hospital account.

From here, go to [Users]->[Physician-1] and switch to the tab [Roles]. Assign the Admin role to the user Physician-1. Then go over to the [Permissions] tab and grant all permissions to this user.
