Onboard Internal Users
In this walkthrough, Odin signs in to the ThunderID Console as the operations admin. He invites two new staff members: Heimdall onto the support team and Baldur onto the destinations team. Each invitee receives an email, opens the link, fills in a few additional attributes, and arrives in Wayfinder with their Staff user record and role already attached.
Onboarding internal users happens entirely in the ThunderID Console, so this walkthrough applies regardless of which solution pattern the app uses.
Complete Setup before starting this walkthrough.
Onboard Internal Users covers the requirements story behind this use case.
Walkthrough Setup
-
Configure an email notification sender so the invitation email can be delivered. Have these values ready:
Field Value SMTP host Your mail provider SMTP credentials Username and password / API key Sender name What appears as the "From" name Email template The invitation email body -
Add the staff side of the model. Pick the tab that matches the path you used in Setup.
- Quick Start
- Build It Yourself
The bundle already created the Staff user type, the Support, DestinationsAdmin, and OpsAdmin roles, the invitation flow, and Odin (Staff with the OpsAdmin role). No further action is needed.
Create the staff resources now:
-
Create the
Staffuser type. Navigate to User Types → Create User Type. Define the schema:Attribute Type Notes usernamestring Required, unique emailstring Required, unique passwordstring Credential displayNamestring Captured on invitation accept timeZonestring Captured on invitation accept See User Types.
-
Create the staff roles. Navigate to Roles → Create Role. Add the three staff roles:
Role Purpose SupportConsumer support workflows DestinationsAdminCurate featured destinations OpsAdminInvite and manage other staff See Authorization.
-
Build the invitation flow. Navigate to Flows and create a flow that:
- Sends an invitation email to the invitee.
- Lands the invitee on a Complete Your Profile screen.
- Captures the missing attributes (display name, time zone).
- Attaches the assigned role on acceptance.
See Build a Flow.
-
Create Odin as a
Staffuser with theOpsAdminrole so he can issue invitations. Navigate to Users → Add User. See Manage Users.
Try the Use Case
- Sign in to the ThunderID Console as Odin.
- Navigate to Users and select Add User → Invite User.
- Select
Staffas the user type, enter Heimdall's email, and selectSupportas the role. - Send the invitation. ThunderID emails Heimdall a one-time link.
- Open the email in Heimdall's inbox and open the link. The browser opens a Complete Your Profile page.
- Fill in the additional attributes and submit. Heimdall's account is now active with the
Supportrole attached. - Repeat the flow for Baldur with the
DestinationsAdminrole.