> For the complete documentation index, see [llms.txt](https://docs.ownchat.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ownchat.app/bot/connections/owncart.md).

# Owncart

### Overview &#x20;

The Customer Login action authenticates a customer and verifies their identity within your bot workflow. Once logged in, customers can access their profile, order history, saved addresses, and other account features through the bot.

{% embed url="<https://app.supademo.com/demo/cmpxl3fnh7ounqmy7mhtdpb74?utm_source=link>" %}

### Prerequisites &#x20;

Before configuring this action, ensure the following:

* You have an active OwnCart connection configured under the Apps tab in Ownchat
* The bot you want to configure is already created in the Bot Builder

### Step 1: Verify Your OwnCart Connection &#x20;

1. Click the Apps icon in the left sidebar.<br>

{% embed url="<https://app.supademo.com/demo/cmr1vjz9a017xw60j15yj7i7n?utm_source=link>" %}

2. Click the Ecommerce filter to view e-commerce integrations.

{% embed url="<https://app.supademo.com/demo/cmr1vrhvn01fhw60je71dj58j?utm_source=link>" %}

3. Click the OwnCart app card to view connection details.

{% embed url="<https://app.supademo.com/demo/cmr1vvs8k016pxw0j4mexl21y?utm_source=link>" %}

3. Confirm the connection is active and its available events are configured.<br>

{% embed url="<https://app.supademo.com/demo/cmr1vz4ww018oz40jc08p2fhd?utm_source=link>" %}

### Step 2: Open the Bot Builder &#x20;

1. Click Bot in the left sidebar.<br>

{% embed url="<https://app.supademo.com/demo/cmr1w1rt00147y50j0yzq1et0?utm_source=link>" %}

2. Open the bot you want to configure.

### Step 3: Add a Customer Login Node &#x20;

1. Click Add Node to expand the available action options.<br>

{% embed url="<https://app.supademo.com/demo/cmr1w3n2s0173xw0joo2dffga?utm_source=link>" %}

2. Click OwnCart to expand its submenu.

{% embed url="<https://app.supademo.com/demo/cmr1w64e1002jx80ji44aoq2s?utm_source=link>" %}

3. Click Customer Login to add the action node.<br>

{% embed url="<https://app.supademo.com/demo/cmr1w7m68002lx80jnaty1esd?utm_source=link>" %}

### Step 4: Configure the Action &#x20;

#### 4.1 — Name the Action &#x20;

Enter a descriptive name in the Action name field (e.g., Customer Login).

{% embed url="<https://app.supademo.com/demo/cmr1w8p620198z40jqr8ws8g2?utm_source=link>" %}

#### 4.2 — Select Connection &#x20;

From the dropdown, select your OwnCart connection.<br>

{% embed url="<https://app.supademo.com/demo/cmr1wbpsp017bxw0j0zl2nn71?utm_source=link>" %}

### Step 5: Store the Response &#x20;

1. Click the variable field to open the dropdown.<br>
2. Select Create new variable and name it (e.g., logincreated).

{% embed url="<https://app.supademo.com/demo/cmr1whozp019lz40jjkb7ud2g?utm_source=link>" %}

This variable stores the login response and can be referenced in downstream nodes to confirm authentication or access customer account data.

### Step 6: Publish &#x20;

Click Publish to save and deploy the bot with the new action.<br>

{% embed url="<https://app.supademo.com/demo/cmr1wlzb2003nx80ja6bo0yu3?utm_source=link>" %}

### Notes &#x20;

* The OwnCart connection must be active before it appears in the Bot Builder dropdown. Verify its status under Apps → OwnCart before configuring this action.
* The stored response variable contains the customer authentication result and can be used to conditionally route the workflow based on login success.
* Changes take effect only after clicking Publish.

### Related Actions &#x20;

* OwnCart — Customer Registration — Register a new customer account
* OwnCart — Get Customer Profile — Retrieve profile details for a logged-in customer
* Bot Builder — Node Configuration — General guide to adding and configuring nodes
