> For the complete documentation index, see [llms.txt](https://daton-sarasanalytics.gitbook.io/daton/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daton-sarasanalytics.gitbook.io/daton/integrations/data-sources/surveys/fairing/how-to-integrate-fairing-with-daton.md).

# How to Integrate Fairing with Daton

This subtopic provides step-by-step instructions to create Fairing integrations in Daton, detailing the prerequisites, the integration process, and important notes.

### Pre-requisites

Before starting, ensure you have&#x20;

* An active Daton and a Fairing account.
* Fairing API Key.

### Task &#x31;**: Get your Fairing** API Key&#x20;

Perform the following steps to get your Fairing API key: &#x20;

1. Log in to your [Fairing account](https://app.fairing.co/login).
2. On the dashboard, select **Account**.
3. Under the API credentials section, locate Publishable Key.&#x20;

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2F7akgHxM5ahCEbXVCDfMe%2FFairing%20API%20Key.png?alt=media&amp;token=d0ca12f9-b1eb-472a-9d00-c716c0575c0e" alt=""><figcaption></figcaption></figure>
4. **Copy** and save the Key for further use.

### Task &#x32;**:** Integrate Daton with Fairing&#x20;

1. Log in to your [Daton account](https://daton.sarasanalytics.com/u/integrations-list) and search for Fairing in the list of Connectors, then click **Configure**.
2. Enter or select the following details and click **Authenticate**:&#x20;

   * Integration Name. Note that the Integration Name will be used to create the integration tables and cannot be modified later.
     * Optionally, add a description to identify the integration.
   * Replication Frequency&#x20;
   * Replication Start Date
   * Optionally, expand the **Advanced Configuration Options** section and, based on your requirements, modify the options to control the loading behavior of Daton.

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FU9BLag4MaViOhKi33x58%2F1Fairing.png?alt=media&amp;token=e6bf2b14-5327-4ca9-858c-31ca8ea56a2e" alt=""><figcaption></figcaption></figure>
3. Paste the Fairing API Key in the required field to authenticate the integration. Then click **Authenticate**.&#x20;

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FpgTLsW4BQSbaM9ROEeW5%2F2Fairing.png?alt=media&amp;token=e3e4e46b-bae2-48ca-bef9-57857e9a46b1" alt=""><figcaption></figcaption></figure>
4. After successful authentication, you will be prompted to choose from the list of available tables. Select the required tables and click **Next**.&#x20;

   * Based on your requirement, select specific options for each selected table.

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FEvOj165ALIuGyfNC7vi3%2F3Fairing.png?alt=media&amp;token=5151161f-c749-4aff-97b8-75290f368bd0" alt=""><figcaption></figcaption></figure>
5. Select the required fields for each table and click **Submit.**&#x20;

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FRqC0fiqEtXIpUtLLtHvE%2F4Fairing.png?alt=media&amp;token=7dea5178-1263-4736-a1fb-564abb289252" alt=""><figcaption></figcaption></figure>

   * **Note** that you will be prompted to select the destination for your account.
6. Select the destination for extracting Fairing data for replication and click **Confirm**. An integration successful message will be displayed.

## Important Note

* Integrations would begin in the Pending state and change to the Active state once the first job successfully loaded data into the configured warehouse.&#x20;
* Users can check job status and process logs from the integration details page by clicking on the integration name in the active list.&#x20;
* Users can Re-Authenticate, Edit, Clone, Pause, or Delete the integration at any moment by clicking on settings. You can also adjust the frequency and history of the integration.&#x20;
* On the Sources page, click Integration to access each table in your integration. The page also shows the state of each table, the last replicated time, and the Reload access buttons.&#x20;
