1. Login & Add Tenant
Last updated
Was this helpful?
This step connects the notebook to your CMS environment. It also creates your first root tenant (top-level tenant).
A running data loader notebook for CMS.
Default admin credentials from your deployment.
Your tenant identifiers (example: state pg, city pg.citya).
Run the login() cell. Use an admin user that has SUPERUSER.
Run the create_tenant() cell. Fill these fields:
Tenant code / tenantId: short, unique code. Example: pg.
Name: internal name. Example: Punjab.
Display name: UI label. Example: Government of Punjab.
Users: at least one admin user for the new tenant.
Roles matter for what you can do next. Minimum: SUPERUSER for creating root tenants. Recommended for end-to-end testing and demos:

Press Shift + Enter. Run login() first. Then run create_tenant().
If all goes well, you should see the following notifications.


Last updated
Was this helpful?
Was this helpful?
["SUPERUSER", "EMPLOYEE", "CSR", "GRO", "DGRO", "PGR_LME", "PGR_VIEWER", "CITIZEN"]