---
title: "Shopify <-> CDP"
description: "There are two parts to using web hooks in Shopify:"
canonical: "https://docs.cm.com/marketplace/crm-integrations/shopify-crm/shopify-to-cdp"
---

# Shopify <-> CDP

> There are two parts to using web hooks in Shopify:

Source: https://docs.cm.com/marketplace/crm-integrations/shopify-crm/shopify-to-cdp

> Starting with Shopify for Customer Engagement apps you can send data about events that occur on the server to a web application using webhooks. Webhooks is a lightweight HTTP pattern for connecting Web APIs and services with a publish/subscribe model. Webhook senders notify receivers about events by making requests to receiver endpoints with some information about the events.

### Get Started

There are two parts to using web hooks in Shopify:

- Shopify account setup ([Discussed in the intro of shopify](https://docs.cm.com/marketplace/crm-integrations/shopify-crm))
- Creating or configuring a webhook.

## Creating or configuring a Webhook

1. Navigate to your shopify store and select “settings” as shown in below image

\[Shopify store settings navigation]

2. Click on “Notifications” - > “Web hooks” you will get the following interface as shown in below image

\[Shopify Notifications > Web hooks interface]

3. Now select “create web hook” and now based on any type of event you can create a webhook to notify receivers about events  with some information about the events.

4. When you register a web hook you must provide two items of information:

| Item | Description |
| - | - |
| **Endpoint URL** | `https://api.cm.com/marketplace/crm/v1/tenants/{tenant_id}/adapters/{adapter_id}/events?apikey={api_key}` |
| **Webhook Api Version** | 2024-01 |

and then Save it.

\[Webhook configuration form ready to save]

Its done, Now you can test it by changing in Shopify and It should reflect in CDP Logs.
