Leat Docs

Getting started

Install the Leat WooCommerce plugin, connect your account, and set up your loyalty program.

This guide walks you through installing the plugin, connecting it to your Leat account, configuring earn rules and rewards, and publishing a loyalty dashboard page in WordPress.

1. Install and activate the plugin

  1. In your WordPress admin, go to Plugins > Add New
  2. Search for Leat
  3. Click Install Now, then Activate

Search for the Leat plugin in the WordPress plugin directory. Type "Leat for WooCommerce" in the search field (1), find the Leat plugin card (2), and click Install Now / Activate (3).

After activation, the plugin appears in the Plugins list (1) and a new Leat menu item (2) is added to the WordPress admin sidebar.

The Leat plugin active in the Plugins list


2. Connect your Leat account

After activating the plugin, go to Leat in the admin sidebar. The plugin opens its Get Started wizard which walks you through each step.

The Get Started onboarding wizard. The setup progress widget (1) tracks your completion, and the onboarding steps (2) guide you through each configuration task.

The plugin authenticates with your Leat account using a Personal Access Token (PAT). To create one:

  1. Go to business.leat.com/apps/integrations/personal-access-tokens
  2. Click Create token and copy the generated value

Then open Leat > General in the WordPress admin sidebar and paste the token into the API Key field. Click Save settings.

General Settings page. Paste your Personal Access Token into the API Key field (1), then select your shop from the Shop ID dropdown (2).


3. Select your shop

After saving your API key, the API Connection indicator turns green and the Shop ID dropdown populates with the shops linked to your Leat account. Select the shop you want to connect to this WordPress installation.

If you have multiple locations, each one is listed here. You can read more about adding branches and shops to your account in the Leat support docs.

Save your settings. The plugin is now connected.


4. Configure earn rules

Go to Leat > Earn Rules in the plugin sidebar. Earn rules control how customers collect credits, for example following on Instagram.

Earn rules settings page. Each earn rule (1) shows its status and rule type (2).

For a full walkthrough on configuring earn rules, see Earn rules.


5. Sync your rewards

Go to Leat > Spend Rules in the plugin sidebar. Spend rules are your rewards, they define what customers can redeem their credits for.

Rewards are pulled from business.leat.com/loyalty/rewards in the Leat dashboard. Click Import now in the sidebar to sync them into the plugin.

Spend rules page. Your synced rewards appear as rows (1). Click Import now (2) to pull the latest rewards from your Leat dashboard.

A few things to keep in mind after syncing:

  • All rewards are inactive by default. You need to activate and configure each one individually before customers can use them.
  • New rewards added in the Leat dashboard will not appear in WordPress until you import again.

For a full walkthrough on configuring individual rewards, see Rewards.


6. Create your loyalty page

With earn rules and rewards configured, the last step is building a page where customers can see their balance, browse rewards, and manage their account.

  1. Go to Pages > Add New in WordPress.
  2. Open the block inserter by clicking the + button in the top-left corner of the editor.
  3. Switch to the Patterns tab and look for the Leat category.
  4. Insert the pattern that fits your needs. The Complete Loyalty Dashboard pattern includes every section on one page and is a good starting point.

Customize the layout to match your store, then publish the page.

Once the page is published, go to Leat > Customer Dashboard in the plugin sidebar and select the page you just created. This links it to the loyalty tab in the WooCommerce My Account section so customers can find it.

Customer Dashboard settings. Use the page selector (1) to choose which page serves as the loyalty dashboard. The display toggles (2) control which sections are visible to customers.

For a full guide on all available blocks and patterns, see Dashboard.


You're set up

At this point your loyalty program is live. Customers can earn credits on orders, redeem rewards at checkout, and view their account on the page you just published.

From here you can dig into more advanced configuration under the other pages in the Leat admin menu:

  • Products: show how many credits a product earns on the product page
  • Gift cards: sell and accept gift cards through WooCommerce
  • Vouchers: sync voucher codes from Leat as WooCommerce coupons
  • Selling vouchers: sell voucher products that issue a code on purchase
  • Tiers: display your loyalty tier structure
  • Referrals: give customers a referral link
  • Promotions: run promotional campaigns
  • Checkout: points display, reward redemption, and gift cards at checkout
  • Content Blocks: turn Leat blocks into shortcodes for page builders, classic editors, and theme hooks
  • Settings: full reference for all plugin settings

On this page