# Pipedrive

## 1. Connect to Pipedrive

1\. Go to the **Resources** page and click the <img src="https://3574406564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MB_fx7PCUqvFEdrucJC%2Fuploads%2Fct5RJC2cjHhrvymOWWGx%2Fimage.png?alt=media&#x26;token=b4ff0c44-5510-49d1-97dd-a155af254113" alt="" data-size="line">  button.&#x20;

2\. Select **Pipedrive**.

3\. Enter your account credentials and click **Connect**.&#x20;

* **`API Token`**: The Pipedrive API Key is used for authentication. Visit [Pipedrive](https://app.pipedrive.com/settings/api) to get the Access Token. For details, see [this](https://support.pipedrive.com/en/article/how-can-i-find-my-personal-api-key).
* **`Start Date`**:  Retrieve data starting from this date. The date should be in the format of YYYY-MM-DD in UTC.

4\. Select the tables you want to import. If there are any additional required forms or fields, make sure to provide the necessary information to proceed.

5\. Click the **Test** button to validate the connection and preview the connected data.

6\. Click **Create Resource** to finalize the setup. You will be automatically redirected to the resource page, where you can find your newly connected resource displayed at the top.

## 2. Get API token from Pipedrive

This connector supports only authentication with API Token. To obtain API Token follow the instructions below:

#### Enable API:

1. Click Manage users from the left-side menu.
2. Click on the Permission sets tab.
3. Choose the set where the user (who needs the API enabled) belongs to.
4. Lastly, click on "use API" on the right-hand side section (you need to scroll down a bit).

   Now all users who belong in the set that has the API enabled can find their API token under

   Settings > Personal Preferences > API in their Pipedrive web app.

See [Enabling API for company users](https://pipedrive.readme.io/docs/enabling-api-for-company-users) for more info.

#### How to find the API token:

1. Account name (on the top right)
2. Click **Personal preferences**
3. Click **API**
4. Copy API Token

<figure><img src="https://3574406564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MB_fx7PCUqvFEdrucJC%2Fuploads%2Ffdgpbav3lDWehkZD9yXc%2FScreen%20Shot%202023-06-16%20at%2010.25.10%20AM.png?alt=media&#x26;token=5f734842-93de-447a-9ad3-bf2073b14fb8" alt=""><figcaption><p>API Token</p></figcaption></figure>

See [How to find the API token](https://pipedrive.readme.io/docs/how-to-find-the-api-token) for more info.

## 3. Available Tables

* [Activities](https://developers.pipedrive.com/docs/api/v1/Activities#getActivities)
* [ActivityFields](https://developers.pipedrive.com/docs/api/v1/ActivityFields#getActivityFields)
* [Currencies](https://developers.pipedrive.com/docs/api/v1/Currencies#getCurrencies)
* [Deals](https://developers.pipedrive.com/docs/api/v1/Deals#getDeals)
* [Leads](https://developers.pipedrive.com/docs/api/v1/Leads#getLeads)
* [Persons](https://developers.pipedrive.com/docs/api/v1/Persons#getPersons)
* [Products](https://developers.pipedrive.com/docs/api/v1/Products#getProducts)
* [Stages](https://developers.pipedrive.com/docs/api/v1/Stages#getStages)
* [Users](https://developers.pipedrive.com/docs/api/v1/Users#getUsers)
