Skip to Content
Medbot CMSAdministrationJoin an Organisation

Join an Organisation

A new hire who is not creating a clinic needs to get into an existing one. There are two routes in, and they meet in the middle.

Route 1: the admin invites you by email

An admin adds the person from /staff with their email, name, role, and, for clinical roles, their registration number. (Admins can also invite many people at once by seeding from a CSV file.) That files a membership waiting on that email address.

If the person already has a Medbot sign-in with that email address, and the address is confirmed, they are linked at once. Otherwise Medbot emails them an invitation, “You have been invited to <organisation> on Medbot.”, asking them to sign in or create their account with that address and verify it with the code Medbot emails them. Its Continue to Medbot link opens, with their email address filled in:

  • the CMS registration form (/sign-up) for someone with no Medbot account yet, or
  • the CMS sign-in page (/login) for someone who already has one.

Their account is linked to the waiting membership as soon as that email address is verified. A new account gets a verification code by email when it registers, and confirming it is the last part of signing in (see Getting Started). Verifying in any Medbot app counts. Nothing further is needed from either side. If the person was invited by more than one organisation, every waiting membership is linked at once. Only a verified address claims an invitation, so nobody can register with a colleague’s email and take their place.

Until they first enter it, the welcome screen shows the organisation marked Invitation linked, with “You join as <Role>” and Enter <organisation>. See If you were invited.

The invitation does not expire, and the person can register or sign in without it. If the email never arrived, they can open the CMS and select Set up your clinic (to register) or Sign in, using the invited address.

Route 2: you request access with a join code

For a hire who signs up before anyone invites them, or whose invite has not arrived yet. It also works for someone who already belongs to one organisation and needs to join another.

  1. An admin gives them the organisation’s join code, a short code from the organisation’s settings.
  2. The new user signs in and chooses Join my healthcare organisation on Welcome to Medbot CMS (/onboarding), where a user with no organisation lands. It is also opened by Join with code on the welcome screen and in the sidebar switcher. An account whose email is not verified yet is asked to confirm it first.
  3. They enter the Join code and select Request access. The form says: “If your healthcare organisation already invited <email>, the code links your account straight away. Otherwise your request goes to their administrator.”

What happens next depends on what the backend finds:

OutcomeWhat the user sees
An invite for their email already exists at that organisationThey are linked immediately, and can enter the organisation from the welcome screen or the sidebar switcher.
They are already a memberSame: they are simply let in.
A request from them is already pendingThe waiting page: “Your request to <organisation> is still waiting”.
Nothing matchesThe waiting page: “Request sent to <organisation>”.

Filing a request never grants access on its own. It queues work for an admin.

The Join with a code card on the organisations screen files the same request, with a Message (optional) for the admin, through Request to join. It is open when you belong to no organisation; otherwise select Enter it here.

A join code gets a person into an organisation; it does not give someone who is already a member a second role there. For that, an admin uses Add another role on the person’s row in Staff.

Waiting for approval

A request an administrator still has to review gets a page of its own, /onboarding/pending, marked Pending review: “An administrator at <organisation> will review your request. Once they approve it, sign in again and you’ll go straight in.”

  • It lists every request of yours still pending, at any organisation, each with the Organisation, Requested as (your email) and when it was Sent. With several, the heading reads “<number> requests are waiting”.
  • While you wait, where you may have one, you can create or open your own demo organisation, with synthetic data only.
  • “Wrong organisation?” links to Use a different join code and set up a new healthcare organisation.

Once nothing is pending (each request approved or denied), the page sends you on to the welcome screen, which opens an organisation you now belong to or starts you again at /onboarding.

Why a join code is required

Naming the organisation up front is deliberate. Blindly searching every organisation an email was ever invited to would silently link an account to a clinic the person never meant to reach: harmless when there was only ever one tenant, not harmless now.

Resolving requests (admins)

Pending access requests appear above the staff table on /staff, each showing the requester’s name, email, and any message they sent. An admin has two actions:

  • Add as staff opens the add-staff dialog pre-filled from the request. Once the member is created, the request is cleared automatically. As with Add Staff, someone already on the staff is refused with a message saying what to do instead (see Staff).
  • Deny dismisses the request without adding anyone.

Either way the request stops appearing in the pending list. Denying is not a block: the person can request again if it was a mistake.

Rotating a leaked code

A join code can be regenerated at any time from Organisation Settings. The previous code stops working immediately.

Last updated on