# Intercom

## 1. How to connect to Intercom?

You can follow the following steps to build a connection with your Intercom account. If you need any helps to set up your integration, please [contact us](https://docs.acho.io/master#how-to-contact-us).

1\. Go to the **Resources** page and click the **Add Resource** button.

2\. In the "Select a data source" step, select **Intercom** under **Apps**.

3\. In the "Configure the data source" step, enter the following information:

* **`Access Token:`** The value of the access token generated. See [here](#2.-how-to-get-an-access-token-for-intercom) to get an access token.
* **`Start Date:`**&#x52;etrieve data from a specific date and time. The date should be defined in  UTC date and time, such as 2017-01-25T00:00:00Z.

4\. In the "Select the tables", choose tables that you want to connect. See [here](#4.-available-tables) for more details on each table.

5\. Click **Finish Setup**. You will see a  <img src="https://3574406564-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MB_fx7PCUqvFEdrucJC%2F-MgBh5PshcmRFk38itib%2F-MgBo4LSmdK4OS-NqLZy%2Fsyncing.png?alt=media&#x26;token=452494f9-e4be-48fa-9644-bee7d969c46c" alt="" data-size="line"> icon next to your Intercom resource. It may take a few minutes to several hours depending on the data size and the number of your tables. Once your APP's data is ready, you will receive a notification email.&#x20;

## 2. How to get an access token for Intercom?

To allow Acho to connect to your Intercom account, you have to generate an access token. Here are the instructions about how to acquire it.

1\. Go to the [Intercom Developer Hub](https://app.intercom.io/a/apps/_/developer-hub/app-packages), and log into your account.

2\. Select an app or click **New app** to create a new app (if you never created it before).&#x20;

![](https://3574406564-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MB_fx7PCUqvFEdrucJC%2F-MgHBngwmUI9rn1v1AC-%2F-MgHHOsRAjx5uVGxUgP1%2Fimage.png?alt=media\&token=5c4c818b-d3cb-499b-8e6f-3c4d6d0127cc)

3\. Navigate to **Configure > Authentication** in your app, and copy your access token to Acho.

![](https://3574406564-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MB_fx7PCUqvFEdrucJC%2F-MgHBngwmUI9rn1v1AC-%2F-MgHI-H5M04YBiEeQScz%2Fimage.png?alt=media\&token=00c4d4a6-f5c6-44e3-9256-19d4b91dcba4)

## 3. How to set up Data Sync?

Acho supports creating schedulers to retrieve the latest data from your Intercom account at a certain time interval. To see more details, you can visit [here](https://docs.acho.io/data-sync/untitled).

## 4. Available Tables

* [Admins](https://developers.intercom.com/intercom-api-reference/reference#list-admins) (Full table)
* [Companies](https://developers.intercom.com/intercom-api-reference/reference#list-companies) (Incremental)
  * [Company Segments](https://developers.intercom.com/intercom-api-reference/reference#list-attached-segments-1) (Incremental)
* [Conversations](https://developers.intercom.com/intercom-api-reference/reference#list-conversations) (Incremental)
  * [Conversation Parts](https://developers.intercom.com/intercom-api-reference/reference#get-a-single-conversation) (Incremental)
* [Data Attributes](https://developers.intercom.com/intercom-api-reference/reference#data-attributes) (Full table)
  * [Customer Attributes](https://developers.intercom.com/intercom-api-reference/reference#list-customer-data-attributes) (Full table)
  * [Company Attributes](https://developers.intercom.com/intercom-api-reference/reference#list-company-data-attributes) (Full table)
* [Contacts](https://developers.intercom.com/intercom-api-reference/reference#list-contacts) (Incremental)
* [Segments](https://developers.intercom.com/intercom-api-reference/reference#list-segments) (Incremental)
* [Tags](https://developers.intercom.com/intercom-api-reference/reference#list-tags-for-an-app) (Full table)
* [Teams](https://developers.intercom.com/intercom-api-reference/reference#list-teams) (Full table)
