Skip to main content
Welcome to the Inviting Users guide! This guide will walk you through all the ways you can invite users to join your app. Whether you want open public access, controlled invitations, or custom invitation workflows, BuildAI.Space offers flexible options to match your needs.

Before You Start

Important: Before inviting users, you must publish your app first. Users can only join published apps, not apps that are still in the builder.
To publish your app, click the Publish button in the builder. Once published, you’re ready to start inviting users!

Three Ways to Invite Users

BuildAI.Space gives you three flexible methods for inviting users to your app:
  1. Share the Public App Link — Quick and open access for anyone
  2. Manually Invite Users from the Builder — Controlled invitations with custom roles
  3. In-App User Invitations — Programmatic invitations with custom workflows
Let’s explore each method in detail.
The simplest way to let users join your app is by sharing your app’s public link. This is perfect for open enrollment scenarios where you want to make it easy for anyone to join.

How it works:

  1. Publish your app by clicking the Publish button in the builder.
  2. Copy the public app link that’s generated after publishing.
  3. Share this link with anyone you want to invite — via email, social media, messaging apps, or your website.
  4. New users can sign up directly using this link.

What happens:

  • Users who sign up through the public link are automatically assigned the User role.
  • They’ll have immediate access to your app based on the permissions you’ve set for the User role.

Best for:

  • Community apps with open registration
  • Public-facing applications
  • Apps where most users should have standard access
  • Marketing campaigns and social media promotion

Option 2: Manually Invite Users from the Builder

For more control over who joins and what role they receive, use the Invite User feature directly from the builder. This method lets you send personalized invitations with custom role assignments.
Note: Your app must be published before sending manual invitations.

How to invite users manually:

  1. Navigate to the Users section in your app builder (click the Users icon in the left-hand menu).
  2. Click the Invite User button at the top right of the Users section.
  3. A pop-up window will appear with the invitation form.
Here’s what the invitation pop-up looks like: Invite User dialog showing email and role fields

Steps to send an invitation:

  1. Enter the invitee’s email address in the Email field.
  2. Choose their Role from the dropdown menu (such as User or Admin).
  3. Click Send Invitation to dispatch the invite.

What happens:

  • The recipient receives an email invitation to join your app.
  • They can sign up securely using the invitation link.
  • They’re automatically assigned the role you specified.

Best for:

  • Adding team members or administrators
  • Inviting specific users with custom roles
  • Controlled access environments
  • Professional or business applications

Option 3: In-App User Invitations

For apps that need custom invitation workflows built directly into your user interface, you can programmatically invite users using code. This gives you complete control over the invitation experience.

Advanced In-App Invitation Scenarios

For more sophisticated invitation workflows, you can build a complete custom invitation system with full control over the user journey.

How the advanced system works:

Step 1: Create an Invitation Entity

Set up an Invitation entity in your database with fields for:
  • User details (email, first name, last name, etc.)
  • Assigned role
  • Invitation status
  • Any custom data your app needs
Important: Restrict access to this entity to authorized roles only (typically Admins) to maintain security.

Step 2: Send the Invitation Email

Generate a special signup link that includes the invitation ID:
createPageUrl('/signup', { 
  redirectTo: `/join?inviteId=${inviteId}` 
})
Send this link to the invitee via email. When they click it, they’ll be directed to your app’s signup page.

Step 3: Handle the Signup Redirect

After the user completes signup, they’re automatically redirected to:
/join?inviteId=...
This is where your custom join page takes over.

Step 4: Process the Invitation

Create a backend function on your /join page that:
  1. Validates the invitation ID to ensure it’s legitimate and not expired
  2. Retrieves invitation details from the Invitation entity
  3. Assigns the specified role to the newly signed-up user
  4. Updates user records with any additional information from the invitation (department, team, custom fields, etc.)
  5. Marks the invitation as accepted or deletes it to prevent reuse
  6. Redirects the user to their appropriate starting page

Advanced use case examples:

Team Invitations
  • Invite team members with pre-assigned roles and department information
  • Automatically add them to the correct team workspace
  • Set up default preferences based on their role
Approval Workflows
  • Create pending invitations that require admin approval
  • Send notifications when new users accept invitations
  • Implement multi-step verification processes
Onboarding Sequences
  • Guide new users through custom setup steps based on their invitation type
  • Collect additional information during the join process
  • Personalize the first-time user experience
Partner/Client Portals
  • Create invitation-only access for external stakeholders
  • Assign specific permissions based on organization or client type
  • Track invitation acceptance and user activity

Benefits of advanced invitations:

  • Complete customization — Design invitation experiences that perfectly match your app’s needs
  • Enhanced security — Control exactly who can join and with what permissions
  • Better user experience — Create personalized onboarding flows
  • Detailed tracking — Monitor invitation status and acceptance rates
  • Flexible workflows — Implement complex business logic for user access

Choosing the Right Invitation Method

Here’s a quick guide to help you choose the best invitation method for your needs:
MethodBest ForControl LevelSetup Complexity
Public LinkOpen registration, public appsLowMinimal
Manual InvitationsSpecific users, role assignmentMediumLow
In-App (Advanced)Complex workflows, custom logicHighHigh

Tips for Managing Invitations

  • Start simple — Use the public link or manual invitations when starting out, then add custom workflows as your needs grow.
  • Set clear roles — Define what each role can do before inviting users to ensure proper access control.
  • Monitor acceptance — Keep track of which invitations have been accepted, especially for manual or custom invitations.
  • Test thoroughly — Always test your invitation flow before sending to real users, especially with custom workflows.
  • Communicate clearly — Make sure invited users know what to expect and how to get started with your app.

With these flexible invitation options, you have complete control over how users join your app. Whether you need simple open access or complex approval workflows, BuildAI.Space has you covered!