LogoLogo
HOMEAPPSBLOGDEVELOPERSGET A DEMO
  • Overview
    • Data
    • Middle's infrastructure
    • ENTERPRISE installations
    • Security
  • Workflows
    • Enable/disable an account
    • Connect or edit an app connection
    • Sync
      • Stored records
      • Sync history
    • Create or copy a workflow
    • Edit an existing workflow
    • Workflow steps
    • Workflow parameters
    • Triggers
  • User access
  • Performance
  • Data deletion
  • App development
    • Authentication
    • Credential storage
    • Sync records
    • Actions
    • Code packages
    • Upload scripts
    • Testing your apps
    • Versions
    • Monitor
  • Getting app credentials
    • ABC Ignite
    • Amazon S3
    • Clover
    • Emma
    • Erply
    • Facebook
    • fitDEGREE
    • Gmail
    • Google Sheets
    • HighLevel
    • Hubspot
    • Keap Max
    • Klaviyo
    • Lightspeed Retail
    • Mailchimp
    • Mindbody
    • OpenAI
    • Paramount Acceptance
    • Pike13
    • Salesforce
    • Shopify
    • Slack
    • Square
    • Vend
    • Xn
  • Guides
    • API limits
    • Building an API for Middle
    • Development best practices
Powered by GitBook
On this page

Was this helpful?

  1. Getting app credentials

Salesforce

Learn how to setup a Connected App in Salesforce to connect in Middle

PreviousParamount AcceptanceNextShopify

Last updated 1 year ago

Was this helpful?

To connect to Salesforce via an API a will need to be set up in . For this process feel free to reference directly or follow the steps below:

  1. To create a Connected App you will need a Salesforce developer account. To create a new account go to .

  2. Once logged into your developer account go to Setup, enter Apps in the Quick Find box, and select App Manager

  3. Click New Connected App

  4. Configure the app's basic settings:

    • Enter the connected app’s name, which displays in the App Manager and on its App Launcher tile. The connected app name must be unique within your org

    • Enter the API name used when referring to your app from a program. It defaults to a version of the name without spaces. Only letters, numbers, and underscores are allowed, so if the original app name contains any other characters, edit the default name.

    • Enter your email as the contact email

    • Enter the your phone number for internal usage by Salesforce

    • To display your logo with the connected app on the App Launcher tile, enter a logo image URL. Your logo also displays on the consent page that users see when approving the app. The logo URL must use HTTPS. The logo image must be a GIF, JPG, or PNG file with a file size that’s preferably under 20 KB and no more than 100 KB. We resize the image to 128 pixels by 128 pixels, so be sure that you like how it looks. If you don’t supply a logo, Salesforce generates one for you using the app’s initials.

  5. Configure the app's OAuth settings

    • Check off Enable OAuth Settings

    • The Callback URL is your redirect URL. This should be https://{ENTER YOUR INSTANCE NAME HERE}.middle.app/oauth-redirect-uri/

    • For Middle's , you will need to select the following scopes:

    • Check off Require secret for Web Server Flow

  6. Save the app

  7. Enter your Consumer Key and Consumer Secret into the of your Middle Salesforce app as a JSON object. It will resemble the following JSON object:

{
"client_id": "{enter your client_id here}", 
"client_secret": "{enter your client_secret here}"
}
Connected App
Salesforce's developer portal
Salesforce's documentation
https://developer.salesforce.com/signup
out-of-the-box Salesforce app
API Keys section
The Connected App setup page