# Connect ClickPost, Shiprocket, GoKwik and Return Prime

Connect ClickPost, Shiprocket, GoKwik and Return Prime accounts to Robylon, and get ready-made APIs and variables for tracking, serviceability, cancellations, payment status, refunds and returns in workflows and AI agent tools.

> Source: https://www.robylon.ai/docs/integrations/shipping-returns-checkout
> Section: Integrations

ClickPost, Shiprocket, GoKwik and Return Prime connect with your account credentials. Robylon checks the credentials with the provider, saves them as credentials, and then creates ready-made APIs and variables in your workspace, so a workflow or an AI agent tool can track a parcel, check a refund or share a return link without you building the requests.

Open each app from its card on [**Settings → Integrations → All Integrations**](https://app.robylon.ai/settings/integrations). The four apps are not in the side navigation.

## The four apps

| App | What it is for | Page |
| --- | --- | --- |
| **ClickPost** | Track shipments across couriers by AWB and answer where-is-my-order questions. | [**ClickPost**](https://app.robylon.ai/settings/integrations/clickpost) |
| **Shiprocket** | Track orders, check pincode serviceability and cancel shipments. | [**Shiprocket**](https://app.robylon.ai/settings/integrations/shiprocket) |
| **GoKwik** | Look up checkout orders, payment status and refunds. | [**GoKwik**](https://app.robylon.ai/settings/integrations/gokwik) |
| **Return Prime** | Look up returns and exchanges, and share the return flow link. | [**Return Prime**](https://app.robylon.ai/settings/integrations/returnprime) |

## Connect an account

Only a Super Admin can connect an account. Robylon checks every credential with the provider before anything is saved, so a wrong password or key stops the connection at the first step.

<Steps>
  <Step title="Open the app">
    Go to [**Settings → Integrations → All Integrations**](https://app.robylon.ai/settings/integrations) and click the app's card.
  </Step>
  <Step title="Add an account">
    Click **Add Account** and fill in the fields for the app (see [Connection fields](#connection-fields)).
  </Step>
  <Step title="Validate the credentials">
    Click **Validate**. Robylon calls the provider with the credentials and shows "Validated as" with the account name. Click **Next**.
  </Step>
  <Step title="Pick a channel (Shiprocket only)">
    Choose the **Channel** the orders come from, then click **Next**.
  </Step>
  <Step title="Finish setup">
    Review the summary and click **Finish Setup**. The account is saved, and Robylon starts creating the app's variables and APIs.
  </Step>
</Steps>

When the variables and APIs are created, you get a notification naming the app, for example "Shiprocket variables and APIs are ready". Click it to open [**Settings → Data & Developer → Variables**](https://app.robylon.ai/settings/global-variables) filtered to that app's variables. If some could not be created, the notification reads, for example, "Shiprocket setup is incomplete" and the Robylon team is alerted.

## Connection fields

| App | Fields |
| --- | --- |
| **ClickPost** | **ClickPost Username**, **ClickPost API Key**, **Recent AWB Number** and **Courier Partner ID** (the numeric ClickPost ID of the courier carrying that AWB). The AWB is used once to confirm the credentials. |
| **Shiprocket** | **API User Email** and **API User Password**, then the **Channel** picker after validation. Use the Shiprocket API user, not the panel login. |
| **GoKwik** | **GoKwik App ID**, **GoKwik App Secret** and **Recent Order Number**. The order number is used once to confirm the credentials. |
| **Return Prime** | **Return Prime App Token**, plus an optional **Store Domain** (your myshopify domain) and an optional **Return Prime Channel ID**. Both optional fields are used only by the return flow link. |

If you leave a Return Prime optional field empty, Robylon still creates every API and leaves the matching variable empty. Fill it in on [**Settings → Data & Developer → Variables**](https://app.robylon.ai/settings/global-variables) before you use **Return Prime - Return flow link**.

## Connected accounts

A workspace can connect several accounts of each app. Each app's page lists them in a table with these columns:

| App | Columns |
| --- | --- |
| **ClickPost** | Account, Courier, Sample AWB, Connected By, Connected At, Status |
| **Shiprocket** | Account, Channel, Company ID, Connected By, Connected At, Status |
| **GoKwik** | Account, Sample Order, Connected By, Connected At, Status |
| **Return Prime** | Account, Store Domain, Store ID, Connected By, Connected At, Status |

**Status** is **Connected** or **Pending**. In Shiprocket, each channel is its own account, so one API user connected to 2 channels shows as 2 rows.

## What connecting creates

Connecting an account adds ready-made APIs to [**Settings → Data & Developer → APIs**](https://app.robylon.ai/settings/apis), with the variables and credentials they use, so you can track shipments, check orders, refunds and returns without building the API calls yourself. Each API is named after the app and the action, for example "Shiprocket - Track by AWB". Robylon never overwrites an API or variable that already exists.

Use the APIs like any API you save yourself: pick one in a workflow's **API** block, or wrap it in a tool on [**Settings → Data & Developer → Tools**](https://app.robylon.ai/settings/tools) for an AI agent. See [APIs](https://www.robylon.ai/docs/data-and-integrations/apis) and [Tools](https://www.robylon.ai/docs/data-and-integrations/api-tools-functions).

## Reconnect or disconnect an account

* **Reconnect:** connect the same account again with **Add Account**. Robylon refreshes the saved credential values, so a rotated key or password reaches every workflow and tool. Existing APIs and variables are not changed.
* **Disconnect:** choose **Disconnect** from the actions on the account's row. Robylon deletes that account's credentials. The APIs and variables stay in your workspace.

## Related guides

* [All integrations](https://www.robylon.ai/docs/integrations/all-integrations)
* [Shopify](https://www.robylon.ai/docs/integrations/shopify)
* [APIs](https://www.robylon.ai/docs/data-and-integrations/apis)
* [Variables](https://www.robylon.ai/docs/data-and-integrations/variables-intents-entities)
* [Credentials](https://www.robylon.ai/docs/data-and-integrations/secrets-keys)
