> For the complete documentation index, see [llms.txt](https://smsgem.gitbook.io/smsgem-document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smsgem.gitbook.io/smsgem-document/getting-started/onboarding.md).

# Onboarding

## Step 1: Analyze your store

We'll do a quick scan to see if your store lost much sales from abandoned cart.

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

Then click **Set up Cart Recovery SMS Flow.**&#x20;

## Step 2: Set up Cart Recovery SMS Flow

### 2.1. Select your country

Select country where you'll send SMS. Each country has its own rule on how your business can send SMS to customers.

If you select US & CA, you must follow their TCPA rules on sending out marketing SMS. Any Country allow you to send SMS to other countries.

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

### 2.2. Select your goal

SMSGem provide you 3 SMS templates with 3 different goals.

* **Limited-time offer:** You'll provide your customer a discount code to encourage them close the deal.
* **Product recommendation**: Send your customers a list of top products that relevant to their desired products (those have been abandoned in their cart)
* **Follow-up and Assistance**: Show your empathy and willingness to support your customer if they have any concern about your services.
* Or [Create a new SMS Flow](#create-new-sms-flow)

Then click **"Select Flow".**

Here, you can edit Trigger, Delay time and SMS content.

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

* **Trigger**: an action activates your SMS flow. With Abandoned cart campaign, your SMS flow starts when a customer add products to cart and leave the checkout page.
* **Segment**: You can set up which groups of customers you want to send Abandoned Cart SMS:
  * All customers
  * Country: SMSGem will only send SMS to customers in the country you select
  * Specific customers: SMSGem will on ly send SMS to customers you select
* **Minimum cart value:** is the minimum number of products in the cart that customer abandoned. For example: You only want to send SMS to customers who abandoned 3 products in cart, set Minimum cart value equals to 3. SMSGem will send SMS to customers who abandoned 3 or more than 3 in their cart.

<figure><img src="/files/1Ge0lbPkRmQH3ThktsPm" alt=""><figcaption></figcaption></figure>

* **Delay time:** The duration time to send SMS after trigger is activated
* **Content SMS:** Personalize your SMS to the right segment with our lists of [variants](/smsgem-document/main-features/abandoned-cart.md#variant-is-the-information-of-your-customers-or-orders-that-changes-along-with-your-customers-orders).

### \*Create new SMS Flow

Same with our template, you can edit Trigger, Delay time and SMS content. [Check above detailed guide.](#2.2.-select-your-goal)

### 2.3. Save your Flow

Then remember to **turn on** your Flow and click **Save Flow** to make this work.

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

## Step 3: Shield your store

Now you need to set up your Shopify Store to make it ready for any bite from TCPA compliance.

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

**Learn more about TCPA here.** :point\_down:

{% content-ref url="/pages/AF1a70GO6jmxVkgQpw45" %}
[TCPA compliance](/smsgem-document/tcpa-compliance.md)
{% endcontent-ref %}

### **2.1. Add SMS consent box**

After clicking SMS Marketing, you're directed to your **Shopify Setting -> Checkout**&#x20;

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

<figure><img src="/files/1WXuArefq8mQeojTXYja" alt=""><figcaption></figcaption></figure>

Now scroll to find **Marketing options** and check the SMS box, and&#x20;

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

Then hit **Save** button.

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

{% hint style="info" %} <mark style="color:blue;">**GEM help:**</mark> You can search SMS in the page (Ctrl + F for Windows, Cmd + F for Macs)&#x20;
{% endhint %}

### 2.2. Add **compliant to Privacy Policy**

**Copy** our text -> **Click Privacy Policy** to paste it in your terms.&#x20;

{% hint style="info" %} <mark style="color:blue;">**Gem help:**</mark> Feel free to change content to find a fit for your store.&#x20;
{% endhint %}

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

Paste in the Privacy Policy and hit **Save** button.

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

### 2.3. Add **your compliant to the law to your Terms of Service**

Same with **Privacy Policy, Copy** our text -> **Click Terms of Service** to paste it in your terms. Remember to click "**Save**"

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

<figure><img src="/files/5CXeOxCuS3w7XiPa2cCa" alt=""><figcaption></figcaption></figure>

Paste in the Terms of Service and hit **Save** button.

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

If you want to set it up later, you can check out our template here for you.

{% content-ref url="/pages/1RCkDPZMcjdDjAGDPVzG" %}
[Compliance Template](/smsgem-document/tcpa-compliance/compliance-template.md)
{% endcontent-ref %}

After finishing all above steps, tick the check box and click **Done**.

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

## Step 4: Embed app to Shopify theme

You need to embed app to your Shopify theme so that SMSGem can work on your store.

<details>

<summary>Why do I have to integrate app with my theme?</summary>

Firstly, enabling App Embeds (integrate app) allows PingMe to stay fully compatible with your theme and function at its best.

Secondly, it ensures that the app will stop at the moment you uninstall it. You don't need to manually add any scripts to the theme for the app to work, also no code removal is needed upon uninstallation.&#x20;

</details>

Go to your Shopify admin -> Sales channel -> Themes

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

Go to **App embeds.**

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

Turn the app on and click to **SAVE** button to allow our app work on your theme.

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