This guide walks through creating a custom SAML app in Google Workspace Admin Console and connecting it to your Nylas organization. Complete domain verification and the Custom SAML step before following these instructions.
You need Google Workspace Admin access.
Service provider values
Section titled “Service provider values”To find these values, go to Settings > SAML SSO in the Nylas Dashboard, then expand the Connect your identity provider step. The SP values appear under Service provider details for your IdP.
| Nylas SP value | Where to paste it in your IdP |
|---|---|
| Metadata URL | Import metadata URL (if your IdP supports it; this imports SP Entity ID and ACS URL automatically) |
| SP Entity ID | Audience URI, Audience Restriction, or Identifier (Entity ID) |
| ACS URL | Single sign-on URL, Reply URL, or Assertion Consumer Service URL |
Create the Google Workspace SAML app
Section titled “Create the Google Workspace SAML app”- Go to the Google Workspace Admin Console and sign in as an admin.
- Navigate to Apps > Web and mobile apps.
- Click Add app > Add custom SAML app.
- Enter an app name (for example,
Nylas Dashboard) and click Continue. - On the Google Identity Provider details screen, click Download metadata to save the IdP metadata XML file. You will paste this into Nylas later. Click Continue.
- On the Service provider details screen, fill in the SP values from your Nylas Dashboard (Connect your identity provider step):
- ACS URL: paste the ACS URL.
- Entity ID: paste the SP Entity ID.
- Leave Start URL empty.
- Set Name ID format to
EMAIL. - Set Name ID to Basic Information > Primary email.
- Under Signed response, leave this OFF. Nylas validates only the Assertion signature, not the outer Response envelope. Turning it on is the most common misconfiguration that causes login failures.
- Click Continue, then Finish.
Assign users to the app
Section titled “Assign users to the app”Google Workspace SAML apps are off by default. Users must be assigned before they can sign in.
- In the Admin Console, open the app you just created.
- Click User access.
- Turn the service On for the relevant organizational unit (OU) or for all users. Alternatively, use Groups to assign specific groups.
- Click Save.
Complete setup in Nylas
Section titled “Complete setup in Nylas”- Back in the Nylas Dashboard (Connect your identity provider step), open the Identity provider metadata section.
- Paste the metadata XML file you downloaded in step 5 above into the IdP Metadata XML field, or click Upload XML file.
- Click Save configuration.
The Connected IdP card confirms the saved SSO URL and entity ID.
Test Google Workspace login
Section titled “Test Google Workspace login”- Open a private browser window.
- Go to the Nylas Dashboard login page.
- Enter an email on your verified domain and click Continue.
- You should be redirected to the Google sign-in page.
- Sign in with the Google Workspace account and confirm you land in the Dashboard.
If login fails, see Troubleshooting.
Google Workspace gotchas
Section titled “Google Workspace gotchas”“App not assigned” error in Google: The signed-in Google account is not assigned to the SAML app. Go to Admin Console > the app > User access and assign the user or their OU.
Email/domain mismatch: The user’s Google Workspace email, the domain claimed in Nylas, and the email entered on the Nylas login page must all match exactly. For example, if you claimed company.com, the Google account must be [email protected].
Certificate rotation: When Google rotates the IdP signing certificate, existing sessions continue to work but new logins fail with a signature error. To fix it: download fresh metadata XML from the Admin Console and re-paste it in the Nylas Dashboard wizard.
No built-in SCIM: Google Workspace does not expose a native SCIM endpoint for custom SAML apps. Automatic user provisioning from Google requires a third-party relay (such as Okta sitting in front of Google) or manual account management. SAML SSO login and JIT provisioning work without SCIM.
What’s next
Section titled “What’s next”- Manage user access: Configure JIT provisioning and group-to-role mapping.
- Require SAML sign-in: Enforce SSO once login is confirmed.
- Troubleshooting: Fix common setup and login errors.