> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.nector.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Nector and Shopify Metafield Integration

Integrating Shopify Metafields for Customer Loyalty Data

${frame}[](https://www.youtube.com/embed/6koawRrrM-I)


Integrating **Shopify Metafields** with Nector lets you automatically sync customer loyalty data—such as **tier**, **coin balance**, and more—directly into Shopify’s customer metafields. 

Why this matters:
• You can display loyalty data anywhere in your storefront without making API calls
• Your theme and custom UI components can instantly access real-time loyalty attributes
• Your customer experience becomes smoother and faster
This guide walks you through enabling the integration, creating the event, and using metafields inside Shopify.


Step 1: **Navigate to the Metafields Integration**

From the left-hand menu of your Nector dashboard:
• Click Integration
• Then select Metafields

![](https://storage.crisp.chat/users/helpdesk/website/-/d/9/9/4/d9947dc4cf2ed000/image1_1dxbzwr.jpg)


Step 2: **Open Shopify Metafields Configuration**

After clicking Metafields:
• Locate Shopify Metafields
• Click Configure to open the configuration panel

![](https://storage.crisp.chat/users/helpdesk/website/-/d/9/9/4/d9947dc4cf2ed000/image2_1ybfky7.jpg)


Click on Configure to open the configuration settings.

Step 3: **Enable the Metafields Integration**

Inside the configuration screen:
• Set Status → Enable
Allow up to 5 minutes for the changes to take effect.
💡 Tip: If the data doesn’t sync immediately, refresh Shopify after a few minutes.

![](https://storage.crisp.chat/users/helpdesk/website/-/d/9/9/4/d9947dc4cf2ed000/image3_1p1anco.jpg)



Step 4: **Configure the Event to Update Shopify Metafields**

In the event configuration screen:
1. Set Property → Customer is Updated
2. Set Destination → Shopify Metafield
3. Click Create to save the event
Once created, Nector will automatically push loyalty-related customer data—such as customer tier and coin balance—into Shopify customer metafields.
💡 Tip: This event triggers whenever customer data in Nector updates, keeping Shopify fully in sync.

Click on Create Event to start defining the event that will sync customer data.

![](https://storage.crisp.chat/users/helpdesk/website/-/d/9/9/4/d9947dc4cf2ed000/image4_cwca9i.jpg)


Step 5: Configure the Event to Update Shopify Metafields

In the event configuration:
1. Select the Property as Customer is Updated.

1. Set the destination to Shopify metafield so that updated customer data is sent there.
2. Click on Create to save the event.

This setup will automatically send all loyalty-related customer data (such as the customer’s tier and coin balance) to Shopify customer metafields.

![](https://storage.crisp.chat/users/helpdesk/website/-/d/9/9/4/d9947dc4cf2ed000/image5_1v6pe57.jpg)
![](https://storage.crisp.chat/users/helpdesk/website/-/d/9/9/4/d9947dc4cf2ed000/image6_1k65ysw.jpg)



Step 6: **Use Customer Loyalty Data from Shopify Metafields**

Once integration and events are active:
• 🎖 Tier level
• 💰 Coin balance
• 🪪 Other loyalty attributes
• 🎖 Tier level
• 💰 Coin balance
• 🪪 Other loyalty attributes
Best of all—no additional API calls are needed.
Your theme can read metafields instantly.

![](https://storage.crisp.chat/users/helpdesk/website/-/d/9/9/4/d9947dc4cf2ed000/image7_1u18z8q.jpg)


Wrap-Up

Great job! You’ve successfully connected Nector loyalty data with Shopify metafields.
You can now:
✅ Sync customer tier, coins, and loyalty properties automatically
✅ Use these values directly inside your Shopify theme
✅ Build fast, custom loyalty displays without API calls
This integration lays the foundation for a seamless, personalized loyalty experience across your storefront.
