Skip to main content
You want people to get access to Within, change role and lose access automatically, based on your company directory, so nobody has to add or remove users by hand. Within supports SCIM (System for Cross-domain Identity Management) user provisioning, also called directory sync, and you set it up yourself in a guided wizard that you open from a setup link we email you.

What directory sync does

Once it is set up:
  • Joiners: people you add to your Within groups get access with the right role.
  • Movers: people who move between groups get their new role.
  • Leavers: people you remove or deactivate lose access.
  • Profiles: names, email addresses and profile details such as job title stay up to date.
You manage all of this in your identity provider. You no longer manage these users in Within.
In short: SCIM decides who has access and which role they have. Single sign-on (SSO) decides how they sign in. They work independently, and we recommend both. To set up SSO, see the SSO configuration guide.

Prerequisites

Choose one person to run the setup for your organisation. Before they begin, make sure they have:
  1. Admin access to your identity provider. The wizard has guided paths for:
    • Okta
    • Microsoft Entra ID (Azure AD)
    • Google Workspace
    • OneLogin
    • JumpCloud
    • PingFederate
    • CyberArk
    • Any other provider that supports SCIM 2.0, through the Custom SCIM path
  2. A plan for your groups: which groups give which Within role. See Plan your groups below. This is the only real decision in the setup.
  3. The Within workspace these users belong to. Directory sync manages one workspace.
Share that person’s name and email, and the workspace, with your Within contact. We send them the setup email in Step 1.

Plan your groups

Each person in your Within workspace has one role. Your directory groups decide which one: in the wizard, you map each group to a Within role. See User roles for the full role descriptions. You don’t need a new group for every role. Start from the groups you already have:
1

Map the group you already have for the most common role

Start with the role most people will have. For example, if 90% of your Within users will be Contributors and you already have a group with those people, such as Process Excellence, map that group to Contributor.
2

Create groups only for the remaining roles

Create groups such as Within - Admins, Within - Basic Contributors and Within - Viewers, and add the right people to each.
Role order. If someone is in more than one group, Within gives them the highest of those roles. The default order is Workspace Admin > Contributor > Basic Contributor > Viewer. For example, a person in both Process Excellence (Contributor) and Within - Admins is a Workspace Admin. Need a different order? Ask your Within contact and we’ll change it for your organisation.
Only people in the groups you sync get access. Group membership is what grants access, so keep these groups limited to people who should use Within.

Step 1: Check your inbox for the SCIM setup email

Search your inbox for an email with the subject “Set up SCIM for [your domain] on Within”, sent from Within (no-reply@within.ai). The email has a “Set up SCIM for [your domain]” button that opens the setup wizard. The button works for 7 days. If you don’t finish in one sitting, reopen the email and click it again to pick up where you left off. No email? Check spam or quarantine, and ask your IT team to allowlist no-reply@within.ai. If it still hasn’t arrived, or the link has expired, ask your Within contact to send a new one.
The email from Within (no-reply@within.ai) titled Set up SCIM for your domain on Within, with a Set up SCIM button that works for 7 days.

Step 2: Complete the guided wizard

Click “Set up SCIM for [your domain]” to open Configure Directory Sync.
1

Select your identity provider

Pick your provider from the list, or choose Custom SCIM if yours isn’t listed.
The Select your identity provider screen, listing Okta, Entra ID (Azure AD), Google Workspace, CyberArk, JumpCloud, OneLogin and PingFederate, with Custom SCIM below the list.
2

Connect your directory

Follow the in-wizard instructions for your provider:
  • Google Workspace: sign in as a Google Workspace admin and allow access.
  • Okta, Entra ID and other SCIM providers: create the Within app in your identity provider, then paste the endpoint and token the wizard gives you.
3

Choose groups

Choose the groups from your plan.
  • For Google Workspace, choose Sync specific groups and tick only your Within groups. Sync all groups gives everyone in your directory access to Within.
  • For SCIM providers, assign your Within groups to the Within app in your identity provider. The wizard shows the steps.
Step 2: Choose groups, with Sync specific groups selected rather than Sync all groups and the groups to sync ticked. The note below the list says new groups in your directory need to be added manually.
4

Map groups to roles

Pick a Within role for every group you sync.
Step 3: Map Groups to Roles, where you pick a Within role for each synced group from the Role list.
5

Test the connection

Select Start sync. A full sync usually takes a few minutes, longer for large directories.
Step 4: Test Directory Connection, with the Start sync button on the right.

Step 3: Within connects your directory to your workspace

Let your Within contact know you have finished the wizard. We then connect your directory to your Within workspace:
  • New people: anyone in your synced groups who doesn’t have a Within account yet is added with the role from their group.
  • People who already use Within are not changed until you have reviewed them with us. We send you a list showing each person’s current Within role next to the role your groups give them, with every difference marked.
    • If the groups are wrong, fix the groups.
    • If the list is right, confirm it.
    • Once you confirm, your directory decides their role from then on. Anyone whose role differs moves to the role from their groups.
Review the list carefully. For example, someone who is a Workspace Admin in Within today but is only in your Contributor group becomes a Contributor once you confirm.

Step 4: Check that it works

1

Open the Users list

In Within, open Workspace Settings (gear icon) and go to Users. People from your directory are listed with the role their group gives them.
2

Check a synced person's menu

Open the menu (⋮) next to a synced person. Edit User is greyed out with the note “Managed by your company directory”. Change their role through your groups instead.
The Users list in Within, showing each person's role. In the menu for a person managed by the directory, Edit User is disabled with the note Managed by your company directory.
3

Sign in as a new person

Ask a new person to sign in at app.within.ai with their work email.

What happens when your directory changes

Make every change in your identity provider. Within follows it. How quickly changes arrive: Within picks up a change a few minutes after your identity provider sends it. Each provider sends changes on its own schedule:
  • Okta sends changes as they happen.
  • Microsoft Entra ID sends them on its provisioning cycle, about every 40 minutes.
  • Google Workspace is checked on a schedule. Allow up to an hour.

Changing someone’s role

To change someone’s role, add them to the new group first, then remove them from the old one. If you remove them first, they lose access, and get it back only when the new group syncs.

Removing someone

Someone you remove from all synced groups, or deactivate, sees this message when they sign in:
The Within sign-in screen with the error “You don't have a role in this workspace. Please reach out to Within support.” under the email field.
Using Okta? To remove someone, deactivate them or unassign them from the Within app. Suspending a user in Okta doesn’t tell Within, so they keep their access.

Custom roles

The four standard roles cover most teams. If you need a role of your own, for example a Reviewer with access between Contributor and Basic Contributor, Within can add it.
1

Ask your Within contact for the role

Tell us what the role should allow, and where it sits in the order (for example, below Contributor and above Basic Contributor).
2

We create it

We create the role in your workspace and add it to the role list in your setup wizard. You choose its permissions with us; nothing else changes for other users.
3

Create or choose a group

Create or choose a group for the people who need the role, and make sure that group is synced.
4

Map the group to the new role

Map it in the setup wizard. Ask your Within contact for a link to the wizard.
5

We confirm, and the role goes live

People in the group get the new role. Until we confirm, they keep their current access, and new people in the group are added once the role is ready.
Need to remove a custom role later? Ask your Within contact.
When a custom role is removed, everyone who still has it drops to Viewer. Move them to another group first.

Changing your setup later

When to contact support

Contact support if:
  • You don’t receive the setup email, or the setup link has expired.
  • Your identity provider isn’t listed and you’re unsure whether to use the Custom SCIM path.
  • The connection test fails, or people in your groups don’t appear in Within after a sync.
  • Someone has the wrong role, or can’t sign in after being added to a group.
When you contact support, include: your organisation name, your domain, your identity provider, the email of an affected person, the groups they are in, and a screenshot of any error.

Frequently asked questions

No. SCIM manages who has access and their role; SSO manages how they sign in. You can set them up in either order, but we recommend both. See the SSO configuration guide.
Every identity provider sends group membership changes reliably, so the role stays right as people join, move and leave. You also see who has which role just by looking at your groups.
No. Map the group you already have for the role most people will have, for example Contributor. Then create groups only for the remaining roles you use. See Plan your groups.
The higher one. The default order is Workspace Admin > Contributor > Basic Contributor > Viewer. Ask your Within contact if you want a different order. To lower someone’s role, remove them from the higher group. Adding them to a lower group changes nothing.
Nothing changes for them until you have reviewed them with us. We send you a list showing their current Within role next to the role your groups give them. Once you confirm, your directory decides their role from then on. See Step 3.
Nothing. Directory sync never removes people it doesn’t manage, such as contractors on another domain. We can share a list of workspace members who aren’t in your directory, so you can decide whether to add them to a group or remove them in Within.
Not people managed by your directory. Their name, email, profile and role come from your identity provider, so Edit User is disabled for them. People who aren’t in your directory are managed in Within as before.
Yes. A Workspace Admin can still remove a synced person in Within, and that removal sticks even though the person is still in your groups. To give them access again, contact support.
Their processes and documents stay in the workspace. If they come back, they get the same account, with the role from their groups. Their Team memberships are not restored, so add them to their Teams again.
Directory sync manages one workspace. Removing someone from your directory removes them from that workspace only. Access to other workspaces doesn’t change.
Name, work email, job title, department, manager, region, country, start date, and any other custom attributes you send, such as employee type or cost center. Within doesn’t keep addresses or phone numbers. Fill in these details in your identity provider before you start: a detail your directory leaves empty is empty in Within too.
New groups aren’t synced automatically. Ask your Within contact for a link to the setup wizard, add the group under Choose groups, then map it to a role.
Check that the new email is on one of your organisation’s domains. If the new email already belongs to another Within account, Within doesn’t merge the two automatically. Contact support and we’ll sort it out with you.
Yes. Ask your Within contact. Everyone keeps their current access and role, and you manage users in Within again.
Need help? Use the in-app chat — click the chat bubble in the bottom-right corner of Within (staffed 24×5) — or email support@within.ai.