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!


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.


1 Like

Thanks so much for this tutorial, very useful, really appreciate it.


1 Like

This is really clever, like the idea with the referral list button

1 Like