# WooCommerce

{% embed url="<https://youtu.be/q_ah8jS_Mnk>" %}

### **Guide: Installing and Connecting Your WooCommerce Store with Retainful**

This guide walks you through the steps to install the Retainful plugin and connect it to your WooCommerce store.

#### Step 1: Installing and Activating the Retainful Plugin

1. Log in to your WordPress dashboard.
2. Navigate to **Plugins** → **Add New**.
3. In the search bar, type **Retainful** and press enter.
4. Locate the Retainful plugin in the search results and click **Install Now**.
5. Once installed, click **Activate** to enable the plugin.

<figure><img src="https://837552055-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDdKRAW4KzC-CNNbvnH%2Fuploads%2FZwtJqtPmANKNlBU1JKi2%2F1.png?alt=media&#x26;token=ada710aa-bf2e-4203-9523-664f31fe2a32" alt="Installing Retainful Plugin"><figcaption><p>Installing Retainful Plugin</p></figcaption></figure>

#### Step 2: Getting the API Keys from Your Retainful Account

1. Login to your [**Retainful Dashboard**](https://app.retainful.com/analytics/dashboard) (If you do not have an account, [**Signup for Free**](https://retainful.auth0.com/login?state=hKFo2SA0MjA1UndaSU1rTWhWOXJSWGg3bjVYZndicUZBS1NkMqFupWxvZ2luo3RpZNkgOVA4NDhkejVKSVl6VUJlcWtvYmVOVVNyZkRtb1U5S3GjY2lk2SBUS3JybjRydU9KazA1Mkh2VURydGNOQTZOdXcxeEkxRg\&client=TKrrn4ruOJk052HvUDrtcNA6Nuw1xI1F\&protocol=oauth2\&scope=openid%20profile%20email\&redirect_uri=https%3A%2F%2Fapp.retainful.com\&audience=https%3A%2F%2Fretainful.auth0.com%2Fapi%2Fv2%2F\&response_type=code\&response_mode=query\&nonce=OEZHdmFMZ0pvdEdqWTdGYi5hZ3hVaU9uZklQfkJncmN1Uk5JYW5JVn5IUw%3D%3D\&code_challenge=X8TtscL5zvKy97RMpi5_DjtS1eb8QOfQ_U2NSmIEy-8\&code_challenge_method=S256\&auth0Client=eyJuYW1lIjoiYXV0aDAtcmVhY3QiLCJ2ZXJzaW9uIjoiMi4yLjQifQ%3D%3D))

<figure><img src="https://837552055-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDdKRAW4KzC-CNNbvnH%2Fuploads%2Fwvn9oAIXP376f8opETvp%2F8.png?alt=media&#x26;token=3e94d241-6caf-4686-b6e7-21fab09efe02" alt=""><figcaption><p>Sign In or Sign Up</p></figcaption></figure>

2. Go to Account Settings&#x20;

<figure><img src="https://837552055-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDdKRAW4KzC-CNNbvnH%2Fuploads%2FEuaxa7QlizY6AeMgxyoz%2F2.png?alt=media&#x26;token=88dbee48-3b98-43a2-9edb-31699df34d27" alt=""><figcaption><p>Account Settings</p></figcaption></figure>

4. General Settings -> Copy your App ID and Secret Key

<figure><img src="https://837552055-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDdKRAW4KzC-CNNbvnH%2Fuploads%2F6Dl2WC2Rl39Y9BR1RRwn%2FScreenshot%202024-11-19%20at%2011.00.43%20AM.png?alt=media&#x26;token=48ba3dca-8340-44ac-98da-d043dea36d40" alt="" width="563"><figcaption><p>Copy Your API ID and Secret Key</p></figcaption></figure>

#### Step 3: Connecting Your WooCommerce Store with the Retainful API

1. Go to your WordPress dashboard and select the **Retainful plugin**.
2. Navigate to the **Connection** tab.
3. **Paste the API keys** into the respective fields.
4. Click **Connect**.
5. Once the connection is successfully established, a confirmation message will appear.

<figure><img src="https://837552055-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDdKRAW4KzC-CNNbvnH%2Fuploads%2FIkWw40W0C67J5REF8Nnj%2F3.png?alt=media&#x26;token=56dd1ef8-7c14-460a-8a5d-b22e33792ce0" alt="Connecting Retainful Plugin in WooCommerce Store"><figcaption><p>Connecting Retainful Plugin in WooCommerce Store</p></figcaption></figure>

Your WooCommerce store is now fully connected to Retainful, enabling you to track and recover carts effectively.

You can now track and recover abandoned carts from your store.

The default settings in Retainful plugin are designed to suit 99% of stores, so no adjustments are typically needed. You can use them as they are.

#### Step 4: Next Steps

Create an Abandoned Cart Recovery Email Automation Workflow for your store.

{% content-ref url="../automations/abandoned-cart-recovery-email-campaign" %}
[abandoned-cart-recovery-email-campaign](https://help.retainful.com/automations/abandoned-cart-recovery-email-campaign)
{% endcontent-ref %}


---

# 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://help.retainful.com/installation/woocommerce.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.
