Overview
Organizations provide:- Isolated workspaces for teams and companies
- Role-based access control (Owner, Admin, Member)
- Domain verification for automatic member access
- SSO integration via WorkOS
- Public invite links for easy onboarding
- Custom branding and settings
Multi-Tenant
Each organization is completely isolated with its own data and members
Role-Based Access
Three role levels with granular permissions for organization management
Domain Verification
Verify domains to control who can join your organization
WorkOS Integration
Enterprise authentication with SSO, SCIM, and audit logs
Creating an Organization
Create a new workspace:- Click your avatar in the sidebar
- Select Create Organization
- Enter organization details:
- Name - Display name (e.g., “Acme Corp”)
- Slug - URL-friendly identifier (e.g., “acme”)
- Logo - Optional organization avatar
- Click Create
Organization slugs must be unique across the platform and can only contain lowercase letters, numbers, and hyphens.
Organization Settings
Access organization settings by clicking the organization name in the sidebar:General Settings
Organization Details:- Edit organization name
- Change organization slug
- Upload/change logo
- Configure workspace settings
- Delete organization (Owner only)
- Requires confirmation and affects all members
Public Invites
Enable anyone with the link to join:- Go to Organization Settings → Public Access
- Toggle Enable Public Invites
- Share your organization’s invite URL:
https://app.hazelchat.com/join/{slug}
- Anyone with the link can join as a Member
- New members gain access to all public channels
- Public organization info is visible on the join page
Domain Verification
Verify email domains to control access:- Go to Organization Settings → Domains
- Click Add Domain
- Enter your domain (e.g., “example.com”)
- Add the verification token to your DNS records:
- Click Verify once DNS is updated
- Auto-join for users with verified email addresses
- SSO enforcement for domain users
- Enhanced security and trust
Domain verification requires DNS access. States include: pending, verified, failed, and legacy_verified.
SSO Configuration
Configure Single Sign-On via WorkOS:- Go to Organization Settings → Authentication
- Click Configure SSO
- Opens WorkOS Admin Portal with SSO setup
- Configure your identity provider (Okta, Azure AD, Google Workspace, etc.)
- Test SSO login flow
- Okta
- Azure AD / Microsoft Entra
- Google Workspace
- OneLogin
- JumpCloud
- And more
Directory Sync (SCIM)
Automate user provisioning:- Go to Organization Settings → Directory Sync
- Click Configure Directory Sync
- Opens WorkOS Admin Portal
- Set up SCIM integration with your IDP
- Users and groups sync automatically
- Automatic user provisioning/deprovisioning
- Group-based access control
- Real-time user updates
- Centralized identity management
Member Management
Organization Roles
Three role levels with different permissions:| Role | Permissions |
|---|---|
| Owner | Full access including organization deletion, billing, and member management |
| Admin | Manage members, channels, settings, and integrations. Cannot delete organization |
| Member | Standard access to channels and conversations. Limited administrative capabilities |
Roles must be configured in WorkOS before using them. See WorkOS Configuration for setup instructions.
Inviting Members
Add users to your organization: Via Email Invitation:- Click Invite Members in organization settings
- Enter email addresses
- Select initial role (Admin or Member)
- Send invitations
- Recipients receive email with join link
- Share the public invite URL if enabled
- New users join as Members by default
- Users with verified email domains auto-join
- No invitation required
Managing Members
View and manage organization members:- Go to Organization Settings → Members
- See all members with their roles and status
- Update member roles (Admin/Member)
- Remove members from the organization
- View member activity and metadata
- Change Role - Promote/demote between Admin and Member
- Remove Member - Removes from organization and all channels
- View Profile - See member details and activity
Member Metadata
Store additional member information:Organization Navigation
Switch between organizations:- Click the organization name in the sidebar
- Select from your organization list
- Or press Cmd/Ctrl+K and type the organization name
- Separate channels and messages
- Independent member lists
- Unique settings and integrations
Audit Logs
Track organization activity:- Go to Organization Settings → Audit Logs
- Opens WorkOS Admin Portal
- View all organization events:
- Member additions/removals
- Role changes
- Settings updates
- Authentication events
Log Streams
Stream audit logs to external services:- Go to Organization Settings → Log Streams
- Opens WorkOS Admin Portal
- Configure streaming to:
- AWS S3
- Datadog
- Splunk
- Custom webhooks
Public Organization Info
Public organizations expose limited information:isPublic is enabled.
Technical Details
Data Model
Organizations include:id- Unique organization identifiername- Display nameslug- URL-friendly unique identifierlogoUrl- Optional logo/avatar URLsettings- JSON configuration objectisPublic- Public invite mode enabledcreatedAt- Creation timestampupdatedAt- Last modificationdeletedAt- Soft delete timestamp
Member Data Model
Organization membership tracks:id- Membership record IDorganizationId- Parent organizationuserId- Member user IDrole- Member role (owner/admin/member)nickname- Optional display name overridejoinedAt- Membership timestampinvitedBy- User who invited this membermetadata- Additional member data
Permissions
Organization Operations:- Create - Any authenticated user
- Update - Owner or Admin
- Delete - Owner only
- View Settings - All members
- Manage Members - Owner or Admin
- Configure SSO/SCIM - Owner or Admin
WorkOS Integration
All enterprise features are powered by WorkOS:- AuthKit for authentication
- Organizations API for workspace management
- SSO for enterprise login
- Directory Sync for user provisioning
- Audit Logs for compliance
- Admin Portal for configuration