> ## Documentation Index
> Fetch the complete documentation index at: https://docs.closient.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Where to Buy for Shopify

> Install the Closient app, connect your brand, and add the Where to Buy block to your Shopify theme.

The Closient app adds a **Where to Buy** block to any Online Store 2.0 theme. Shoppers see nearby stores that carry your products, ranked by distance. No code is needed, and location is only used with the shopper's consent.

## Install

**1. Install the app**

Install **Closient** from the Shopify App Store and approve the access it asks for: read-only access to products, inventory and locations.

**2. Sign in to Closient**

Sign in with a Closient account that is an **Owner** or **Manager** of your organization.

Closient never asks for customer or order data, and it stores none.

## Connect your brand

Open **Closient** from your Shopify admin Apps menu and choose the brand to connect, then save. Both blocks use this brand. If the list is empty, your organization has no active brands in Closient yet: add one first.

## Add the block

In **Online Store > Customize**, choose **Add block** (or **Add section**), then **Apps**:

* **Where to Buy** for any page.
* **Where to Buy (product)** for a product template.

Block settings:

| Setting | What it does |
| - | - |
| Heading | The title shown above the locator |
| Closient brand ID | Leave blank to use the brand you connected in the Closient app |
| Default search radius | 5 to 100 |
| Distance unit | Miles or kilometers |
| Show map | Off by default. Map tiles come from a third-party provider, which receives the visitor's IP address |

Until a brand is connected, the blocks show nothing to your shoppers.

## Barcode requirement

The product block matches on each variant's **Barcode** field in Shopify, using a GTIN (GTIN-8, GTIN-12, GTIN-13 or GTIN-14).

* A variant with a valid barcode that Closient knows for your brand shows stores carrying that product.
* A variant with an empty barcode, or one that is not a GTIN, falls back to the brand-wide locator.

In the Closient app, **Check coverage** shows how many variants resolve to your brand, how many are known under another brand, how many are not in Closient, and how many barcodes are not GTINs.

## Uninstall

Uninstalling the app stops your shop's inventory from syncing to Closient.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.