# How to Integrate Teamwork v2 with Daton

### Pre-requisites

Before starting, ensure you have&#x20;

* An active Teamwork and Daton account.
* Teamwork Base URL (Site URL)

### Task 1: **Get your** Teamwork Base URL&#x20;

Perform the following steps to get your Teamwork Base URL (Site URL): &#x20;

1. Log in to your Teamwork account and click your **Avatar** in the bottom left.
2. From the menu that appears, select **Settings**.
3. Once you are in the settings section, locate and click on **General**.
4. Your **Site Address** will be visible in this section.&#x20;

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2Fb48HXVtYcBJcC1ByLjyf%2F5Teamwork%20URL.png?alt=media&#x26;token=adbdfc14-e4dd-49e0-b23b-1c225ec9e2b4" alt=""><figcaption></figcaption></figure>

   Copy and save this URL as it will be used during the integration.

### Task 2: Integrate Daton with Teamwork v2

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

   * Integration Name. (required)\
     \&#xNAN;*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.
   * Teamwork Base URL (required)
   * 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%2Fhu90RhbSEnrnQbt4cQtT%2FTeamwork.png?alt=media&#x26;token=7e2937a3-8aab-41a1-8268-4db3ac84c859" alt=""><figcaption></figcaption></figure>
3. You'll be redirected to the Teamwork login page in a new browser tab; proceed to log in to your account and return to your Daton integration tab.

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FcXjdANrEDgmdM6mUHEoE%2F1Teamworkv2.png?alt=media&#x26;token=a569957b-0d57-4f3e-9683-c409982761cb" alt=""><figcaption></figcaption></figure>
4. After successful authentication, you will be redirected to the Daton's integration page 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%2FJAQacgknDxXsGY46YlNV%2F3Teamworkv2.png?alt=media&#x26;token=08b5faf5-e926-41c0-bb93-b6a787af18eb" 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%2Fjbp9hIJOvhD3i5VXLexR%2F4Teamworkv2.png?alt=media&#x26;token=880f4396-dc6e-44fb-8ab8-436c42c84569" alt=""><figcaption></figcaption></figure>

   * **Note** that you will be prompted to select the destination for your account.
6. Select the destination for extracting Teamwork v2 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;


---

# 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://daton-sarasanalytics.gitbook.io/daton/integrations/data-sources/business/teamwork-v2/how-to-integrate-teamwork-v2-with-daton.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.
