LogoLogo
6.1
  • Docs
  • Connector Configuration
  • Knowledge Base
  • Changelog
6.1
  • Introduction
  • Getting Started
    • Build and Publish an Integration
    • Build and Run an Automation
    • Build and Run an AI agent
    • Build a Custom Connector
    • Embed into Your Application
    • Monitor & Troubleshoot
    • Access Appmixer REST API
    • Install and Update Connectors
    • Connector Configuration
    • Handle Flow Errors
    • Use App Events
    • End User Guide
  • API
    • Authentication
    • Flows
    • Apps
    • Accounts
    • User
    • Insights
    • Files
    • Data Stores
    • Connector Configuration
    • People Task
    • ACL
    • Charts
    • Config
    • Modifiers
    • Public Files
    • Unprocessed Messages
    • Variables
  • Building Connectors
    • Flow
    • Component
    • Basic Structure
    • Manifest
      • name
      • label
      • icon
      • description
      • auth
      • inPorts
      • outPorts
      • properties
      • quota
      • tick
      • private
      • webhook
      • httpRequestMethods
      • state
      • author
      • marker
      • localization
      • firePatterns
    • Behaviour
    • Dependencies
    • Authentication
    • Quotas & Limits
    • Example: twilio.SendSMS
    • Example: Webhook Trigger
  • Appmixer UI SDK
    • Introduction
    • Installation
    • Quick Start
    • Constructor
    • API Module
    • UI & Widgets
      • Flow Manager
      • Designer
      • Insights Logs
      • Insights Chart Editor
      • Insights Dashboard
      • Accounts
      • Storage
      • People Tasks
      • Connectors
      • Integrations
      • Wizard
    • Custom API
  • Customizing Embedded UI
    • Custom Theme
    • Custom Strings
    • Custom Component Strings
  • Appmixer Backoffice
    • Getting Started
    • System Configuration
  • Appmixer CLI
    • Getting Started
    • OpenAPI Connector Generator
      • Getting started
      • Open API Extensions
      • Examples
  • Appmixer Self-Managed
    • Installation Docker Compose
    • Installation AWS ECS
    • Getting Started
    • Authentication Hub
    • Additional Configuration
    • Appmixer Architecture
    • Appmixer Deployment Models
  • Tutorials
    • Appmixer Virtual Users
    • Flows Metadata & Filtering
    • Access Control
    • Sharing Flows
    • People Tasks
    • Customizing modifiers
  • App Registration
    • Airtable
    • ActiveCampaign
    • Asana
    • Azure Cognitive Services
    • Blackboard
    • DeepAI
    • DocuSign
    • Dropbox
    • Freshdesk
    • Google
    • Highrise
    • Hubspot
    • Jira
    • Jotform
    • LinkedIn
    • Mailchimp
    • Microsoft
    • Microsoft Dynamics 365 CRM
    • Monday
    • Open AI
    • Pipedrive
    • Quickbooks
    • Redmine
    • Salesforce
    • Schoology
    • Screenshot API
    • ServiceNow
    • Slack
    • Trello
    • Typeform
    • Twilio
    • Twitter
    • Utilities
      • AI
      • Email
      • Language
      • Tasks
      • Test
      • Weather
      • AppEvents
    • Xero
    • Zendesk Tickets
    • Zendesk Chat
    • Zoho
  • Connectors
    • Connector Request
Powered by GitBook
On this page
  • Create a Salesforce application
  • Getting client id and secret
  • Authentication configuration

Was this helpful?

Export as PDF
  1. App Registration

Salesforce

PreviousRedmineNextSchoology

Was this helpful?

Create a Salesforce application

To integrate Appmixer with Salesforce, you are going to need an app in your Salesforce account. You can either create a new one or use one that already exists.

To create an app, you have to login into . Once logged in, on the left menu, look up Platform Tools -> Apps -> App Manager. This will show you a list of your existing apps and provide the option to create a new one via the New Connected App on the top right side:

In the next screen, you will be requested to fill out some basic data about your new app. Look out for the API (Enable OAuth Settings) section. Tick the Enable OAuth Settings checkbox, and fill out the callback URL and scopes as shown in this screenshot:

Check the Require Secret for Web Server Flow, Require Secret for Refresh Token Flow and Enable Authorization Code and Credentials Flow checkboxes.

Getting client id and secret

With your app ready, you can get the client id and secret required for integrate Salesforce into Appmixer. Go to the App Manager and search for your app in the list. On the dropdown in the right side, click the View option.

In the next screen, look out for API (Enable OAuth Settings) section and click on the Manage Consumer Details button. You should see now your client id (shown as Consumer Key) and secret (shown as Consumer Secret):

Now we can provide these values to Appmixer. Log into the Backoffice and go to the Configuration section. Create a configuration service for Salesforce as follows:

Finally, set the clientId (Consumer Key in Salesforce) and the clientSecret (Consumer Secret in Salesforce) like this:

Authentication configuration

  • login—The authorization server must prompt the user for reauthentication, forcing the user to log in again.

  • consent—The authorization server must prompt the user for reapproval before returning information to the client.

  • select_account—If present, take one of the following actions.

    • If zero or one hint is available and the user is logged in, show the approval page without prompting for login.

    • If zero or one hint is available and the user isn’t logged in, prompt for login.

    • If more than one hint is available, show the account chooser.

By default, we use the login option, but you can configure it through the Backoffice.

  1. Login into the Backoffice, and go to the Services module. Then add a new service like this:

2. Add a promptType key, and set it to one of the supported values by Salesforce:

Login URL

The Salesforce OAuth authentication offers several behaviors when users try to authenticate. This is the summary of the available options (taken from Salesforce ):

The default login URL is , this can be changed with a baseUrl.

Oauth docs
https://login.salesforce.com
Salesforce Developer portal
App manager
Filling OAuth settings for your application
Configure additional properties
Navigating to your app details
Salesforce client id (Consumer Key) and secret (Consumer Secret)
Creating configuration for Salesforce in the Backoffice
Adding clientId and clientSecret to Appmixer