# How to Integrate ShipBob with Daton

### Pre-requisites

Before starting, ensure you have&#x20;

1. An active Daton and ShipBob account.
2. A Personal Access Token (PAT) for your ShipBob Account.

### Task &#x31;**:** Create an Access Token (Personal Access Token (PAT)) for Your ShipBob Account

1. [Log in](https://auth.shipbob.com/Account/Login?returnUrl=%2Fconnect%2Fauthorize%2Fcallback%3Fclient_id%3DShipBob.OneId.User%26redirect_uri%3Dhttps%253A%252F%252Fweb.shipbob.com%252Fapp%252FMerchant%252Fsignin-callback%26response_type%3Dcode%26scope%3Dopenid%2520profile%2520email%2520read%2520write%2520offline_access%2520inboundManagement_read%2520fulfillments_read%2520orders_read%2520orders_write%2520orderstateapi_read%2520receiving_read%2520receiving_write%2520returns_read%2520returns_write%2520addressValidation%2520labeling_read%2520labeling_write%2520inventory_read%2520inventory_write%2520channels_read%2520locations_read%2520locations_write%2520workOrders_read%2520workOrders_write%2520powerBIconfig_read%2520products_read%2520pricing_read%2520fulfillment_customization_write%2520fulfillment_customization_read%2520cartbob_write%2520cartbob_read%2520onboarding_read%2520onboarding_write%2520inventoryallocation_read%2520internal_integrations_read%2520internal_integrations_write%2520internal_fulfillments_write%2520fba_read%2520fba_write%2520pricing_write%2520token_management%2520products_write%2520b2bpacking_read%2520b2bpacking_write%2520membership_read%2520membership_write%26state%3D9a95274e839346e0985bf5349460b856%26code_challenge%3DEe901CPDXjOI-lAtxXS6XivmywHBB35RvePsT0Oz664%26code_challenge_method%3DS256%26shipbob_response_mode%3Dquery) to your Shipbob account.
2. On the dashboard, click **Integrations** in the left-hand navigation bar.&#x20;

   <figure><img src="/files/MFzwoVz8xhUBpkYjomH9" alt="" width="188"><figcaption></figcaption></figure>
3. Choose **API Tokens** from the drop-down menu to access the Personal Access Token (PAT) page.
4. Click **Generate New Token**, and a sidebar will appear on the right side of the screen.&#x20;

   <figure><img src="/files/yOWZijsZ9q27Gld0BvA5" alt=""><figcaption></figcaption></figure>
5. Provide a **Token Name** (up to 100 characters) and a **Description** (up to 250 characters) to identify and explain the token's purpose.
   * Click **Generate Token** at the bottom right to create the PAT.&#x20;

     <figure><img src="/files/azA4xkglPipC9YeRDh5A" alt="" width="188"><figcaption></figcaption></figure>
6. A confirmation message will appear, and an email notification will be sent to relevant users.
7. Copy the token provided as it won't be visible again in the dashboard. **Save** it securely.
8. Check the box confirming that **I have copied the token**.
9. Click **Confirm & Close** to complete the process.&#x20;

   <figure><img src="/files/4XXdbvoZsrXOPJecnWcN" alt="" width="188"><figcaption></figcaption></figure>

To know more about PAT creation and access for Shipbob, see [API Token Generation (Personal Access Token).](https://support.shipbob.com/s/article/API-Token-Generation-Personal-Access-Token#:~:text=A%20personal%20access%20token%20%28PAT%29%20contains%20your%20user,attempting%20to%20connect%20a%20platform%20to%20ShipBob%E2%80%99s%20API.)

### Task 2: Integrate Daton with ShipBob

1. Log in to your [Daton account](https://daton.sarasanalytics.com/u/integrations-list) and search for ShipBob in the list of Connectors, then click **Configure**.
2. Enter 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="/files/uWILNxX2njkB1pjeK98Z" alt=""><figcaption></figcaption></figure>
3. Copy and paste the API token you created for your ShipBob account to authenticate the integration and extract data for replication.&#x20;

   * Then click **Authenticate**.&#x20;

   <figure><img src="/files/7AxZTC5v3XBWHUMgA8mz" 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**.

   1. Optionally, based on your requirement, select specific options for each selected table.&#x20;

   <figure><img src="/files/FQbhPHf5zpSNaEiRYp48" alt=""><figcaption></figcaption></figure>
5. Select the required fields for each table and click **Submit.**&#x20;

   * **Note** that you will be prompted to select the destination for your account.

   <figure><img src="/files/baSkoEa08qDD7Kps9RrE" alt=""><figcaption></figcaption></figure>
6. Select the destination for your store or shop 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 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/shipping-platforms/shipbob/how-to-integrate-shipbob-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.
