Skip to main content
Version: 3.1

Create a service account

Overview​

This flow describes how to create a service account from the Service accounts tab of a government organization or of a department.

After you create the service account, you give it a role in that place, so that it gets access there.

Pre-requisites​

  • If you create the service account from a government organization, the organization is on the Governance tab of your dashboard. It can also be a sub-organization of an organization on that tab.
  • If you create the service account from a department, you are a member of a department of that facility.
  • No other account uses the username, the email or the phone number of the new service account.
  • You have the permissions listed below.

Permissions​

PermissionAccess
Can create service account in careLets you create the service account. Care shows Add Service Account if you hold it in this government organization or a parent organization. In a department, Care shows it if you hold it in any department of this facility. To save, Care accepts it from a role in any government organization, responsibility or department. By default, the Administrator role holds it in a government organization. The Facility Admin and Administrator roles hold it in a facility. The Admin designation holds it in a responsibility.
Can List Users in an OrganizationsOpens the Service accounts tab of a government organization. Hold it in the organization or a parent organization. By default, the Volunteer, Doctor, Nurse, Staff and Administrator roles hold it in a government organization.
Can View Facility OrganizationsLets you see the departments of the facility and open one. Hold it in any department of the facility. To open the root department of the facility, hold it in the root department. By default, the Facility Admin, Administrator, Staff, Doctor, Nurse and Volunteer roles hold it.
Can List Users in a Facility OrganizationsOpens the Service accounts list of a department. Hold it in any department of the facility. By default, the Facility Admin, Administrator, Staff, Doctor and Nurse roles hold it.
Can Manage Users in an OrganizationNeeded in a government organization to give the service account a role there. Hold it in the organization or a parent organization. For each row under Role in this organization, hold it in that responsibility, or hold "Can Manage Connected Role Organizations" in a responsibility that manages it. By default, the Administrator role holds it in a government organization, and the Admin designation holds it in a responsibility.
Can Manage Connected Role OrganizationsLets you add the service account to a responsibility that a responsibility of yours manages. Hold it in the responsibility that manages it. By default, the Admin and Manager designations hold it.
Can Manage Users in a Facility OrganizationNeeded in a department to give the service account a role there. Hold it in that department, a department above it, or the root department of the facility. By default, the Facility Admin and Administrator roles hold it.

The role or designation that you give must not have a permission that your own roles there do not have.

Steps​

1. Open the Service accounts tab​

Open the Service accounts tab of the place where you want to create the service account.

  • For a government organization, select the Governance tab on your dashboard. Select the card of the organization. Select the Service accounts tab.
  • For a sub-organization, open its parent organization first. On the Organizations tab, select the sub-organization. Select its Service accounts tab.
  • For a department, open the facility from the Facilities tab of your dashboard. Select Settings. Select Departments. Open the department. Select the Service accounts tab.

The list shows the service accounts that have a role in this place.

In a government organization, the list shows the name, the username and the role of each service account.

Note: A responsibility has no Service accounts tab.

Note: In a government organization, Care shows the row of tabs only when more than one tab is available to you.

The Care screen at the step: Open the Service accounts tab

2. Open the Add New Service Account form​

Select Add Service Account. Care opens the Add New Service Account form.

If you do not see Add Service Account, you do not hold "Can create service account in care" in this place.

The Care screen at the step: Open the Add New Service Account form

3. Enter the details of the service account​

Enter the details that identify the service account.

ComponentsWhat it captures
First NameThe first part of the name of the service account. Required.
Last NameThe last part of the name of the service account. Required.
PrefixText before the name. Optional.
SuffixText after the name. Optional.
GenderThe gender recorded for the service account. Required.
UsernameThe name that identifies the service account. Required. Use 4 to 16 characters: lowercase letters, numbers, underscore (_) and hyphen (-). Start and end with a letter or a number. Do not put two of _ and - next to each other, in any order: __, --, _- and -_ are refused.
EmailAn email address for the service account. Required.
Phone NumberA phone number for the service account. Required. Use at most 14 characters.
Government organizationThe government organization of the service account, one level at a time. Optional.

As you type the username, Care shows Checking Availability. Then it shows Username is available or Username is not available.

If you opened the form from a government organization, Care selects that organization for you. If you opened it from a department, Care selects no organization.

Note: The government organization that you select is recorded on the service account. It does not add the service account to that organization.

The form has no Password Setup Method and no Professional profile. A service account has no password, languages or qualifications.

The Care screen at the step: Enter the details of the service account

4. Add responsibilities​

Under Role in this organization, each row of Responsibility Assignments adds the service account to a responsibility, with a designation. The rows are optional.

ComponentsWhat it captures
ResponsibilityA responsibility of the service account. The list shows the responsibilities that you belong to. It also shows the responsibilities that a responsibility of yours manages, if you hold "Can Manage Connected Role Organizations" there.
DesignationThe role of the service account in that responsibility. By default, the designations are Admin, Manager and Member.
  • To add no responsibility, leave the row empty.
  • If a row has a Responsibility, select a Designation for it.
  • To add one more responsibility, select Add Another. You can add each responsibility one time only.

Note: Care accepts a row only if you can manage the users of that responsibility. The designation must not have a permission that you do not have there.

The Care screen at the step: Add responsibilities

5. Create the service account​

Select Create Service Account.

The button stays disabled until you enter a value in the form.

Care shows Service account created successfully.

Care does not send an email to set a password.

If the username, the email or the phone number is already in use, Care does not create the service account.

The Care screen at the step: Create the service account

6. Give the service account a role​

The next step depends on where you created the service account.

  • In a government organization, Care opens Link Service Account to Organization. The new service account is already selected.
  • In a department, Care opens Link Service Account to Facility. The new service account is already selected.

In Select Role, select a role.

In a government organization, select Link to Organization. Care shows User added to organization successfully.

In a department, select Add to Organization. Care shows Service account added to organization successfully.

By default, the list of roles has these roles:

  • In a government organization: Volunteer, Doctor, Nurse, Staff and Administrator.
  • In a department: Volunteer, Doctor, Nurse, Staff, Pharmacist, Administrator and Facility Admin.

Care accepts only a role whose permissions you also have there. For example, if your only role there is Administrator, Care accepts only the Administrator or Volunteer role. A Facility Admin can give any of the default department roles.

Note: Care opens this form only if you have permission to manage the users of this place. If Care does not open it, or if you close it, the service account has no role here. It then does not show in the Service accounts list.

To give the service account a role later, see Add a service account to an organization or department.

The Care screen at the step: Give the service account a role

Expected Outcome​

  • Care creates the service account and shows Service account created successfully.
  • If you completed step 6, the service account has a role in the organization or the department. It shows in the Service accounts list. In a government organization, the list shows its role.
  • If you added rows under Role in this organization, the service account belongs to those responsibilities, with the designations that you selected.
  • You are the creator of the service account. Care shows Manage Token on its profile only to you.

Concepts:

Flows: