Docs
Live demo

First setup

A new organization opens with a short wizard: connect a server, bring people in, give the first access and choose how often Principal checks. You can leave at any step and come back.

On this page

Before you start: the admin role in the organization. A member who can’t add targets sees Principal is being set up on the dashboard instead of the wizard.

When it opens#

An organization with no targets opens the wizard the first time an administrator opens the dashboard. Skip for now on the first screen and Finish later on any step lead to the dashboard, which then shows Finish setting up Principal with the steps that are left and Continue setup.

Principal keeps your progress on the server, for you in this organization. Open the console in another browser and the wizard continues from the same step with the servers, directories and rules you already made. A connection form you did not finish is not kept, and neither are passwords, tokens and kubeconfigs: fill the form again if you left before a server or a directory was connected. Another administrator starts with their own wizard and sees the servers and people that already exist.

If the wizard is open in two windows, the last saved state wins: the window with the older state opens again from what the other one saved, and a finished setup is never replaced by an older draft. When the progress can’t be saved, Finish later and Finish setup keep you on the step and say so.

The steps#

Step What you do
What you have
Tick the systems to connect (PostgreSQL, MySQL / MariaDB, Kubernetes, ClickHouse) and where people come from (GitLab, GitHub, Google Workspace, LDAP / Active Directory or Add people by hand). Each tick adds a step.
Connect a server
Paste a Connection string or fill Separate fields, for Kubernetes paste a kubeconfig. Principal runs the checks of Add a target and shows each one. A failed check names the reason and keeps the form. Add another connects one more server of the same kind.
People
Connect the directory. While Principal reads it, the step shows how many groups are read and about how long is left. Then tick the groups and people who get the first access. With Add people by hand this step is skipped and you add the first person on the next one.
First access
One sentence says who gets what and where, for example Give Dana Whitfield read-only on database orders on orders-prod. What Apply changes lists the plan. Nothing changes on the server until you press Apply. After it the step shows Rule saved, Applying to the server and First drift check. If Principal can’t read the plan, Apply waits and Read it again retries. If applying fails or applies only a part, the step says so, and Back to the rule lets you apply again. The step gets its tick, and Finish setup says Principal is set up, only after the apply ended in success.
Settings
Check servers and Sync people set how often Principal checks, Second factor requires it from everyone, Administrators names who else manages the organization. Finish setup saves them.

Each step stays open until you press Next, so you can read a connected server’s checks or the result of the first access as long as you need.

What the wizard creates#

  • A target for every server, a connector for every directory and the people you add by hand. They are the same objects as on Resources, Connectors and People.
  • A template for the access you choose, for example PostgreSQL read-only, when the organization doesn’t have it yet. Principal creates it when it shows the plan. Find it on Templates.
  • A rule for each person or group, see Rules.

Limits and permissions#

  • Second factor stays off until you have your own second factor: the row offers Set up yours, which opens Account security. Naming another administrator needs your own second factor too.
  • Connecting a directory asks for your second factor, as Connectors do.
  • The wizard gives read-only or read and write access to one database or namespace. Create other access with templates and rules after it.
↑ ↓ to moveEnter to openEsc to close