Implementing Referral Codes

Referral codes allow you to tie users to organizations in a secure manner.

You can implement them in your onboarding workflow to join new users to organizations, teams, or companies. In this example, I’ve used a button list component filtered to organization’s referral code. When the user enters a unique code, the button will be visible. When clicked, it’ll update the user with the current organization.

If you have any questions, let me know!

2 Likes

That is cool, I would not thought of using the button/list thing to gate them.

A big step towards being able to build Multi-tenant B2B apps for sure.

Thanks!

1 Like