Versions Compared

Key

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

To use the Pipedrive connector, add the <pipedrive.init> element in your configuration before carrying out any other Pipedrive operations. 

Before you start performing various operations with the connector, make sure to import the Pipedrive certificate to your ESB client keystore.

Follow the below mentioned steps to add valid certificate to access Pipedrive API over https into the ESB client keystore:

  1. Extract the certificate from browse by navigating to ' https://api.pipedrive.com ' and click the lock icon on the address bar to view the certificate.
  2. Place the downloaded certificate into "PIPEDRIVE_CONNECTOR_HOME/src/test/resources/keystores/products" folder.
  3. Navigate to "PIPEDRIVE_CONNECTOR_HOME/src/test/resources/keystores/products/" using command prompt and execute the following command.
  4. This command will import Pipedrive certificate in to keystore. Give "wso2carbon" as password.To import the certificate give "wso2carbon" as password. Press "Y" to complete certificate import process.

    Code Block
    keytool -importcert -file CERT_FILE_NAME -keystore wso2carbon.jks -alias -alias "CERT_NAME"

Pipedrive  API uses a JSON format for output and is capable of handling CORS (Cross-Origin Resource Sharing) requests. The API is stateless – all requests are validated against an API token. The API token can be obtained manually from the Pipedrive app, or via fetching the Authorations objects. For more information, see https://developers.pipedrive.com/v1.

Code Block
languagexml
titleinit
<pipedrive.init>
    <apiToken>{$ctx:apiToken}</apiToken>
	<apiUrl>{$ctx:apiUrl}</apiUrl>
</pipedrive.init>
Properties
  • apiToken:  The api token of a valid Pipedrive account
  • apiUrl:  The URL to access the Pipedrive API

Now that you have connected to Pipedrive, use the information in the following topics to perform various operations with the connector.

...