Bond Trials Docs
Customer onboarding
Setting up a new organization and SSO from scratch
Bond Trials Docs
Setting up a new organization and SSO from scratch
This guide walks through everything needed to bring a new customer organization live on Bond Trials - from creating their workspace to connecting their identity provider and handing off to their team lead. The process takes about 15 minutes once you have the customer's IdP credentials.
Every customer gets their own organization - an isolated workspace with its own trials, patients, storage, and members. No data crosses org boundaries. Organizations are created by Bond staff in the developer console; customers cannot self-create one.
Open the admin console
admin.bondtrials.com (staff-only, behind Cloudflare Access) and open the Organizations tab.Create organization
New organization, enter the customer's full legal name and select their preferred AWS region for data residency. The slug is generated for you. Optionally add an owner email - they get an Org Admin invite - and/or set up SSO in the same step.Confirm it was created
Follow these steps if the customer uses Microsoft 365 / Azure AD.
Register an app in Azure Portal
Bond Trials. Set supported account types to Accounts in any organizational directory. Add the redirect URI: https://platform.bondtrials.com/api/auth/callback/microsoft-entra-idAdd a client secret
Collect credentials
Add the app secrets
AZURE_AD_CLIENT_ID and AZURE_AD_CLIENT_SECRET to the app-env secret in AWS Secrets Manager, then roll the service. Leave AZURE_AD_TENANT_ID unset - Bond defaults to common, which supports all tenants.Customer IT requirement
Follow these steps if the customer uses Okta.
Create an app integration in Okta
https://platform.bondtrials.com/api/auth/callback/oktaCollect credentials
acme.okta.com).Add the app secrets
OKTA_CLIENT_ID, OKTA_CLIENT_SECRET, and OKTA_ISSUER (the full domain with https://) to the app-env secret in AWS Secrets Manager, then roll the service.Once the IdP app is created, link the customer's tenant to their Bond org so that users who sign in via SSO land in the right workspace automatically.
Open the customer's org in Organization view
Scroll to SSO Tenant Mappings
Add a mapping
Add mapping, select the provider (Microsoft or Okta), paste the tenant identifier (Azure tenant GUID or Okta domain), and set the default role.Save
Finding the Azure tenant ID
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.Once the tenant mapping is in place, any user the customer's IT team grants access to in Azure AD or Okta can sign straight into Bond - no invite needed. Bond provisions them into the correct organization automatically on first login.
Ask the team lead to go to the login page
Bond provisions them automatically
Their IT team controls access from here
Before marking the customer as live, confirm the following:
Phone numbers