Using Clerk.io with multiple domains in Shopify

Clerk.io can easily be integrated in several domains in your Shopify setup

The easiest way to implement Clerk.io in multiple domains in standard setups is by creating a separate Store for each domain in my.clerk.io, and then syncing them with each of your Shopify language domains.

This way, you can separate products, sales, currencies etc. to keep track of each domain.

  1. Start by creating your main Store and follow the Setup Guide to connect your Store to Clerk.io, and choose the Recommendations and/or Search Results you that you want to display on your webshop.

  2. When you are done with the initial setup, go back to the start page of my.clerk.io (by clicking the Clerk.io logo in the upper left side corner of the side-menu) and then click "+ Add new store" the last option of the scroll down list (generally under you the existing store(s) and your company name):

     3. On the Add New Store page, click Advanced to see all settings.

     4. Fill in the details of your domain, and choose your main Store  from the

Copy Content From Existing Store dropdown, then click Add Store.

         This will carry over the Content and Designs from your main Store.

     5. Now you can follow the Setup Guide again, to activate Clerk.io by clicking on              Getting Started, to Sync Data for the new domain.

6. This will allow you to sync your domain with your Store at my.clerk.io through

         the Setup Guide.

     7. When Data Sync has finished, your domain is ready and using the same

         setup as your main Store.

8. Repeat this process for every one of your Shopify language domains,

Remember to translate Headlines, in Content-> Edit -> Select Design to the right language as well.

Connecting Clerk.io to Multiple Subdomains on Shopify

If you have a singular store with multiple inventories and language, then you will need to create multiple Clerk.io Apps in order to ensure quick data sync. This is done so a number of stores do not share the same rate limit and restore rate in the Shopify ADMIN API.

  • In the Shopify backend, go to Apps → Develop apps for your store.
  • Click the Create an app button.
  • Give the app a name like “Clerk.io” along with a name of the other e.g. “Clerk.io (EN)” and select App developer. Repeat this until you have equivalent “Clerk.io” apps to the number of subdomains for the shop.
  • Click Create app.
  • Click Configuration and find Admin API Integration. Click Configure.
  • Under Admin API Access scopes, select Read access (starts with “read_”) for the following:
    • Products
    • Orders
    • Customers
    • Inventory
    • Online Store Pages
    • Store Content
    • Translations
    • Markets
    • Locales
    • Price Rules
    • Publications
  • Click Save at the top of the screen.
  • Click Install App and then Install in the popup.
  • Click the API Credentials tab.
  • Now copy your stores Shopify Domain(s) and the private apps API Key, Access Token and Secret Key into the fields under Data Sync Settings in my.clerk.io.
  • Choose a Default image size and click Start Sync. Wait for the sync to finish. Maybe have a cup of coffee if you have a big product catelog.