How to Integrate StayAI with Daton

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

Need help with something?

Talk to data expert

Pre-requisites

Before starting, ensure you have 

  • An active Stay AI Subcription Account and Daton account. 

Stay AI API Token.
 (a) Task 1: Get Your Stay AI Credentials
                     Get it in the Stay AI App.
Authentication: Stay_AI uses API key-based authentication to secure access to its platform. API keys are managed directly within the Stay AI Merchant Portal and serve as the primary credential for all API interactions between Daton and the Stay AI platform.

Generating an API Key: To authenticate the Stay AI connector with Daton, a valid API key must first be        created within the Stay AI Merchant Portal:

  • Log in to the Stay AI Merchant Portal.
  • Navigate to Settings → API Keys.
  • Click the New API Key button to generate a new key. (While Choosing Scope , Please select “All”)

Copy the generated key and store it securely — it will be used to configure the connector in Daton.

For Generating API Key: Please follow the official doc Authentication

(b) Task 2: Integrate Daton with Stay AI
Log in to your Daton account and search for Stay AI in the list of Connectors, then click Configure.

  1. Enter or select the following details and click Authenticate
    • 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 
  • 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.

Provide the Stay AI API Key (Generated in Task1) to authenticate the integration. Then click Authenticate.

  • After successful authentication, you will be prompted to choose from the list of available tables. Select the required tables and click Next
  • Based on your requirement, select specific options for each selected table.
  • Click on Next.
  • Select the required fields for each table and click Submit.
     

Note that you will be prompted to select the destination for your account.
Select the destination for extracting ParcelLab 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. 
  • Users can check job status and process logs from the integration details page by clicking on the integration name in the active list. 
  • 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. 
  • 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.