> 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/payments/razorpay/how-to-integrate-razorpay-with-daton.md).

# How to Integrate Razorpay with Daton

### Prerequisites

Before starting, ensure you have an active Daton and Razorpay account.

### Task &#x31;**: Generate an Access token** for your Razorpay account

* Log in to your Razorpay account and select **Settings** on the left menu.  &#x20;
* Navigate to the API section and click **Generate Test Key.**&#x20;

<figure><img src="/files/eJXfcCpbfNotPN9P2FdR" alt="" width="563"><figcaption></figcaption></figure>

* Your API Key Id and Key Secret will appear on your screen. Save the credentials as they will be used during Razorpay integration with daton and click **OK.**

  <figure><img src="/files/yofiRRubp7N6m6qxi9os" alt="" width="563"><figcaption></figcaption></figure>

### **Task 2:** ​Integrate Daton with Razorpay Account

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

   * Integration Name&#x20;
   * Replication Frequency&#x20;
   * Replication Start Date&#x20;

   <figure><img src="/files/WsrLbyNxiiLctZaTjjK2" alt=""><figcaption></figcaption></figure>

   **Note** that the Integration Name will be used to create the integration tables and cannot be modified later.
3. Provide the following Razorpay API credentials to **authenticate** the integration:&#x20;

   * User ID
   * API key

   <figure><img src="/files/6IZsKluLZT5PDLGt2Lff" 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;

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

   <figure><img src="/files/WjsYZadJnOgSHUozOoNb" alt=""><figcaption></figcaption></figure>

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