Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Enable API for salesforce instance

Communication

Make sure XPLG instance(s) can reach your Salesforce instance (usually port 443).

Pre-logging-setup - Salesforce

  1. Go to the

...

  1. Setup page of your instance as admin.

...

  1. Navigate to Setup →  Apps → App Manager and click on

...

  1. the button New Connected App.

  2. Fill the Connected App Name box as 'XPLG Integration' and complete the form.

...

  1. Mark the

...

  1. option Enable OAuth Settings and then check also the option Enable for Device Flow.

  2. Fill the Callback URL box.

  3. On Selected OAuth Scopes, add the permissions ‘Full access (full)

...

  1. '.

  2. Uncheck

...

On quick find: search for “manage connected apps” in the and click on it

...

You will see a table with your connected apps. Press edit on the action column of your app

...

Change IP relaxation to Relax IP restrictions

...

Go to the app manager again (search in quick find) . Look for your app in the shown table and press the down arrow on the right of the table row. Press edit

...

You will find the consumer key and consumer secret there. These are the details secret required for Oauth authentication for token retrieval

To add a salesforce log

...

In the add data page, fill in the username and password which are used to enter your salesforce account

...

  1. both options “Require Secret for Web Server Flow” and “Require Secret for Refresh Token Flow“.

  2. Click Save and the Connected App will be created.

  3. Navigate to Setup →  Apps → Connected Apps → Manage Connected Apps and edit the app.

  4. Select Relax IP restrictions under OAuth Policies > IP Relaxation and click on 'Save'.

  5. Navigate to Setup →  Apps → Connected Apps → App Manager, search for the new connected app and click on ‘View’.

  6. Click on the button Manage Consumer Details to view the Consumer Key and Consumer Secret. These are the details required for OAuth authentication for token retrieval.

  7. Copy the Consumer Key and Consumer Secret to a safe location.

  8. For XPLG integration you'll need - username, password, instance (https://****.salesforce.com), client ID (consumer ID=Consumer Key) and client secret (Consumer Secret).

XPLG - To add a Salesforce log

  1. Click on Add Data →  Add Log.

  2. Choose the Source Type Salesforce.

  3. Choose an Existing Salesforce Account OR click on NEW for create a new one.

  4. Create a new Salesforce Account:

    1. In the Username, enter your Salesforce account username.

    2. In the Password, enter your Salesforce account password.

    3. In the Instance name, enter your Salesforce URL (should be of the form ****.salesforce.com)

...

Define the Time To Retrieve, as usual.

...

    1. .

      Image Added
    2. In the Client ID (consumer key) and Client Secret (consumer secret), enter your OAuth credentials. There are exactly the consumer key and consumer secret (respectively) which appear

...

Choose the desired logs form the Choose Logs.

...

    1. above.

    2. Click ‘Verify’ and then on ‘Save’.

  1. Click on Next.

  2. In the Time To Retrieve, select the default past time to retrieve data.

  3. Click on Done – XpoLog applies an automated pattern on the incoming log. Verify that data is displayed and parsed properly.

  4. Click ‘Save’ and choose one of the following options:

  • Save & Close – XpoLog saves the new log and points to the logs tree. locate the log in the logs tree and enter the viewer in order to view the log.

  • Save & Add Another – XpoLog saves the new log and points to Add Log screen so that you may another log.
    Optionally, defining the basic information of the new log (see Setting Log General Information).