Creating Salesforce Entities Using MyHub Forms
Step One: Add An On Submit Action
Step Two: Enter Your Salesforce Credentials
- Action Name: Specify an action name, this can be anything that helps you recognize the action.
- Username: This is where you enter the Salesforce username that you've set up beforehand that has the relevant permissions to create the entities via the Salesforce API.
- Password: Enter the password associated with the Salesforce username.
- Security Token: In order for a cloud-based system to access Salesforce outside of your company such as MyHub an extra level of security is required using a security token associated with the Salesforce user account you would like to use. Information on how to find and reset your Salesforce user security token can be found here. Enter the security token value found in Salesforce in this field.
- Sandbox: If you are using a sandbox instance of Salesforce to test your form integration before connecting it to your production instance of Salesforce make sure you check this box and then uncheck it when you are ready to make the form live.
- Entity: Once you have entered your Salesforce user account credentials, you will be able to select the appropriate Salesforce entity record that you would like created when the form is submitted from the Entity drop-down list.
Step Three: Map Your Salesforce Fields To Your MyHub Form Fields
If the credentials entered in the previous step are all correct and the Salesforce user account has the appropriate permissions, MyHub will make a connection to your Salesforce instance and retrieve a list of the available field names for the entity selected. You will then be able to map the MyHub form fields to your Salesforce fields as shown in the example below: