Sun GlassFish Mobility Platform 1.1 Deployment Guide

Creating a Salesforce User

There are two ways to create a user for the Salesforce sample application – on the mobile device, using the pass-through feature by using the Gateway Admin Console. Each method has advantages and disadvantages. If you create the user from your mobile device, it is quite easy to do, but the Sun GlassFish Mobility Platform software will cycle through each different type of connector until it locates the correct one for the CRM, EIS, or database system with which you want to communicate. This process will be repeated each time a synchronization occurs. If you create the user through the Gateway Admin Console, the process takes a little longer but the user will always be associated with the correct connector type. There is no need to cycle through all of the connector types, since the user is explicitly tied to one type.

ProcedureTo Create a Salesforce User on Your Mobile Device

Use the pass-through convenience feature to create a Sun GlassFish Mobility Platform Gateway user for the Salesforce sample application from your mobile device:

  1. Turn on your mobile device.

  2. Locate and click the Salesforce Client icon.

    The Sync ML Client screen appears, showing the Salesforce Account Demo.

  3. Click Menu and select Server Settings.

    The Edit Sync Profile Screen appears.

  4. In the URL field, type the URL for your Sun GlassFish Mobility Platform gateway.

  5. In the Email field, type your Salesforce Developer account login name, as an email address.

  6. In the Password field, type your Salesforce Developer account password.

  7. In the Security Key field, type the Salesforce Developer account security key that was emailed to you.

  8. Press Save.

    The Sun GlassFish Mobility Platform user will be created for you.

ProcedureTo Create a Salesforce User on the Gateway

Create a MEP Gateway user for the Salesforce sample application using the Gateway Administration Console:

  1. In a browser window, open http://gateway_hostname:8080/sync/admin.

    The Gateway Administration Console login screen appears.

  2. Log in using the admin user name and admin password.

    The console appears.

  3. Select the Users tab, then select the Create User tab.

  4. In the Email Address field, type the email address of the Gateway user.

  5. In the Password field, type the password for the Gateway user.

  6. In the Username field, type the username of the Gateway user.

  7. In the Phone Number field, type the phone number of your mobile device.

  8. Select Salesforce from the Enterprise Connector drop-down list.

  9. Click Register.

  10. Click the Edit User tab to verify that the user was created.