# Pipedrive

### Prequisites

* A Pipedrive account with sufficient permissions

Important note: the scope of the data which will be synchronized to Coworker is defined by the user behind the API key.\
We recommend that you create a service account which will have the right permissions, ie. no access to sensitive deals/data.

### Generating the credentials

Log in as the service account which will make the API key, and go to the API settings page (/settings/api).

Click on "Generate" to make a new API key.

<figure><img src="https://3561055466-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcl1KIMhPQkmG41x5eGvL%2Fuploads%2F8NKAddZs4Mra4Nna8Jfv%2FScreenshot%202024-08-01%20at%209.55.24.png?alt=media&#x26;token=1f778862-95b1-4094-b579-3a8636f78f34" alt=""><figcaption></figcaption></figure>

Although Pipedrive does not offer granularity on the permissions associated to a token, Coworker will not be making any write operation on your data. In order to sync your data in real time, webhooks will be configured, this is the only write action which will be done.

### Information required for the Coworker connection:

* `api_key`: the API key generated above
* `start_date`: the date of the first document that should be synchronized. No document updated before that will be synchronized. Format: ISO8601 date, ie. 2024-05-01T00:00:00Z


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://village-labs.gitbook.io/coworker-product-and-developer-docs/data-connections/pipedrive.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
