Skip to main content

Organizations & roles

Organizations​

An organization is the tenancy root in Zingle AI. Every other object - users, repositories, warehouse connections, sessions - belongs to exactly one organization, and all data is isolated per org.

  • A user belongs to exactly one organization.
  • Most data is scoped by organization_id; some tables scope transitively through a parent (for example, dbt models inherit their org from the repository they belong to).
  • Organizations can restrict sign-up to specific email domains, so only people with a company email can join.

Users & authentication​

Zingle AI has no passwords. Each organization allows one or more of these sign-in methods:

  • Email code - you enter your email, receive a 6-digit code (valid for 5 minutes), and enter it.
  • Single sign-on (SSO) - you sign in through your company's identity provider (OIDC). Users can also be created and removed automatically from your identity provider (SCIM).
  • Sign-in link - a one-time link, used in installs without email or to recover access.

See Secrets & access tokens for the details.

See the Onboarding guide for the full first-time flow.

Roles​

Permissions are governed by a small role hierarchy:

RoleWhat they can do
AdminManages the org - add repositories and connections, invite users, edit org settings.
AnalystDay-to-day use - Studio sessions, refactors, and scans.

Administrative actions (adding repos or connections, managing users) require an admin role. Everyday analytics work is available to analysts.

Credentials & security​

  • Warehouse credentials and GitHub tokens are encrypted at rest.
  • Each user connects their own GitHub identity and can hold their own warehouse credentials, so actions are attributable to a person.