This guide covers the second step of the SAML SSO wizard: exchanging service provider (SP) details with your IdP to establish the SAML trust. You must verify your company domain first before this step unlocks.
For IdP-specific click-throughs, see the Okta SAML guide or the Google Workspace SAML guide.
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 |
Required SAML attributes
Section titled “Required SAML attributes”Your IdP must send the following attributes in the SAML assertion:
| Attribute | Required | Notes |
|---|---|---|
| NameID (email format) | Yes | The user’s work email address. This is how Nylas identifies the user. |
| groups | Only for role mapping | A multi-value attribute listing the user’s IdP group names. Required if you configure group-to-role mapping in step 3. Nylas only updates roles on login when mappings exist and the assertion includes at least one group value. |
Other attributes in the assertion are ignored.
Custom SAML
Section titled “Custom SAML”- Open Organization settings > SAML SSO in the Nylas Dashboard.
- Expand the Connect your identity provider step.
- Under Service provider details for your IdP, copy the Metadata URL, SP Entity ID, and ACS URL (use the Copy button next to each value).
- In your IdP, create a new SAML 2.0 application (the exact path varies by IdP). Paste the SP values from step 3. If your IdP supports importing from a metadata URL, paste the Metadata URL to fill both SP Entity ID and ACS URL automatically.
- Configure the NameID to send the user’s email address in
EmailAddressformat. - If you plan to use group-to-role mapping, add a
groupsattribute that sends the user’s group memberships. - Complete the IdP app setup and download or copy your IdP’s metadata XML (or metadata URL).
- Back in the Nylas Dashboard, scroll to Identity provider metadata. Paste the IdP metadata XML into the IdP Metadata XML field, or click Upload XML file to load it from disk. Click Save configuration.
After saving, the Connected IdP card shows the extracted SSO URL and Entity ID to confirm the metadata was parsed correctly.
Test SAML login
Section titled “Test SAML login”After saving the IdP configuration:
- Open a private or incognito browser window.
- Go to the Nylas Dashboard login page.
- Enter an email address on your verified domain and click Continue.
- You should be redirected to your IdP’s login page.
- Sign in with the IdP account.
- On success, you land back in the Nylas Dashboard.
If login fails, see Troubleshooting.
What’s next
Section titled “What’s next”- Manage user access: Configure JIT provisioning, default role, and group-to-role mapping in step 3 of the wizard.
- Require SAML sign-in: Enforce SSO for all users on verified domains once you confirm login works.