> 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/complaints-resolution-v2.10/deploy/setup/production-setup/deploy-complaints-management/unified-approach-not-for-publish.md).

# Unified Approach (Not for publish)

The Unified Approach uses a single notebook  to complete all four data loading phases in one place, simplifying the setup process for users who prefer an all in one workflow.

### Introduction

This section will help you load master data into the DIGIT CRS (Citizen Complaint Resolution System) using a simple step-by-step process. You will use Jupyter Notebook to download Excel templates, fill in your data, and upload them to the system.

What you will do:

1. Log in to the CRS  (via Jupyter Notebook)
2. Upload Tenant (City/ULB) information
3. Upload Boundary (Zone/Ward/Block) information
4. Upload Departments and Complaint Types
5. Upload Employee information

***

### Pre-requisites

Make sure the following are setup and available before starting:

<table><thead><tr><th width="204.35546875">Item</th><th>Description</th></tr></thead><tbody><tr><td>Computer</td><td>Windows, Mac, or Linux</td></tr><tr><td>Internet</td><td>Stable internet connection</td></tr><tr><td>Browser</td><td>Chrome, Firefox, or Edge</td></tr><tr><td>Credentials</td><td>Admin username and password (ask your IT team)</td></tr><tr><td>Gateway URL</td><td>Your CRS domain URL (ask your IT team)</td></tr></tbody></table>

## Steps

{% stepper %}
{% step %}

#### Open Jupyter Notebook

Your IT team should have already installed the Jupyter Notebook on your computer.

Open your browser and go to: `http://localhost:8888/tree`

![](https://805553164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FszvWp0bRxYU0P0l6DKOo%2Fuploads%2F6WdD9blm0UXxeFFD9nOr%2Funknown.png?alt=media\&token=0069c5d0-369d-44aa-b395-8caa3fcbed41)
{% endstep %}

{% step %}

### Access the Jupyter home screen

The Jupyter home screen will be visible.

<div align="left"><figure><img src="https://805553164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FszvWp0bRxYU0P0l6DKOo%2Fuploads%2FU5X2YY6hBDj5Red6BIqw%2Fimage.png?alt=media&amp;token=79277006-3848-4e4b-8504-b5779e772486" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Open Data Loader

Navigate to Citizen-Complaint-Resolution-System/utilities/crs\_dataloader and open DataLoader.ipynb

<div align="left"><figure><img src="https://805553164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FszvWp0bRxYU0P0l6DKOo%2Fuploads%2FJAyPReMXZZ2j1PBvIXig%2Fimage.png?alt=media&amp;token=3d34c636-669a-428f-8000-fd5d2045618e" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Use the Notebook

The notebook opens multiple sections (called "cells")

![](https://805553164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FszvWp0bRxYU0P0l6DKOo%2Fuploads%2FwN8jK1wWgNMvAXs1dWqA%2Funknown.png?alt=media\&token=92185af7-ed14-42c5-8219-9df4f9be54fc)

[Refer here ](#using-notebook)to learn how to use this notebook.
{% endstep %}
{% endstepper %}

## Using Notebook

#### Understanding Cells

The notebook has many boxes called "cells". Each cell does one task.

#### Running a Cell

To run a cell:

1. Click on the cell
2. Press Shift + Enter on your keyboard

OR

Click the "Run" button in the toolbar

![](https://805553164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FszvWp0bRxYU0P0l6DKOo%2Fuploads%2FQaEcZGC559cqUIVCXmCO%2Funknown.png?alt=media\&token=986346ec-9560-41d4-a976-12eef8951ba2)

You can download the required Excel templates from this section. These templates are used for uploading master data in different phases of the CRS setup from jupyter notebook.

![](https://805553164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FszvWp0bRxYU0P0l6DKOo%2Fuploads%2F9ixrRtjO70ULPcMIGkj8%2Funknown.png?alt=media\&token=fe323a94-94c1-42b9-93d7-aee1a53b9264)

**Excel Templates**

All four phases of data loading are completed using this notebook. Each phase requires an Excel template:

| Phase   | Data                          | Template                                                                                                                                   |
| ------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| Phase 1 | Tenant & Branding             | [Download template](https://docs.google.com/spreadsheets/d/1V9_DkR0WKm7CtZ4Rfcy-3yNtaPj5zL7VKXXvGjXquWs/edit?usp=sharing) or from notebook |
| Phase 2 | Boundary                      | Auto-generated based on hierarchy configuration                                                                                            |
| Phase 3 | Departments & Complaint Types | [Download template](https://docs.google.com/spreadsheets/d/1CQOSxJZBi3LJ8PUrJW3mkiEHTmGDp-F8ZPw4ShvRBUA/edit?gid=0#gid=0) or from notebook |
| Phase 4 | Employee                      | Auto-generated based on MDMS configuration                                                                                                 |

{% hint style="info" %}
**NOTE:** Phase 2 and Phase 4 templates are dynamically generated by the notebook to include dropdowns and values specific to your tenant setup.
{% endhint %}


---

# 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/complaints-resolution-v2.10/deploy/setup/production-setup/deploy-complaints-management/unified-approach-not-for-publish.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.
