Page tree
Skip to end of metadata
Go to start of metadata

This page details how to connect to Salesforce Professional Edition users. This is not a comprehensive article, but a starting place. If you cannot connect your ProjectorBI to Salesforce, you may need to work with Projector's consulting team.

Permissions and Settings

This Connector requires Salesforce Professional Edition + an API license.

Record Limits

Please note that Salesforce limits the results returned by calls to the REST-based API used by this connector to 2,000 records or 20,000 characters. When you choose the Salesforce API, you should be shown a warning about this limit: 

See https://help.salesforce.com/articleView?id=000181883&language=en_US&type=1 for more information.

While there is a SOAP-based API that is available, it is a more complex interface to set up. The SOAP API has a different authentication mechanism that requires the IP addresses where the ProjectorBI is hosted to be whitelisted (e.g., in Salesforce.com -> Accounts -> Administration Setup -> Security Controls -> Network Access). As such, we do generally recommend that users stick with the REST-based API by taking larger responses and chunking them up into multiple smaller calls using appropriate filters. These smaller calls can then be reassembled in the ProjectorBI dataset. 

Configure Salesforce

In Salesforce.com, you need to get a couple of keys that can be used for authentication purposes in the ProjectorBI. You only have to do this once.

In Salesforce:

  1. Setup > App Setup > Create Apps and create a new Connected App (or edit an existing connected app if you have one)


  2. Use https://aam.projectorpsa.com/en/auth/callback/SF as the Callback URL 
  3. Your e-mail address as the contact email
  4. Set OAuth Scope to:
    1. Access and manage your data (api)
    2. Perform requests on your behalf at any time (refresh_toke, offline_access)


  5. Click Save
  6. The next screen should have your Consumer Secret and Consumer Key. If it does not, you can go to App Setup | Create | Apps | Manage button
  7. Copy down your Consumer Key and Consumer Secret
  8. If you wish, you can enforce IP and token restrictions from the Policies area of your connected app.
  9. Make sure that your Oauth token does not expire prior to the next scheduled import. Edit your connected app and choose the expiration settings that make the most sense for your organization. For example, never expire or expire if not used for several months.
  10. Wait 2-10 minutes for the changes made to propagate through Salesforce


ProjectorBI Configuration

Steps for configuring an ProjectorBI data source to get Salesforce data.

  1. Go to any data set, Data Source subsection. Click Add.
  2. Choose the Salesforce CRM connector

  3. Choose Rest API

  4. Choose Advanced Settings

  5. Enter your consumer key and consumer secret

  6. Sign in using your Salesforce Account
  7. You'll get a data source error message, just close it.
  8. Click on the Salesforce connector again and click on Sign in using your Salesforce account (again). This time you'll see the following dialog. You can use one of the predefined queries, but keep in mind that they are very generic in terms of the data they pull. They are also not very configurable. If you have an idea of the exact data you need, see the next section of this page titles, SOQL Query and set your query directly.
  9. Save and you'll be in the import template editor.


SOQL Query

If you know what you are doing, you can write your own SOQL queries as opposed to using the ones built into the Salesforce connector wizard. To write your own SOQL query using Salesforce's GUI, try these steps:

  1. Go to https://workbench.developerforce.com/login.php and login
  2. Jump to = SOQL Query
  3. Object = Table you need to query
  4. Use the GUI to build your query

Table of Contents
  • No labels