Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The WSO2 App Manager facilitates outbound provisioning (by skipping the creation of the proxy Web app) to different external domains such as Salesforce, Google, Facebook, etc. Following sections describe how you can implement outbound provisioning to Salesforce using WSO2 App Manager.

...

  1. Access the following sign-up URL using your Web browser: https://developer.salesforce.com/signup
  2. Enter the details as shown below, to get a free development environment by signing-up.
    sign-up form to get a free development environment in Salesforce
  3. Click Sign me up You receive a confirmation email. 

  4. Click the confirmation link in the email to confirm your account creation.

  5. Fill out a password and a security question for your account as shown below.

    changing the password in Salesforce

  6. Click Save .

  7. Access the following URL using your Web browser:  https://developer.salesforce.com/
  8. Click the  Login button in the top right upper corner of the screen.

  9. Log in with your new credentials as a Salesforce developer as shown below.

    log in as a developer in Salesforce

  10. Click Allow for Salesforce to access your basic information in the below screen.

    allow Salesforce to access your basic info

...

Follow the steps below to create a developer domain.

  1. Access the following URL using your Web browser:  https://ap2.salesforce.com/setup/forcecomHomepage.apexp
  2. Click Administer in the left navigation menu, and then click My Domain under Domain Management.
  3. Enter a unique domain name in the below screen. (For example: petergappm). Click Check Availability , to check its availability.
    enter details of the domainImage Added
  4. Check I agree to the Terms and Conditions , and t hen click Register Domain Your domain is ready to use, once you receive a confirmation email after the DNS registration is completed for it.
  5. Click Administer in the left navigation menu, and then click My Domain under Domain Management. You view the below screen.
    newly created domainImage Added
  6. Click Click here to login . It redirects you to your domain.

  7. Click Deploy to users . Click  OK in the pop-up confirmation alert as shown below .

    confirmation alert on deploying the domainImage Added

Enabling single sign-on

Follow the steps below to enable single sign-on in Salesforce.

  1. Log in to your domain using its URL and credentials (E.g. https://petergappm-dev-ed.my.salesforce.com) 
  2. Click  Administer in the left navigation menu, and then click  Single Sign-On Settings under Security ControlsYou view the below screen.
    enabling single sign-on settings in your domainImage Added
  3. Click Edit, check SAML Enabled, and then  click Save .
  4. Click New  in SAML Single Sign-On Settings section.
  5. Enter the following configurations as shown below.

    single sign-on settingsImage Added

  6. Click Chose File, and upload the Identity Provider Certificate.

     

    Tip

    Navigate to the <AppM_HOME>/repository/resources/security/ directory, and execute the following command in the CLI to create an IDP certificate: keytool -export -keystore wso2carbon.jks -alias wso2carbon -file wso2.crt -­storepass wso2carbon

     

  7. Click Save.

    Note

    The Salesforce Login URL in the Endpoints section should be similar to https://petergappm-dev-ed.my.salesforce.com?so=00D28000000UBRU.

  8. Click Administer in the left navigation menu, and then click My Domain under Domain Management. You view the below screen.

    authentication configuration detailsImage Added

  9. Click Edit in the Authentication Configuration section.

  10. Check AppMSSO in Authentication Service as shown below, and click Save.
    authentication serviceImage Added