Configure SSO from Salesforce to Samanage
Let your users log in to Samanage using single sign-on (SSO) from your Salesforce org configured as an identity provider.
Required Editions
| Available in: Lightning Experience and Salesforce Classic |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions |
When you set up Samanage as a service provider and create a connected app in Salesforce, users can access Samanage using their Salesforce credentials. Samanage supports the SAML protocol for both identity provider–initiated and service provider–initiated SSO.
Follow these high-level steps to configure SSO for Salesforce to Samanage.
Set Up Your Salesforce Org as an Identity Provider
With the My Domain feature, your Salesforce org is enabled as an identity provider. My Domain is required for all orgs. If you don’t like your org’s My Domain name, you can change it.
The My Domain feature also creates a certificate and key pair. The certificate establishes trust between your Salesforce org and ADP. Optionally, you can use another self-signed certificate or import a CA-signed certificate.
To download the Salesforce self-signed certificate:
- From Setup, enter Identity Provider in the Quick Find box, and select Identity Provider.
- Click Download Certificate.
Configure SAML Settings in Samanage
- Log in to your Samanage account as an administrator.
- Under Setup, navigate to Single Sign-On.
- Under Login using SAML, select Enable Single Sign-On with
SAML.

- Under SAML IdP settings, enter the identity provider URL, for example,
https://MyDomainName.my.salesforce.com/idp/endpoint/HttpRedirect.

- Copy and save the Login URL that Samanage displays. You use this URL later to test
service provider–initiated login.

- Enter the logout URL, for example,
https://MyDomainName.my.salesforce.com/secur/logout.jsp.

- Optionally, if you want to redirect users if an error occurs during SAML login, enter an error URL.
- For the Identity Provider x.509 Certificate, enter the content of the Salesforce
certificate that you downloaded.

- To automatically provision users, select Create users if they do not exist in
Samanage.

- To save the settings, click Update.
Create a Connected App in Salesforce
- In Salesforce, create a connected app.
- In Lightning Experience, from Setup, enter App in the Quick Find box, and select App Manager. Click New Connected App.
- In Salesforce Classic, from Setup, enter Apps in the Quick Find box, and select Apps. Under Connected Apps, click New.
- Configure the connected app Basic Information settings.
- Enter a name for the Samanage connected app. Salesforce uses this name to populate the API name.
- Enter your email address in case Salesforce needs to contact you or your support team.
- Optionally, upload or specify a logo and icon to represent your Samanage application in the Salesforce App Launcher.

- Configure the connected app Web App Settings.
- Select Enable SAML.
- For Entity Id, enter samanage.com.
- For ACS URL, enter https://yourdomain.samanage.com/saml/yourdomain. For example, https://acme.samanage.com/saml/acme.
- For Subject Type, choose how users are identified to the identity provider, for example, Federation ID. A federation ID is a unique value assigned to the user across multiple web services and Salesforce orgs.
- For Name ID Format, keep the default value.
- For Issuer, keep the default value, which is your My Domain login URL.
- For IdP Certificate, keep the default (Default IdP Certificate).

- Save the settings.
- Configure profiles and permission sets for the connected app.
- From Setup, enter Apps in the Quick Find box.
- If you’re using Lightning Experience, select Manage Connected Apps.
- If you’re using Salesforce Classic, under Manage Apps, select Connected Apps.
- Click the name of your connected app for Samanage. The connected app detail page appears.
- Click Manage Profiles or Manage Permission Sets, and add profiles or permission sets for the users who can access this app.
- From Setup, enter Apps in the Quick Find box.
- In Salesforce, enter the start URL for the connected app.
- On the connected app detail page, under SAML Login Information, copy the IdP-initiated login URL.
- On the connected app detail page, click Edit Policies.
- For Start URL, paste the IdP-initiated login URL.
- Save the settings.
Test the SSO Configuration
- In Salesforce, from the App Launcher, find and open the Samanage
app. If you configured the Samanage logo and icon for the connected app, the App Launcher
displays them. If identity provider–initiated SSO is configured properly,
Salesforce creates an application session.

- To test service provider–initiated SSO, enter the service provider–initiated login URL, for example, https://yourdomain.samanage.com/saml_login/yourdomain, where yourdomain is your subdomain. For example, https://identitydemo.samanage.com/saml_login/identitydemo. If SSO is configured properly, you’re prompted to log in to your Salesforce org. After you enter your credentials, Salesforce redirects you to your initial request URL. You’re logged in to your Samanage account.

