Skip to main content
Require members of your ClosedLoop AI workspace to sign in with an account from your company’s Google Workspace, through a custom SAML app in Google Admin. The same app can add, update, suspend and remove members automatically. Set it up in Integrations > Google Workspace SSO.

What the SAML app manages

Prerequisites

  • A Google Workspace admin account with permission to create custom SAML apps.
  • A ClosedLoop AI workspace admin account.
  • Your ClosedLoop AI workspace ID. ClosedLoop AI shows this value during setup.

Setup Guide

  1. Sign in to ClosedLoop AI as a workspace admin.
  2. Go to Integrations > Google Workspace SSO.
  3. Keep this page open. You will copy the generated ACS URL and Entity ID into Google Admin.
  1. In Google Admin, go to Apps > Web and mobile apps.
  2. Click Add app > Add custom SAML app.
  3. Set the app name to ClosedLoop AI.
  4. Continue to the Google IdP details step.
  5. Copy the Google SSO URL and Entity ID.
  6. Download or copy the Google signing certificate.
Paste the generated ClosedLoop AI values into Google.Signed response must be enabled because ClosedLoop AI verifies the SAML response signature. Members start sign-in from the ClosedLoop AI email screen, then return to ClosedLoop AI after Google verifies them.
Add these attribute mappings in Google Admin.These defaults match the attribute fields shown in ClosedLoop AI.
  1. Return to Integrations > Google Workspace SSO in ClosedLoop AI.
  2. Paste the Google Entity ID.
  3. Paste the Google SSO URL.
  4. Paste the Google certificate.
  5. Keep Enable Google Workspace sign-in on.
  6. Keep JIT provisioning on if members should be created on first Google sign-in.
  7. Click Save Google Workspace setup.
In Google Admin, assign the ClosedLoop AI SAML app to the users or groups who should have access.Test with one user first. After confirming sign-in works, roll it out to the rest of the intended group.
Google Workspace can then add people to ClosedLoop AI when they get the app, keep their names up to date, and remove them when they are suspended, deleted or lose the app.
  1. In ClosedLoop AI, under Automatic provisioning, click Generate token. The Access token is shown only once, and a new token replaces the old one. Keep the page open; the Endpoint URL is next to it.
  2. In Google Admin, open the ClosedLoop AI SAML app and click Configure autoprovisioning.
  3. App authorization: paste the access token into Access token and click Continue.
  4. Endpoint URL: paste the endpoint URL and click Continue.
  5. Attribute mapping: Google lists the ClosedLoop AI attributes. Map Basic Information > Username to userName, Basic Information > First name to name.givenName and Basic Information > Last name to name.familyName, then click Continue.
  6. Provisioning scope (optional): add groups to provision only their members, or leave it empty to provision everyone with access to the app.
  7. Deprovisioning: choose what happens when the app is turned off for a user, when a user is suspended and when a user is deleted. Each removes the person from the ClosedLoop AI workspace. Leave Hard delete the account in ClosedLoop AI off: a hard-deleted person cannot be provisioned again with the same email address. A workspace owner is never removed.
  8. Test connection: pick a Google user who is not a member of the ClosedLoop AI workspace yet, or the workspace owner, and click Test. Google creates, updates and deletes that user in ClosedLoop AI, so testing with another existing member removes them from the workspace. Each step should show Success. Then click Finish.
  9. Turn the app on for users under User access (Step 6), then set the Autoprovisioning switch on the app’s page to Active. Google does not allow the switch until the app is on for at least one user.
Provisioned people join as members. A person Google removed without a hard delete is added back when they get the app again.

Testing

After configuration:
  1. Assign a test user to the ClosedLoop AI SAML app in Google Admin.
  2. Open ClosedLoop AI and enter the test user’s email address.
  3. Confirm ClosedLoop AI redirects the user to Google.
  4. Complete Google sign-in.
  5. Confirm the user returns to ClosedLoop AI.

Troubleshooting

Support

For help with Google Workspace SSO, email support@closedloop.sh.

Open ClosedLoop AI US

Configure Google Workspace SSO in a US workspace

Open ClosedLoop AI EU

Configure Google Workspace SSO in an EU workspace