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
Step 1: Open Google Workspace setup in ClosedLoop AI
Step 1: Open Google Workspace setup in ClosedLoop AI
- Sign in to ClosedLoop AI as a workspace admin.
- Go to Integrations > Google Workspace SSO.
- Keep this page open. You will copy the generated ACS URL and Entity ID into Google Admin.
Step 2: Create a custom SAML app in Google Admin
Step 2: Create a custom SAML app in Google Admin
- In Google Admin, go to Apps > Web and mobile apps.
- Click Add app > Add custom SAML app.
- Set the app name to ClosedLoop AI.
- Continue to the Google IdP details step.
- Copy the Google SSO URL and Entity ID.
- Download or copy the Google signing certificate.
Step 3: Configure service provider details
Step 3: Configure service provider details
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.
Step 4: Map attributes
Step 4: Map attributes
Add these attribute mappings in Google Admin.
These defaults match the attribute fields shown in ClosedLoop AI.
Step 5: Save Google values in ClosedLoop AI
Step 5: Save Google values in ClosedLoop AI
- Return to Integrations > Google Workspace SSO in ClosedLoop AI.
- Paste the Google Entity ID.
- Paste the Google SSO URL.
- Paste the Google certificate.
- Keep Enable Google Workspace sign-in on.
- Keep JIT provisioning on if members should be created on first Google sign-in.
- Click Save Google Workspace setup.
Step 6: Turn the app on for users
Step 6: Turn the app on for users
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.
Step 7 (optional): Turn on automatic provisioning
Step 7 (optional): Turn on automatic provisioning
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.
- 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.
- In Google Admin, open the ClosedLoop AI SAML app and click Configure autoprovisioning.
- App authorization: paste the access token into Access token and click Continue.
- Endpoint URL: paste the endpoint URL and click Continue.
- Attribute mapping: Google lists the ClosedLoop AI attributes. Map
Basic Information > UsernametouserName,Basic Information > First nametoname.givenNameandBasic Information > Last nametoname.familyName, then click Continue. - Provisioning scope (optional): add groups to provision only their members, or leave it empty to provision everyone with access to the app.
- 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.
- 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.
- 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.
Testing
After configuration:- Assign a test user to the ClosedLoop AI SAML app in Google Admin.
- Open ClosedLoop AI and enter the test user’s email address.
- Confirm ClosedLoop AI redirects the user to Google.
- Complete Google sign-in.
- 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