# Effortless Login with OTP

To enable the **Login with OTP** feature in your SimiCart-powered mobile app, you’ll need to connect it with Shopify’s Customer Account API via the Headless app developed by Shopify.

## Step 1: Install the Headless App

Go to the [**Headless**](https://apps.shopify.com/headless?st_source=autocomplete) app on the Shopify App Store and click **Install**.

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

## Step 2: Create a Storefront

After installation, open the **Headless** app from your Shopify Admin and click **Create Storefront**.

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

## Step 3: Configure & Retrieve Client ID

In the Shopify Admin, open the **Headless** app. Scroll down to the **Manage API access** section, where you'll see both the *Storefront API* and *Customer Account API* options. Locate **Customer Account API**, then click the **Manage** button next to it, as shown in the screenshot below.

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

On the next screen, change the **Client type** to **Public (Mobile app)** and click **Save**.

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

After saving, copy the **Client ID** in **Customer Account API credentials** section below. You’ll need it in the next step.

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

## Step 4: Enable Login with OTP in SimiCart

In your SimiCart Dashboard, go to the **Features** section and select to configure **Login with OTP**.

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

Paste the **Client ID** you copied from the Headless app into the **Client ID** field, then click **Check connection** to verify the authentication & enable the feature for your mobile app.

<figure><img src="/files/QNS65zNIBvUwuvmeUxIX" alt=""><figcaption><p>Paste the <strong>Client ID</strong> you copied from the Headless app into the <strong>Client ID</strong> field</p></figcaption></figure>

<figure><img src="/files/iUDTndmyyk42HpjXa9I2" alt=""><figcaption><p>Click <strong>Check connection</strong></p></figcaption></figure>

<figure><img src="/files/HBbqw5o0VlZ66VYZ86F8" alt=""><figcaption><p>And done!</p></figcaption></figure>

**Note:** This feature can only be enabled if you use Shopify’s recommended version of customer accounts for your store.


---

# 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://docs.simicart.com/features/gaining-new-users/effortless-login-with-otp.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.
