> For the complete documentation index, see [llms.txt](https://docs.digit.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digit.org/complaints-management/access/management-console-guide/tenant-management.md).

# Tenant Management

## Overview

Tenant Management groups everything about the account's identity and its structural masters - the things first set up during onboarding, now editable at any time. It contains six items:

<table><thead><tr><th width="169.9609375">Item</th><th>What it does</th></tr></thead><tbody><tr><td>Tenants</td><td>Lists every account registered under your root, and holds each one's contact details</td></tr><tr><td>Branding</td><td>Logo, brand colour and account name shown to citizens and employees</td></tr><tr><td>Departments</td><td>Create/edit departments (e.g. Environment, Building &#x26; Roads)</td></tr><tr><td>Designations</td><td>Create/edit job titles, each optionally linked to departments</td></tr><tr><td>Hierarchies</td><td>Define the boundary hierarchy, e.g. County → SubCounty → Ward</td></tr><tr><td>Map Configuration</td><td>Controls how maps look and where they open</td></tr></tbody></table>

#### Tenants

The master registry of every account under your root tenant. Every complaint, employee record, boundary and role assignment belongs to exactly one tenant, and the system uses that to keep accounts apart.

<div align="left"><img src="https://2002286464-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK894BCuKVRy7QDBs06em%2Fuploads%2FVyEDmBbaLOiPnsRkEH2z%2FTenants%20list?alt=media&amp;token=eaeef081-e07d-418b-a754-c8971616e1f4" alt="Tenants list" height="310" width="600"></div>

<table><thead><tr><th width="122.83203125">Column</th><th>What it tells you</th></tr></thead><tbody><tr><td>Code</td><td>The permanent identifier, e.g. CMS-Kenya. Every record points back to it</td></tr><tr><td>Name</td><td>The display name shown to staff and citizens</td></tr><tr><td>City</td><td>The city name on the tenant's city record</td></tr><tr><td>District</td><td>The parent district, used for grouping and reporting ("—" if not set)</td></tr><tr><td>Status</td><td>Whether the workspace is active</td></tr></tbody></table>

You can't create tenants here: new accounts come from sign-up and onboarding. Open a tenant and click Edit to maintain:

<table><thead><tr><th width="148.8125">Field</th><th width="146.25">Mandatory</th><th>What it's used for</th></tr></thead><tbody><tr><td>Code, Name</td><td>Locked</td><td>Change the name in Account menu → Workspace settings</td></tr><tr><td>Description</td><td>Optional</td><td>Shown on the citizen home page and the tenant picker</td></tr><tr><td>Helpline number</td><td>Optional</td><td>Shown on the citizen app's Helpline tile</td></tr><tr><td>Email</td><td>Optional</td><td>Contact email</td></tr><tr><td>Address</td><td>Optional</td><td>Shown in the citizen app's footer and contact pages</td></tr></tbody></table>

#### Branding

Your logo, name and colour appear across your workspace and on the apps citizens and employees use. This is the same editor as the onboarding Branding step.

<div align="left"><img src="https://2002286464-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK894BCuKVRy7QDBs06em%2Fuploads%2Fw6daUPT9gr686OY9JZHD%2FBranding?alt=media&amp;token=d7a6fb9e-ff12-4a5f-ab5e-8ac3156a27d6" alt="Branding" height="310" width="600"></div>

1. Under Account logo, click Upload logo and choose a PNG or JPG at least 128 px square (up to 2 MB). Use Replace or Remove to change it later.
2. Check the Account name. It's read-only here; change it in Account menu → Workspace settings.
3. Pick a Brand Theme colour (CMS Blue, DIGIT Orange, or Green and Gold).
4. Click Save changes. You'll see "Branding saved."

You need write access, such as the MDMS\_ADMIN system role. Without it, the screen says "Your role can see the branding but not change it."

#### Departments & Designations

These are the organisational labels an employee and a complaint are grouped under. A department is the part of government an employee belongs to, and the primary point of accountability for a complaint category. A designation is what an employee is called, akin to a job title. Neither decides what a person can do in CMS: permissions come from Roles.

<div align="left"><img src="https://2002286464-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK894BCuKVRy7QDBs06em%2Fuploads%2FqszuviIXWuwo2ed657Ro%2FDepartments%2C%20with%20Export%2C%20Bulk%20import%2C%20Refresh%20and%20Create?alt=media&amp;token=22e92472-dc49-4767-854a-e331984d9abc" alt="Departments, with Export, Bulk import, Refresh and Create" height="310" width="600"></div>

Departments, with Export, Bulk Import, Refresh and Create

## Steps

### Create a department

1. Go to Tenant Management → Departments and click Create.
2. Enter the Name (e.g. Public Works Department). The Code fills in automatically (e.g. PUBLIC\_WORKS\_DEPARTMENT); edit it if you want a shorter one, such as PWD\_DEPT.
3. Click Create. The department is active straight away.

<div align="left"><img src="https://2002286464-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK894BCuKVRy7QDBs06em%2Fuploads%2FHqyM6tv6DaNORvMmxZ84%2FCreate%20Department?alt=media&amp;token=672f46d1-e32f-4ad8-979f-63e8a340fc98" alt="Create Department" height="310" width="600"></div>

<table><thead><tr><th width="155.6875">Field</th><th>What it is</th></tr></thead><tbody><tr><td>Code</td><td>Permanent identifier; complaint categories and employee records point at it. Letters, numbers, _ . - / only. Can't be changed later. E.g. PWD_DEPT</td></tr><tr><td>Name</td><td>The human-readable name, 2-100 characters. E.g. Public Works Department. You can edit it directly in the list</td></tr><tr><td>Status</td><td>Active or Inactive. To retire a department, edit it and switch Active off</td></tr><tr><td>Description</td><td>Optional; edit it directly in the list</td></tr></tbody></table>

### Designations

Designations appear on the employee record, the org chart and reports. The system does not use them to run any flow.

<div align="left"><img src="https://2002286464-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK894BCuKVRy7QDBs06em%2Fuploads%2FAqk9QHawblkRuXcP98mr%2FDesignations?alt=media&amp;token=9bed9276-b165-4ab2-831e-a065628f707a" alt="Designations" height="310" width="600"></div>

<table><thead><tr><th width="154.77734375">Field</th><th width="147.87890625">Mandatory</th><th>What it is</th></tr></thead><tbody><tr><td>Name</td><td>Mandatory</td><td>The job title as displayed</td></tr><tr><td>Code</td><td>Mandatory</td><td>Permanent identifier, filled in from the name</td></tr><tr><td>Description</td><td>Mandatory</td><td>Free-text description of the job title</td></tr><tr><td>Departments</td><td>Optional</td><td>One or more departments this title is used in</td></tr><tr><td>Active</td><td>On edit</td><td>Whether the designation is still in use</td></tr></tbody></table>

#### Adding many at once

1. Click Export to download what already exists, or Bulk import → Download template for a blank sheet.
2. Fill in the rows. Departments need code and name; designations need code, name and description, with department codes comma-separated.
3. Upload the file, check the preview, then import. Codes that already exist are rejected, not overwritten.

### Hierarchies

This section defines the "geography levels" your account is broken into, e.g. County → SubCounty → Ward. Every complaint, employee jurisdiction and boundary record is tagged against one of these levels.

<div align="left"><img src="https://2002286464-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK894BCuKVRy7QDBs06em%2Fuploads%2Fo7VNtRulj4vK2RgdZpGY%2FBoundary%20Hierarchies?alt=media&amp;token=edaf853f-753a-43ab-a353-b76408e38a12" alt="Boundary Hierarchies" height="310" width="600"></div>

<table><thead><tr><th width="188.796875">Field</th><th>What it is</th></tr></thead><tbody><tr><td>Hierarchy Type</td><td>Identifier for the hierarchy, e.g. ADMIN, REVENUE, ELECTION. One per tenant per type</td></tr><tr><td>Tenant</td><td>Which tenant the hierarchy belongs to</td></tr><tr><td>Levels</td><td>The ordered list of boundary levels, e.g. County → SubCounty → Ward</td></tr></tbody></table>

#### Create a hierarchy

1. Click Create, choose the Tenant and enter the Hierarchy Type.
2. Add the levels from the top down. The first row is the root; for each later row, pick its Parent Boundary Type from the rows above.
3. Click Create.

Hierarchies can't be edited once created, so get the levels right first. Opening one shows its levels and an Audit section (created and last modified, and by whom; "System" means it was created during onboarding). You'd come here only when your administrative structure changes; the areas themselves are added under System → Boundaries.

### Map Configuration

This controls the map itself - which map provider and style load, how far users can zoom, where the map opens and where address search looks - not what geography exists.

<div align="left"><img src="https://2002286464-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK894BCuKVRy7QDBs06em%2Fuploads%2FLOA4AHCDWStsT3R0xFYq%2FMap%20Configuration%20list?alt=media&amp;token=59e50043-2e46-44cc-bfab-6b35b72582b4" alt="Map Configuration list" height="310" width="600"></div>

**Map Configuration list**

Open the DEFAULT record and click Edit. Every field is optional: anything left blank falls back to the platform default. The edit page shows a live preview map as you change settings.

<div align="left"><img src="https://2002286464-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK894BCuKVRy7QDBs06em%2Fuploads%2F96ecJqXG21kRYbbpg3e8%2FMap%20Configuration%20record%20(DEFAULT)?alt=media&amp;token=832850e6-15d6-4719-82a3-3bcdee0eb65a" alt="Map Configuration record (DEFAULT)" height="293" width="600"></div>

<table><thead><tr><th width="140.0234375">Group</th><th width="217.9140625">Field</th><th>What it controls</th></tr></thead><tbody><tr><td>Map provider</td><td>Map provider</td><td>OpenStreetMap tiles (default) or Google Maps</td></tr><tr><td>Map provider</td><td>Google Maps API key</td><td><p>Needed for Google Maps; use Test key to check your API key. </p><p>Restrict the key to your site's address. For now Google draws only the console's own maps; citizen maps still use tiles</p></td></tr><tr><td>Basemap</td><td>Base map theme</td><td>Visual style: voyager (default), light, dark or osm</td></tr><tr><td>Basemap</td><td>Custom tile URL / attribution</td><td>Use your own map imagery and its credit line; overrides the theme</td></tr><tr><td>Basemap</td><td>Ward highlight colour</td><td>Colour of a selected ward, as a hex value (default #FFA74F)</td></tr><tr><td>Starting position</td><td>Start latitude / longitude</td><td>The point the map opens on. Set it near the middle of your jurisdiction</td></tr><tr><td>Starting position</td><td>Start, minimum and maximum zoom</td><td>How close the map starts, and how far users can zoom out and in (0-22)</td></tr><tr><td>Ward boundaries</td><td>Boundary tenant</td><td>Which tenant's boundaries to draw</td></tr><tr><td>Address search</td><td>Search country codes</td><td>Restricts address search to countries, as lowercase codes (e.g. ke). Usually left blank</td></tr><tr><td>Address search</td><td>Search box (west, south, east, north)</td><td>The rectangle address search is confined to; it should enclose your jurisdiction with a small margin</td></tr></tbody></table>

Click Save to see "Map Configuration saved".

Start position, boundary tenant and search box are filled in from your boundaries during onboarding, so they only appear when editing.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.digit.org/complaints-management/access/management-console-guide/tenant-management.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
